{"id":"CVE-2016-1902","url":"https://www.cyber-defence.io/tools/cve/CVE-2016-1902","generatedAt":"2026-10-27T19:44:53.353Z","title":"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…","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.","published":"2016-06-01T22:59:01.000Z","lastModified":"2026-06-17T00:42:50.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"cwe":["CWE-310"],"affected":["debian/debian linux","sensiolabs/symfony"],"epss":{"score":0.01907,"percentile":0.79612,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"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."},"changes":[],"references":[{"url":"http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://www.debian.org/security/2016/dsa-3588","source":"cve@mitre.org"},{"url":"https://github.com/symfony/symfony/pull/17359","tags":["Patch"],"source":"cve@mitre.org"},{"url":"https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/","source":"cve@mitre.org"},{"url":"http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2016/dsa-3588","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/symfony/symfony/pull/17359","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-1902","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}