AES/CBC Encryption Flaw in Spring Security Affects Multiple Versions
CVE-2026-47842
6.5MEDIUM
What is CVE-2026-47842?
The vulnerability in Spring Security's AesBytesEncryptor occurs when applications use its two-argument constructor or a null initialization vector (IV) generator. This leads to the use of a null (all-zero) initialization vector in AES/CBC encryption, potentially exposing sensitive data to attackers. If exploited, this could compromise the confidentiality of encrypted information across various Spring Security versions, making it imperative for users to adopt secure coding practices and to update to patched versions.
Affected Version(s)
Spring Security 7.1.0
Spring Security 7.0.0 <= 7.0.6
Spring Security 6.5.0 <= 6.5.11
