CVE-2016-1902
PHP packages · CVE-2016-1902
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.907% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T19:48:17.831Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T19:48:17.831Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T19:05:57.431Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:38.244Z | OSV |
| affected | verified | 2026-11-19T19:04:08.958Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:04:08.958Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://github.com/symfony/symfony/pull/17359",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "http://www.debian.org/security/2016/dsa-3588",
"name": "DSA-3588",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T23:10:39.895Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-jjx5-fq5g-8xpc",
"aliases": [
"CVE-2016-1902"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.4.0"
},
{
"fixed": "2.6.13"
}
]
}
],
"package": {
"name": "symfony/security-core",
"purl": "pkg:composer/symfony/security-core",
"ecosystem": "Packagist"
},
"versions": [
"v2.4.0",
"v2.4.1",
"v2.4.10",
"v2.4.2",
"v2.4.3",
"v2.4.4",
"v2.4.5",
"v2.4.6",
"v2.4.7",
"v2.4.8",
"v2.4.9",
"v2.5.0",
"v2.5.0-BETA1",
"v2.5.0-BETA2",
"v2.5.0-RC1",
"v2.5.1",
"v2.5.10",
"v2.5.11",
"v2.5.12",
"v2.5.2",
"v2.5.3",
"v2.5.4",
"v2.5.5",
"v2.5.6",
"v2.5.7",
"v2.5.8",
"v2.5.9",
"v2.6.0",
"v2.6.0-BETA1",
"v2.6.0-BETA2",
"v2.6.1",
"v2.6.10",
"v2.6.11",
"v2.6.12",
"v2.6.2",
"v2.6.3",
"v2.6.4",
"v2.6.5",
"v2.6.6",
"v2.6.7",
"v2.6.8",
"v2.6.9"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jjx5-fq5g-8xpc/GHSA-jjx5-fq5g-8xpc.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.7.0"
},
{
"fixed": "2.7.9"
}
]
}
],
"package": {
"name": "symfony/security-core",
"purl": "pkg:composer/symfony/security-core",
"ecosystem": "Packagist"
},
"versions": [
"v2.7.0",
"v2.7.1",
"v2.7.2",
"v2.7.3",
"v2.7.4",
"v2.7.5",
"v2.7.6",
"v2.7.7",
"v2.7.8"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jjx5-fq5g-8xpc/GHSA-jjx5-fq5g-8xpc.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-1902",
"type": "ADVISORY"
},
{
"url": "https://github.com/symfony/symfony/pull/17359",
"type": "WEB"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-core/CVE-2016-1902.yaml",
"type": "WEB"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2016-1902.yaml",
"type": "WEB"
},
{
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2016-1902.yaml",
"type": "WEB"
},
{
"url": "https://symfony.com/cve-2016-1902",
"type": "WEB"
},
{
"url": "https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom",
"type": "WEB"
},
{
"url": "http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails",
"type": "WEB"
},
{
"url": "http://www.debian.org/security/2016/dsa-3588",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-332"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2016-06-01T22:59:00Z",
"github_reviewed_at": "2023-07-31T23:05:36Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Packagist / package | symfony/security-core | Not a distribution channel | 2.6.13 | Official record |
| ecosystem-boundary | Packagist / package | symfony/security-core | Not a distribution channel | 2.7.9 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T19:03:38.244ZArchived source JSON
Source publication: 2022-05-17T03:54:47.000Z
Source modification: 2024-02-18T05:32:43.081ZDocument fingerprint
1ca368f1b6774199583bd3c61fad46368e10a56d10d658c32e1888c6a946bdf9 - CISA KEVConsulted: 2026-11-19T19:48:17.831ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T19:05:57.431ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
5a5bcf2624320ba2de5bb1bd375fbd7e1763391b2ad659041f30b02e5066c670 - CVE ProgramConsulted: 2026-11-19T19:04:08.958ZArchived source JSON
Source publication: 2016-06-01T22:00:00.000Z
Source modification: 2024-08-05T23:10:39.895ZDocument fingerprint
377321b34c41c2880fe51f6e0a3c9564c0c90ef7bbf276031151665125f3edf8
Official status history
- UNKNOWN → PUBLISHED · · evidence