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,616) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 34,099 |
| 2 hops | 120,547 |
| 3 hops | 156,677 |
| 4 hops | 99,406 |
| 5 hops | 39,701 |
| 6 hops | 15,779 |
Most used dependents
- org.springframework.boot » spring-boot-starter-security3,629 usages
- org.springframework.security » spring-security-core3,235 usages
- org.springframework.security » spring-security-web2,148 usages
- org.springframework.security » spring-security-config2,078 usages
- org.springframework.cloud » spring-cloud-starter-openfeign1,395 usages
- org.springframework.cloud » spring-cloud-context1,349 usages
- org.springframework.security » spring-security-test1,315 usages
- org.springframework.cloud » spring-cloud-commons1,214 usages
- org.jenkins-ci.main » jenkins-core1,197 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-client685 usages
- com.vaadin » vaadin-maven-plugin600 usages
- com.atlassian.jira » jira-core554 usages
Computed from the dependency graph of build 20261205.2030 (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 |
