Home / Spring / Spring Security / CVE-2019-3795
CVE-2019-3795: is it exploited, and which versions of Spring Security are affected and fixed?
CVE-2019-3795 is a weak randomness vulnerability in Spring Security. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: org.springframework.security:spring-security-core from 4.2.0 before 4.2.12, org.springframework.security:spring-security-core from 5.0.0 before 5.0.12 and org.springframework.security:spring-security-core from 5.1.0 before 5.1.5 (GitHub advisory GHSA-v2r2-7qm7-jj6v). Fixed in 4.2.12, 5.0.12 and 5.1.5 (GitHub advisory GHSA-v2r2-7qm7-jj6v). Severity: Low (3.8, CVSS 3.0, from dell).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:23 UTC.
What is CVE-2019-3795?
Insecure Randomness When Using a SecureRandom Instance Constructed by Spring Security
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.
From the CVE record by dell, last updated September 17, 2024, 00:02 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Spring | Spring Security | from 5.0 before 5.0.11.RELEASE from 5.1 before 5.1.4.RELEASE from 4.2 before 4.2.11.RELEASE | 5.0.11.RELEASE, 5.1.4.RELEASE, 4.2.11.RELEASE |
As the CVE record by dell states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.springframework.security:spring-security-core | >= 4.2.0, < 4.2.12 | 4.2.12 | GHSA-v2r2-7qm7-jj6v |
| Maven | org.springframework.security:spring-security-core | >= 5.0.0, < 5.0.12 | 5.0.12 | GHSA-v2r2-7qm7-jj6v |
| Maven | org.springframework.security:spring-security-core | >= 5.1.0, < 5.1.5 | 5.1.5 | GHSA-v2r2-7qm7-jj6v |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 17, 2022. Summary: Spring Security uses insufficiently random values.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| vmware | spring security | from 4.2.0 before 4.2.12 | application |
| vmware | spring security | from 5.0.0 before 5.0.12 | application |
| vmware | spring security | from 5.1.0 before 5.1.5 | application |
| debian | debian linux | 8.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:35 UTC.
How severe is CVE-2019-3795?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.8 | CVSS 3.0 | CVSS:3.0/AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N | dell |
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-3795 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.92% probability of exploitation activity in the next 30 days, percentile 80.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-330 Use of Insufficiently Random Values
Where are the vendor advisories and references?
- https://pivotal.io/security/cve-2019-3795 x_refsource_CONFIRM
- 107802 vdb-entry, x_refsource_BID
- [debian-lts-announce] 20190520 [SECURITY] [DLA 1794-1] libspring-security-2.0-java security update mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- January 3, 2019
- Published
- April 9, 2019, 15:29 UTC
- CVE record updated
- September 17, 2024, 00:02 UTC by dell
- NVD
- Modified, last modified June 17, 2026, 02:35 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:23 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Spring Security?
- Dec 2, 2026CVE-2026-59400 Spring Security
- Dec 2, 2026CVE-2026-59333 Spring Security
- Dec 2, 2026CVE-2026-59331 Spring Security
- Dec 2, 2026CVE-2026-59330 Spring Security
- Dec 2, 2026CVE-2026-59329 Spring Security
- Dec 2, 2026CVE-2026-59273 Spring Security: improper Neutralization of Special Elements used in an Expression Language Statement
- Aug 27, 2026CVE-2026-59277 Spring Security: protection mechanism failure
- Aug 27, 2026CVE-2026-59276 Spring Security: timing side channel
Questions about CVE-2019-3795
Is CVE-2019-3795 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 1.92% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Spring Security are affected by CVE-2019-3795?
org.springframework.security:spring-security-core from 4.2.0 before 4.2.12, org.springframework.security:spring-security-core from 5.0.0 before 5.0.12 and org.springframework.security:spring-security-core from 5.1.0 before 5.1.5, per the GitHub advisory GHSA-v2r2-7qm7-jj6v. The tables above give every range the sources list.
Which version fixes CVE-2019-3795?
4.2.12, 5.0.12 and 5.1.5, per the GitHub advisory GHSA-v2r2-7qm7-jj6v. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-3795?
Low (3.8, CVSS 3.0, from dell). The severity table above shows each score with its source.
Where is the official record of CVE-2019-3795?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.