Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2016-1902

The nextBytes function in the SecureRandom class in Symfony before 2.3 ...

Overview

Published
1 Jun 2016
Modified
17 Jun 2026
High CVE
3 Registry packages
1 OS packages
2 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.0 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness: CWE-310

Affected packages · 3

Packages affected by CVE-2016-1902
EcosystemPackageVulnerableFixed in
Composer (PHP) symfony/security >=2.3.0, <2.3.37>=2.4.0, <2.6.13>=2.7.0, <2.7.9>=2.5.0, <2.6.0>=2.6.0, <2.6.13+1 more 2.3.372.6.132.7.9
Composer (PHP) symfony/security-core >=2.4.0, <2.6.13>=2.7.0, <2.7.9>=2.4.0, <2.5.0>=2.5.0, <2.6.0>=2.6.0, <2.6.13 2.6.132.7.9
Composer (PHP) symfony/symfony >=2.3.0, <2.3.37>=2.4.0, <2.6.13>=2.7.0, <2.7.9>=2.4.0, <2.5.0>=2.5.0, <2.6.0+1 more 2.3.372.6.132.7.9

Open a package to see all its vulnerabilities.

Operating systems · 5 fixes

debian 4 releases · 1 package

fixed 4
symfony
debian fixes for CVE-2016-1902
ReleasePackageFixed in
11 symfony 2.7.9+dfsg-1
12 symfony 2.7.9+dfsg-1
13 symfony 2.7.9+dfsg-1
14 symfony 2.7.9+dfsg-1

echo 1 release · 1 package

fixed 1
symfony
echo fixes for CVE-2016-1902
ReleasePackageFixed in
symfony 2.7.9+dfsg-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.