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 generate random numbers when used with PHP 5.x without the paragonie/random_compat library and the…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.91%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.0
- 7.5 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 1.91% probability · 80th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-310
- Affected
- debian/debian linux · sensiolabs/symfony
- Source
- cve@mitre.org
EPSS 1.9% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-failsVendor Advisory
- http://www.debian.org/security/2016/dsa-3588
- https://github.com/symfony/symfony/pull/17359Patch
- https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/
- http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-failsVendor Advisory
- http://www.debian.org/security/2016/dsa-3588
- https://github.com/symfony/symfony/pull/17359Patch
- https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.