# CVE-2019-3795: Insecure Randomness When Using a SecureRandom Instance Constructed by Spring Security

- Priority: **Routine**
- Reason: Not severe (CVSS 3.8, physical access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-04-09 · Modified: 2024-09-17
- Aliases: DLA-1794-1, GHSA-v2r2-7qm7-jj6v
- Record: https://cvemate.com/vulnerability/CVE-2019-3795 · JSON: https://cvemate.com/vulnerability/CVE-2019-3795/json

## Description

```text
Spring Security versions 4.2.x prior to 4.2.12, 5.0.x prior to 5.0.12, and 5.1.x prior to 5.1.5 contain an insecure randomness vulnerability when using SecureRandomFactoryBean#setSeed to configure a SecureRandom instance. In order to be impacted, an honest application must provide a seed and make the resulting random material available to an attacker for inspection.
```

## Signals

- CVSS: 5.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 1.921%, percentile 80.616%, 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

- debian libspring-security-2.0-java (Debian): \< 2.0.7.RELEASE-3+deb8u1
- debian debian\_linux: 8.0
- org.springframework.security spring-security-core (Maven): ≥ 4.2.0, \< 4.2.12 \| ≥ 5.0.0, \< 5.0.12 \| ≥ 5.1.0, \< 5.1.5
- spring spring security: ≥ 5.0, \< 5.0.11.RELEASE \| ≥ 5.1, \< 5.1.4.RELEASE \| ≥ 4.2, \< 4.2.11.RELEASE
- vmware spring\_security: ≥ 4.2.0, \< 4.2.12 \| ≥ 5.0.0, \< 5.0.12 \| ≥ 5.1.0, \< 5.1.5

## References

- <https://pivotal.io/security/cve-2019-3795>
- <http://www.securityfocus.com/bid/107802>
- <https://lists.debian.org/debian-lts-announce/2019/05/msg00026.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2019-3795>
- <https://github.com/advisories/GHSA-v2r2-7qm7-jj6v>

---

Data as of 2026-12-05T07:50:20.380Z. 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
