# CVE-2019-10755: Use of Cryptographically Weak Pseudo-Random Number Generator in org.pac4j:pac4j-saml

- Severity: Medium 4.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.13%, higher than 67% of CVEs (2026-12-02)
- Published: 2019-09-23T22:13:04.000Z
- Modified: 2026-09-10T03:49:24.755Z
- Also known as: GHSA-rc75-cf5c-mxvh, SNYK-JAVA-ORGPAC4J-467407
- Weaknesses: CWE-338
- Assigned by: snyk

## Description

The SAML identifier generated within SAML2Utils.java was found to make use of the apache commons-lang3 RandomStringUtils class which makes them predictable due to RandomStringUtils PRNG's algorithm not being cryptographically strong. This issue only affects the 3.X release of pac4j-saml.

(As written by CVE List.)

## Affected

- PAC4J For SAML Protocol: All versions prior to version 4.0.0-RC1
- org.pac4j:pac4j-saml (Maven): before 3.8.2
- pac4j pac4j: from 3.0.0 up to 3.8.2

## Every score

- GitHub: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://snyk.io/vuln/SNYK-JAVA-ORGPAC4J-467407> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-10755> (advisory)
- <https://github.com/pac4j/pac4j/commit/34d5b1028a2db201ee81ec51b52a782fe073f609> (web)

## Sources

- CVE List: [CVE-2019-10755](https://www.cve.org/CVERecord?id=CVE-2019-10755), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-rc75-cf5c-mxvh](https://github.com/advisories/GHSA-rc75-cf5c-mxvh), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2019-10755](https://nvd.nist.gov/vuln/detail/CVE-2019-10755), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-10755 · Whole record: https://cve.day/CVE-2019-10755.json · Rebuilt by cve.day 2026-11-25T22:57:47.084Z
