Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Spring Boot application using vulnerable AesBytesEncryptor constructor
-
DeliveryAuthenticate with low-privilege credentials
-
ExploitSubmit multiple chosen plaintexts for encryption
-
ExecutionCollect ciphertexts all produced under all-zero null IV
-
PersistDetect identical-plaintext to identical-ciphertext correlations
-
ImpactRecover plaintext of other encrypted values via pattern lookup
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Encryption strength requirements
|
| Exploitation Conditions | Exploitation requires the target application to instantiate AesBytesEncryptor using the two-argument constructor (e.g., new AesBytesEncryptor(password, salt)) or to explicitly pass a null IV generator with CBC mode - this is an API misuse pattern, not a default Spring Security configuration. The attacker must have the ability to submit multiple chosen plaintexts to the vulnerable encryptor or observe multiple ciphertexts of known or predictable plaintext values; PR:L in the CVSS vector confirms low-privilege authenticated access is required. Exploitation is strictly scoped to code paths using the vulnerable constructor pattern; Spring Security's authentication mechanisms, authorization filters, and all other components are unaffected. Applications using the three-argument constructor with a valid IV generator, or using GCM mode, are not vulnerable. |
| Impact | The CVSS 3.1 score of 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) captures the network-accessible, low-privilege exploitation path and high confidentiality impact, but the AC:L rating likely understates practical attack effort: recovering plaintext via null-IV CBC analysis requires an attacker to collect multiple ciphertexts and apply chosen-plaintext techniques, imposing meaningful work beyond a single network request. Exploitation is conditional on the vulnerable API usage pattern - only applications that instantiate AesBytesEncryptor via the two-argument constructor or with a null IV generator and CBC mode are affected, not all Spring Security deployments. No EPSS score was provided in the intelligence data, no CISA KEV listing exists, and no public exploit code has been identified at time of analysis, placing this in the category of a realistic cryptographic weakness without confirmed active exploitation. Real-world risk is highly data-dependent: where AesBytesEncryptor protects session tokens, PII, credentials, or database field encryption, the high confidentiality impact should be treated as a genuine remediation priority regardless of the medium composite score. CVSS integrity and availability metrics are both N, consistent with a pure cryptographic disclosure class with no write or operational impact. |
| Exploit ScenarioDerived | An attacker with low-privilege authenticated access to a Spring Boot application submits a series of chosen plaintexts - such as predictable form values or known input strings - that the application encrypts through the vulnerable AesBytesEncryptor instance using CBC and a null IV. Because identical plaintexts always produce identical ciphertexts under this configuration, the attacker identifies ciphertext patterns, constructs a lookup table, and recovers the plaintext of other users' encrypted tokens or database field values without needing the encryption key. No public exploit code has been identified at time of analysis, but the attack requires only standard cryptographic tooling and sufficient ciphertext collection. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 26, 2026
AES/CBC encryption in Spring Security's AesBytesEncryptor silently degrades to a null (all-zero) initialization vector when applications use the two-argument constructor or pass a null IV generator with CBC mode selected, completely undermining the semantic security of any data encrypted through this code path. Affected versions span Spring Security 5.7.0 through 7.1.0, covering multiple active release lines used extensively in Java and Spring Boot enterprise applications. No public exploit code has been identified at time of analysis, but the CVSS confidentiality impact is rated High and exploitation requires only low-privilege access to any application instantiating the vulnerable encryptor pattern.
RemediationAI
The primary fix is upgrading to a patched Spring Security release; however, exact remediated version numbers are not specified in the provided intelligence data and must be confirmed directly from the vendor advisory at https://spring.io/security/cve-2026-47842. As an immediate compensating control, audit all usages of AesBytesEncryptor and replace any two-argument constructor calls with the three-argument form providing a cryptographically secure IV generator such as KeyGenerators.secureRandom(16). Migrating from CBC to GCM mode is a stronger long-term alternative that provides authenticated encryption and built-in IV management, but requires careful migration of existing ciphertext since formats are incompatible. Critically, remediating the code pattern does not retroactively secure already-encrypted data: any data previously encrypted under a null IV should be considered potentially exposed, decrypted with the existing key, and re-encrypted with proper IV handling after upgrading.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Spring Security's AesBytesEncryptor provides a convenience API for symmetric AES encryption within Java Spring applications. AES in CBC (Cipher Block Chaining) mode chains ciphertext blocks using an XOR with the preceding block, seeded at the start by an initialization vector (IV). A unique, cryptographically random IV per encryption operation is a mandatory requirement for CBC semantic security: without it, identical plaintexts produce identical ciphertexts, enabling dictionary attacks, block-pattern analysis, and chosen-plaintext attacks capable of recovering protected data. The vulnerability manifests when developers use the two-argument AesBytesEncryptor constructor (omitting an IV generator parameter) or explicitly pass a null IV generator - both code paths result in a fixed all-zero 128-bit IV for every encryption call. The CPE cpe:2.3:a:spring:spring_security:*:*:*:*:*:*:*:* identifies the affected product as VMware/Broadcom's Spring Security library across the listed release lines. No CWE is formally assigned in the provided data, but this maps to CWE-329 (Not Using a Random IV with CBC Mode) and CWE-330 (Use of Insufficiently Random Values), a classical IV-reuse cryptographic failure.
Know when Spring gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
AC:H reflects practical requirement to collect multiple ciphertexts and perform chosen-plaintext analysis; PR:L per described application interaction; C:H appropriate, I:N and A:N confirmed - no write or availability impact.
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
DescriptionCVE.org
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
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin
Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
EUVD-2026-66677
GHSA-7274-w8xr-fr2w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB