# CVE-2020-5408: Dictionary attack with Spring Security queryable text encryptor

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-05-14 · Modified: 2024-09-17
- Aliases: GHSA-2ppp-9496-p23q
- Record: https://cvemate.com/vulnerability/CVE-2020-5408 · JSON: https://cvemate.com/vulnerability/CVE-2020-5408/json

## Description

```text
Spring Security versions 5.3.x prior to 5.3.2, 5.2.x prior to 5.2.4, 5.1.x prior to 5.1.10, 5.0.x prior to 5.0.16 and 4.2.x prior to 4.2.16 use a fixed null initialization vector with CBC Mode in the implementation of the queryable text encryptor. A malicious user with access to the data that has been encrypted using such an encryptor may be able to derive the unencrypted values using a dictionary attack.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 1.594%, percentile 76.557%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.security spring-security-core (Maven): ≥ 5.3.0, \< 5.3.2 \| ≥ 5.2.0, \< 5.2.4 \| ≥ 5.1.0, \< 5.1.10 \| ≥ 5.0.0, \< 5.0.16 \| \< 4.2.16
- pivotal\_software spring\_security: ≥ 5.2.0, \< 5.2.4 \| ≥ 5.3.0, \< 5.3.2
- spring by vmware spring security: ≥ 4.2, \< 4.2.16 \| ≥ 5.0, \< 5.0.16 \| ≥ 5.1, \< 5.1.10 \| ≥ 5.2, \< 5.2.4 \| ≥ 5.3, \< 5.3.2
- vmware spring\_security: ≥ 4.2.0, \< 4.2.16 \| ≥ 5.0.0, \< 5.0.16 \| ≥ 5.1.0, \< 5.1.10

## References

- <https://www.oracle.com/security-alerts/cpuoct2020.html>
- <https://tanzu.vmware.com/security/cve-2020-5408>
- <https://www.oracle.com/security-alerts/cpujan2021.html>
- <https://www.oracle.com/security-alerts/cpuApr2021.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5408>

---

Data as of 2026-12-05T03:28:41.052Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
