Intel

AIKIDO-2026-354152

spring-security-crypto is vulnerable to Use of a Broken or Risky Cryptographic Algorithm

Use of a Broken or Risky Cryptographic AlgorithmCVE-2026-47842 Published 6 days ago

65

Medium Risk

This Affects:

JAVAspring-security-crypto
5.7.0 - 7.0.6
Fixed in 7.0.7
7.1.0 - 7.1.0
Fixed in 7.1.1
Are you affected? Scan for Free

TL;DR

spring-security-crypto AesBytesEncryptor encrypts with AES/CBC and a fixed all-zero IV when constructed with two arguments or a null IV generator. Identical plaintexts then always produce identical ciphertext for the same password and salt. An attacker who can read the ciphertext can correlate equal values and mount dictionary attacks. The patch uses an unpredictable IV so equal plaintexts no longer produce equal ciphertext.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use AesBytesEncryptor with a null IV generator and CBC mode.

Background info

spring-security-crypto is vulnerable to Use of a Broken or Risky Cryptographic Algorithm in versions 5.7.0 - 7.0.6 and 7.1.0 - 7.1.0.

How to fix this

Upgrade the org.springframework.security:spring-security-crypto library to the patch version.