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 Jun 1, 2016
7.5
HIGHCVSS 3.0
EPSS 1.91%
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 products
No data.
Configuration 1
- 8.0
Configuration 2
- ≤ 2.3.36
- 2.6.0
- 2.6.1
- 2.6.2
- 2.6.3
- 2.6.4
- 2.6.5
- 2.6.6
- 2.6.7
- 2.6.8
- 2.6.9
- 2.6.10
- 2.6.11
- 2.6.12
- 2.7.0
- 2.7.1
- 2.7.2
- 2.7.3
- 2.7.4
- 2.7.5
- 2.7.6
- 2.7.7
- 2.7.8
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.91% (0.01907) | 79.02th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.91% (0.01907) | 77.00th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.40% (0.00397) | 58.36th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.17% (0.00169) | 55.13th | v3 (v2023.03.01) |
| Jul 10, 2024 | 0.17% (0.00169) | 54.08th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.17% (0.00169) | 52.02th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
References (10)
- http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails x_refsource_CONFIRMVendor Advisory
- http://www.debian.org/security/2016/dsa-3588 vendor-advisoryx_refsource_DEBIAN
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-core/CVE-2016-1902.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2016-1902.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2016-1902.yaml
- https://github.com/advisories/GHSA-jjx5-fq5g-8xpc Advisory
- https://github.com/symfony/symfony/pull/17359 x_refsource_CONFIRMPatch
- https://nvd.nist.gov/vuln/detail/CVE-2016-1902
- https://symfony.com/cve-2016-1902
- https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/ x_refsource_MISC
Change history (0)
No recorded changes yet.