6.5Medium

CVE-2026-47842Deterministic AES/CBC Encryption in Spring Security AesBytesEncryptor Allows Ciphertext Correlation

Spring Spring Security Published: (2 months ago)

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

Weakness (CWE): CWE-329CWE-326

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Spring Spring Security 7.1.0, 7.0.0 – ≤ 7.0.6, 6.5.0 – ≤ 6.5.11, 6.4.0 – ≤ 6.4.18, 5.8.0 – ≤ 5.8.27, 5.7.0 – ≤ 5.7.25
vmware spring security 5.7.0 – < 5.7.26

References and patches

CPE matches (NVD) (6)

  • cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* ≥ 5.7.0 < 5.7.26
  • cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* ≥ 5.8.0 < 5.8.28
  • cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* ≥ 6.4.0 < 6.4.19
  • cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* ≥ 6.5.0 < 6.5.12
  • cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* ≥ 7.0.0 < 7.0.6.1
  • cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* ≥ 7.1.0 < 7.1.0.1