CVE-2016-1902
The nextBytes function in the SecureRandom class in Symfony before 2.3.37, 2.6.x before 2.6.13, and 2.7.x before 2.7.9 does not properly…
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
The nextBytes function in the SecureRandom class in Symfony before 2.3.37, 2.6.x before 2.6.13, and 2.7.x before 2.7.9 does not properly generate random numbers when used with PHP 5.x without the paragonie/random_compat library and the openssl_random_pseudo_bytes function fails, which makes it easier for attackers to defeat cryptographic protection mechanisms via unspecified vectors.
Timeline
ID reserved
By mitre
- 5 months later
· 5 months later
Published
- 8 years later
· 8 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 1.9% · top 20% of all CVEs (8 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistsymfony/securityGHSA-jjx5-fq5g-8xpc (opens in a new tab)
- Packagistsymfony/security-coreGHSA-jjx5-fq5g-8xpc (opens in a new tab)
- Packagistsymfony/symfonyGHSA-jjx5-fq5g-8xpc (opens in a new tab)
References (4)
- http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/symfony/symfony/pull/17359 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/ (opens in a new tab)x_refsource_MISCx_transferred
- DSA-3588 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-jjx5-fq5g-8xpc (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2016-1902)Record last updated .