CVE-2019-3570: facebook hhvm Heap-based Buffer Overflow
Vulnerability summary
CVE-2019-3570 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in facebook hhvm. EPSS estimates a 1.68% chance of exploitation in the next 30 days, higher than 77.7% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 18-07-2019PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
Call to the scrypt_enc() function in HHVM can lead to heap corruption by using specifically crafted parameters (N, r and p). This happens if the parameters are configurable by an attacker for instance by providing the output of scrypt_enc() in a context where Hack/PHP code would attempt to verify it by re-running scrypt_enc() with the same parameters. This could result in information disclosure, memory being overwriten or crashes of the HHVM process. This issue affects versions 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, versions 3.30.5 and below, and all versions in the 4.0, 4.1, and 4.2 series.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.68%
Chance of exploitation in the next 30 days
Percentile
78%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.68% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Facebook2 products
- hhvm4.8.1 | 4.8.0 | 4.7.1 | 4.7.0 | 4.6.1 | 4.6.0 | 4.5.1 | 4.5.0 | 4.4.1 | 4.4.0 | 4.3.1 | ≥ 4.0.0, < unspecified | 3.30.6 | ≥ unspecified, ≤ 3.30.5
- hiphop_virtual_machine≤ 3.30.5 | ≥ 4.0.0, ≤ 4.0.4 | 4.1.0 | 4.2.0 | 4.3.0 | 4.4.0 | 4.5.0 | 4.6.0 | 4.7.0 | 4.8.0
Ubuntu1 product
- hhvmAll versions (No fix recorded)
2 vendors · 3 products
References
4 links- github.com/facebook/hhvm/commit/cc331e4349e91706a673e2a09f1f2ea5bbb33815X Refsource CONFIRMPatchThird Party Advisory