MODERATE 6.5

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)

ArtifactAffected versionsFixed 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

1affected artifacts
75affected versions
8,008dependent artifacts (est.)
468,727dependent versions

58% of the dependent artifacts (4,710) still pull an affected version in their latest release.

DepthDependent 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

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

Advisorygithub.com
Advisorynvd.nist.gov
Webspring.io