{"id":"CVE-2018-6337","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-6337","generatedAt":"2026-10-29T03:57:46.241Z","title":"folly::secureRandom will re-use a buffer between parent and child processes when fork() is called.","description":"folly::secureRandom will re-use a buffer between parent and child processes when fork() is called. That will result in multiple forked children producing repeat (or similar) results. This affects HHVM 3.26 prior to 3.26.3 and the folly library between v2017.12.11.00 and v2018.08.09.00.","published":"2018-12-31T22:29:00.000Z","lastModified":"2026-06-17T02:01:42.000Z","status":"Modified","sourceIdentifier":"cve-assign@fb.com","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},"cwe":["CWE-212","CWE-119"],"affected":["facebook/folly","facebook/hhvm"],"epss":{"score":0.01778,"percentile":0.78144,"date":"2026-10-28","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (1.78%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/facebook/folly/commit/8e927ee48b114c8a2f90d0cbd5ac753795a6761f","tags":["Patch","Third Party Advisory"],"source":"cve-assign@fb.com"},{"url":"https://github.com/facebook/hhvm/commit/e2d10a1e32d01f71aaadd81169bcb9ae86c5d6b8","tags":["Patch","Third Party Advisory"],"source":"cve-assign@fb.com"},{"url":"https://hhvm.com/blog/2018/05/24/hhvm-3.26.3.html","tags":["Release Notes","Vendor Advisory"],"source":"cve-assign@fb.com"},{"url":"https://github.com/facebook/folly/commit/8e927ee48b114c8a2f90d0cbd5ac753795a6761f","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/facebook/hhvm/commit/e2d10a1e32d01f71aaadd81169bcb9ae86c5d6b8","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://hhvm.com/blog/2018/05/24/hhvm-3.26.3.html","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-6337","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}