CVE-2018-6337

published 31 Dec 2018 · updated 6 May 2025

folly::secureRandom will re-use a buffer between parent and child processes when fork() is called

7.5HighCVSS 7.5EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in unspecified.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Facebook=v2018.08.09.00, >=v2017.12.11.00 <unspecified, =3.26.3, >=3.26.0 <unspecifiedunspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2018-6337 severity on Zeptric[![CVE-2018-6337](https://zeptric.io/badge/cve/CVE-2018-6337.svg)](https://zeptric.io/cve/CVE-2018-6337)