CVE-2016-1902
Symfony Cryptographic Vulnerability
Reported by mitre · Published June 1, 2016
symfony/symfony is fixed in 2.7.9, 2.6.13 and 2.3.37 (Packagist)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| symfony/symfony | Packagist | 2.7.9, 2.6.13, 2.3.37 |
| symfony/security | Packagist | 2.7.9, 2.6.13, 2.3.37 |
| symfony/security-core | Packagist | 2.7.9, 2.6.13 |
| symfony | Ubuntu:16.04:LTS | 2.7.9+dfsg-1 |
| symfony | sensiolabs | 2.3.36 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| symfony | symfony | 2.4.0, 2.7.0, 2.3.0 |
| symfony | security | 2.3.0, 2.4.0, 2.7.0 |
| symfony | security-core | 2.4.0, 2.7.0 |
| n/a | n/a | * |
Timeline
- Jun 1, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Feb 8, 2024 CVE Updated
- Apr 5, 2026 Distribution Patch
- Apr 5, 2026 Security Advisory (2 in total, the first dated here)
- Oct 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-1902
vulnetix vdb fixes CVE-2016-1902
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-1902/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_MISC
- DSA-3588 vendor-advisoryx_refsource_DEBIAN
- https://symfony.com/cve-2016-1902 url