CVE-2026-47842
Deterministic AES/CBC Encryption in Spring Security AesBytesEncryptor Allows Ciphertext Correlation
Description
Applications using AesBytesEncryptor with the two-argument constructor or when passing a null IV generator and CBC as the encryption mode encrypt data with AES/CBC using a null (all-zero) initialization vector. Spring Security 7.1.0 Spring Security 7.0.0 - 7.0.6 Spring Security 6.5.0 - 6.5.11 Spring Security 6.4.0 - 6.4.18 Spring Security 5.8.0 - 5.8.27 Spring Security 5.7.0 - 5.7.25
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.security » spring-security-crypto | >= 5.7.0, <= 5.7.25>= 5.8.0, <= 5.8.27>= 6.4.0, <= 6.4.18>= 6.5.0, <= 6.5.11>= 7.0.0, <= 7.0.6= 7.1.0 | - |
Blast radius
58% of the dependent artifacts (4,710) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 34,006 |
| 2 hops | 120,546 |
| 3 hops | 157,344 |
| 4 hops | 101,459 |
| 5 hops | 39,643 |
| 6 hops | 15,729 |
Most used dependents
- org.springframework.boot » spring-boot-starter-security3,610 usages
- org.springframework.security » spring-security-core3,217 usages
- org.springframework.security » spring-security-web2,138 usages
- org.springframework.security » spring-security-config2,068 usages
- org.springframework.cloud » spring-cloud-starter-openfeign1,389 usages
- org.springframework.cloud » spring-cloud-context1,345 usages
- org.springframework.security » spring-security-test1,310 usages
- org.springframework.cloud » spring-cloud-commons1,206 usages
- org.jenkins-ci.main » jenkins-core1,191 usages
- org.springframework.cloud » spring-cloud-starter-bootstrap1,056 usages
- org.springframework.cloud » spring-cloud-starter-config978 usages
- com.atlassian.confluence » confluence724 usages
- org.springframework.cloud » spring-cloud-starter-netflix-eureka-client684 usages
- com.vaadin » vaadin-maven-plugin600 usages
- com.atlassian.jira » jira-core554 usages
Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-47842 | github.com |
| Advisory | NVD CVE-2026-47842 | nvd.nist.gov |
| Web | security/cve-2026-47842 | spring.io |
