NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
HIGH severity

CVE-2016-1902 — security-core

HIGHFix: symfony/symfony#17359

CVE-2016-1902 is a high-severity (CVSS 7.5) CWE-310 vulnerability in symfony/security-core. A fix is available for symfony/security-core — see the affected versions and patch details below.

Symfony Cryptographic Vulnerability

Also known asGHSA-jjx5-fq5g-8xpc
Published
Updated
Affected
8 pkgs
Patched
8 / 8
Exploits
None indexed
Exploitation data as of Nov 8, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
1.9%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs80th percentile — riskier than 80% of all scored CVEsHighest risk
0.00%0.80%1.60%2.41%0.4%1.9%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

8 pkgs affected
🐘symfony/security-core🐘symfony/security-core🐘symfony/security🐘symfony/security🐘symfony/security🐘symfony/symfony🐘symfony/symfony🐘symfony/symfony

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

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

8 total 8 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistsymfony/security-core≥ 2.4.0&&< 2.6.132.6.13composer require symfony/security-core:^2.6.13
🐘Packagistsymfony/security-core≥ 2.7.0&&< 2.7.92.7.9composer require symfony/security-core:^2.7.9
🐘Packagistsymfony/security≥ 2.3.0&&< 2.3.372.3.37composer require symfony/security:^2.3.37
🐘Packagistsymfony/security≥ 2.4.0&&< 2.6.132.6.13composer require symfony/security:^2.6.13
🐘Packagistsymfony/security≥ 2.7.0&&< 2.7.92.7.9composer require symfony/security:^2.7.9
🐘Packagistsymfony/symfony≥ 2.3.0&&< 2.3.372.3.37composer require symfony/symfony:^2.3.37

Affected Products

2 products · 24 configurations
OS
debian linuxdebian
1 version
8.0
Application
symfonysensiolabs
≤ 2.3.36
22 versions
2.6.02.6.12.6.22.6.32.6.42.6.52.6.62.6.72.6.82.6.92.6.102.6.11

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for symfony/security-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update symfony/security-core to 2.6.13 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2016-1902 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2016-1902 in your dependencies?

Find it across Packagist, including transitive dependencies.

CVE-2016-1902: security-core — Fixed in 2.6.13