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

Published Aug 26, 2026
·
Updated

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 Software

6 affected components
Spring Spring Security=7.1.0
Spring Spring Security>=7.0.0<=7.0.6
Spring Spring Security>=6.5.0<=6.5.11
Spring Spring Security>=6.4.0<=6.4.18
Spring Spring Security>=5.8.0<=5.8.27
Spring Spring Security>=5.7.0<=5.7.25

Event History

Aug 26, 2026
CVE Published
via MITRE·07:22 PM
Data Sourced
via MITRE·07:22 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverity

Frequently Asked Questions

1

Which applications are affected?

Applications are affected if they use Spring Security's AesBytesEncryptor with the two-argument constructor, or pass a null IV generator while using CBC mode. The listed affected releases include Spring Security 7.1.0, 7.0.0 through 7.0.6, 6.5.0 through 6.5.11, 6.4.0 through 6.4.18, 5.8.0 through 5.8.27, and 5.7.0 through 5.7.25.

2

What does an attacker need to exploit this issue?

The issue is remotely exploitable with low attack complexity and requires low privileges; no user interaction is required. Exploitation relies on encryption being performed with the affected AesBytesEncryptor configuration, which uses an all-zero CBC initialization vector.

3

What is the security impact?

Using a fixed all-zero IV makes AES/CBC encryption deterministic, allowing ciphertext correlation. The provided severity vector indicates a high confidentiality impact, with no integrity or availability impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203