High severity7.5NVD Advisory· Published Jun 1, 2016· Updated May 6, 2026
CVE-2016-1902
CVE-2016-1902
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
symfony/security-corePackagist | >= 2.4.0, < 2.6.13 | 2.6.13 |
symfony/security-corePackagist | >= 2.7.0, < 2.7.9 | 2.7.9 |
symfony/securityPackagist | >= 2.3.0, < 2.3.37 | 2.3.37 |
symfony/securityPackagist | >= 2.4.0, < 2.6.13 | 2.6.13 |
symfony/securityPackagist | >= 2.7.0, < 2.7.9 | 2.7.9 |
symfony/symfonyPackagist | >= 2.3.0, < 2.3.37 | 2.3.37 |
symfony/symfonyPackagist | >= 2.4.0, < 2.6.13 | 2.6.13 |
symfony/symfonyPackagist | >= 2.7.0, < 2.7.9 | 2.7.9 |
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
11- github.com/symfony/symfony/pull/17359nvdPatchWEB
- symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-failsnvdVendor AdvisoryWEB
- github.com/advisories/GHSA-jjx5-fq5g-8xpcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2016-1902ghsaADVISORY
- www.debian.org/security/2016/dsa-3588nvdWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-core/CVE-2016-1902.yamlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2016-1902.yamlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2016-1902.yamlghsaWEB
- symfony.com/cve-2016-1902ghsaWEB
- www.landaire.net/blog/cve-2016-1902-symfony-securerandomghsaWEB
- www.landaire.net/blog/cve-2016-1902-symfony-securerandom/nvd
News mentions
0No linked articles in our index yet.