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
Published: 2026-08-26
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Loss of confidentiality due to deterministic encryption
Action: Apply Patch
AI Analysis

Impact

AesBytesEncryptor uses a null (all‑zero) initialization vector when constructed with two arguments or when the IV generator is null, causing the AES/CBC encryption to be deterministic. This determinism enables an adversary to correlate ciphertext blocks and infer information about the plaintext without the key.

Affected Systems

Spring Security versions from 5.7.0 through 7.1.0 are affected, including the 5.7.x, 5.8.x, 6.4.x, 6.5.x, 7.0.x and the 7.1.0 release.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate risk. The EPSS score is less than 1 %, indicating a very low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is the use of a hard‑coded or null IV in applications that employ AesBytesEncryptor, allowing an attacker who can observe the encrypted output to perform ciphertext‑correlation attacks and reduce uncertainty about the underlying plaintext. No remote code execution is possible, but the confidentiality of sensitive data is compromised.

Generated by OpenCVE AI on September 4, 2026 at 23:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Spring Security to a patched release (e.g., 7.2.0 or later).
  • If an upgrade is not immediately possible, instantiate AesBytesEncryptor with a proper IV generator or provide a non‑null, random IV when encrypting.
  • Audit code to ensure no accidental usage of the two‑argument constructor or a null IV generator, and review encrypted data for patterns before the fix is applied.
  • Regularly check Spring Security’s official release notes or security advisories for the latest updates and apply patches promptly.

Generated by OpenCVE AI on September 4, 2026 at 23:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Security
Weaknesses CWE-326
CPEs cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Security

Mon, 31 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-327
CWE-330

Mon, 31 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1204
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 26 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring spring Security
Weaknesses CWE-327
CWE-330
Vendors & Products Spring
Spring spring Security

Wed, 26 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 26 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
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
Title Deterministic AES/CBC Encryption in Spring Security AesBytesEncryptor Allows Ciphertext Correlation
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Spring Spring Security
Vmware Spring Security
cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-08-26T19:45:25.424Z

Reserved: 2026-05-20T10:00:51.004Z

Link: CVE-2026-47842

cve-icon Vulnrichment

Updated: 2026-08-26T19:45:19.360Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-26T20:17:25.753

Modified: 2026-09-04T19:34:25.730

Link: CVE-2026-47842

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-26T19:22:23Z

Links: CVE-2026-47842 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T23:00:17Z

Weaknesses
  • CWE-1204

    Generation of Weak Initialization Vector (IV)

  • CWE-326

    Inadequate Encryption Strength