{"schemaVersion":3,"id":"CVE-2016-1902","aliases":["UBUNTU-CVE-2016-1902","DEBIAN-CVE-2016-1902"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2016-06-01T22:00:00.000Z","modified":"2024-08-05T23:10:39.895Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.01907,"percentile":0.79474,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01907},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01741,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01907,"percentile":0.79474}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01741,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01907,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01907,"percentile":0.79474}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-310","name":"Cryptographic Issues","description":"Weaknesses in this category are related to the design and implementation of data confidentiality and integrity. Frequently these deal with the use of encoding techniques, encryption libraries, and hashing algorithms. The weaknesses in this category could lead to a degradation of the quality data if they are not addressed.","type":"category","status":"Draft","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/310.html"}],"affected":[{"vendor":"debian","product":"symfony","name":"symfony","label":"symfony","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/symfony","purlType":"deb","versions":[{"text":"< 2.7.9+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.9+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"symfony","name":"symfony","label":"symfony","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/symfony","purlType":"deb","versions":[{"text":"< 2.7.9+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.9+dfsg-1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"sensiolabs","product":"symfony","name":"symfony","label":"symfony","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.3.36","noFixRecorded":false,"fixedIn":null},{"text":"2.6.0","noFixRecorded":false,"fixedIn":null},{"text":"2.6.1","noFixRecorded":false,"fixedIn":null},{"text":"2.6.2","noFixRecorded":false,"fixedIn":null},{"text":"2.6.3","noFixRecorded":false,"fixedIn":null},{"text":"2.6.4","noFixRecorded":false,"fixedIn":null},{"text":"2.6.5","noFixRecorded":false,"fixedIn":null},{"text":"2.6.6","noFixRecorded":false,"fixedIn":null},{"text":"2.6.7","noFixRecorded":false,"fixedIn":null},{"text":"2.6.8","noFixRecorded":false,"fixedIn":null},{"text":"2.6.9","noFixRecorded":false,"fixedIn":null},{"text":"2.6.10","noFixRecorded":false,"fixedIn":null},{"text":"2.6.11","noFixRecorded":false,"fixedIn":null},{"text":"2.6.12","noFixRecorded":false,"fixedIn":null},{"text":"2.7.0","noFixRecorded":false,"fixedIn":null},{"text":"2.7.1","noFixRecorded":false,"fixedIn":null},{"text":"2.7.2","noFixRecorded":false,"fixedIn":null},{"text":"2.7.3","noFixRecorded":false,"fixedIn":null},{"text":"2.7.4","noFixRecorded":false,"fixedIn":null},{"text":"2.7.5","noFixRecorded":false,"fixedIn":null},{"text":"2.7.6","noFixRecorded":false,"fixedIn":null},{"text":"2.7.7","noFixRecorded":false,"fixedIn":null},{"text":"2.7.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 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","eol":{"isEol":true,"eolDate":"2019-05-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"2.7","label":"2.7 (LTS)","eolFrom":"2019-05-01T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"2.7.52"},"product":{"name":"symfony","label":"Symfony","category":"framework"}},"hubHref":"/vendor/sensiolabs/symfony"}],"affectedCount":4,"eol":{"hasEol":true,"count":2},"references":[{"url":"http://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails","label":"symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails","hostname":"symfony.com","tags":["X Refsource CONFIRM","Vendor Advisory","REPORT"]},{"url":"https://github.com/symfony/symfony/pull/17359","label":"github.com/symfony/symfony/pull/17359","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","REPORT"]},{"url":"https://www.landaire.net/blog/cve-2016-1902-symfony-securerandom/","label":"www.landaire.net/blog/cve-2016-1902-symfony-securerandom/","hostname":"www.landaire.net","tags":["X Refsource MISC"]},{"url":"http://www.debian.org/security/2016/dsa-3588","label":"www.debian.org/security/2016/dsa-3588","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN"]},{"url":"https://ubuntu.com/security/CVE-2016-1902","label":"ubuntu.com/security/CVE-2016-1902","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-1902","label":"www.cve.org/CVERecord?id=CVE-2016-1902","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-1902","label":"security-tracker.debian.org/tracker/CVE-2016-1902","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-3588-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2016-06-01T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T23:10:39.895Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:23:24.586Z","stale":false,"partial":false}}