{"id":"CVE-2016-1902","published":"2016-06-01T22:00:00Z","modified":"2024-08-05T23:10:39Z","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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01907,"percentile":0.80267,"provenance":"source"},"cwes":[],"references":[{"url":"http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/pull/17359","tags":["x_refsource_CONFIRM"]},{"url":"https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/","tags":["x_refsource_MISC"]},{"url":"http://www.debian.org/security/2016/dsa-3588","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":16.05}]},"affected":[{"ecosystem":"Packagist","package":"symfony/security-core","vulnerableRanges":[">=2.4.0, <2.6.13",">=2.7.0, <2.7.9"],"patched":["2.6.13","2.7.9"],"from":["GHSA-jjx5-fq5g-8xpc"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/security","vulnerableRanges":[">=2.3.0, <2.3.37",">=2.4.0, <2.6.13",">=2.7.0, <2.7.9"],"patched":["2.3.37","2.6.13","2.7.9"],"from":["GHSA-jjx5-fq5g-8xpc"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":[">=2.3.0, <2.3.37",">=2.4.0, <2.6.13",">=2.7.0, <2.7.9"],"patched":["2.3.37","2.6.13","2.7.9"],"from":["GHSA-jjx5-fq5g-8xpc"],"provenance":"source"}],"summary":{"text":"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 run on PHP 5.x without the paragonie/random_compat library and openssl_random_pseudo_bytes fails. An attacker can exploit this weakness via unspecified vectors to defeat cryptographic protection mechanisms.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:58Z"},"euvd":{"id":"EUVD-2022-4395","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2015-4050","published":"2015-06-02","fixed":"2.6.8","kev":false},{"cve":"CVE-2015-8124","published":"2015-12-07","fixed":"2.7.7","kev":false,"link":{"from":"CVE-2015-8124","to":"CVE-2016-1902","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"2.3.35","toFixed":"2.3.37","daysApart":177},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/security","fromFixed":"2.3.35","toFixed":"2.3.37","daysApart":177}]}},{"cve":"CVE-2015-8125","published":"2015-12-07","fixed":"2.7.7","kev":false},{"cve":"CVE-2016-1902","published":"2016-06-01","fixed":"2.7.9","kev":false},{"cve":"CVE-2016-2403","published":"2017-02-07","fixed":"3.0.6","kev":false},{"cve":"CVE-2016-4423","published":"2016-06-01","fixed":"3.0.6","kev":false,"link":{"from":"CVE-2016-1902","to":"CVE-2016-4423","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/symfony","fromFixed":"2.3.37","toFixed":"2.3.41","daysApart":0},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/security","fromFixed":"2.3.37","toFixed":"2.3.41","daysApart":0}]}},{"cve":"CVE-2017-11365","published":"2019-05-23","fixed":"3.3.5","kev":false}],"package":"Packagist:symfony/symfony"}}