CVE-2019-3570
highpriority · track · 40EPSS 0.017 · 77 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (24)
Products and version ranges known to be affected.
- facebook hiphop virtual machine≤ 3.30.5nvdUScpe:2.3:a:facebook:hiphop_virtual_machine:*:*:*:*:*:*:*:*
- facebook hiphop virtual machine4.0.0 → 4.0.4nvdUScpe:2.3:a:facebook:hiphop_virtual_machine:*:*:*:*:*:*:*:*
- facebook hiphop virtual machine= 4.1.0nvdUScpe:2.3:a:facebook:hiphop_virtual_machine:*:*:*:*:*:*:*:*
- facebook hiphop virtual machine= 4.2.0nvdUScpe:2.3:a:facebook:hiphop_virtual_machine:*:*:*:*:*:*:*:*
- facebook hiphop virtual machine= 4.3.0nvdUScpe:2.3:a:facebook:hiphop_virtual_machine:*:*:*:*:*:*:*:*
- facebook hiphop virtual machine= 4.4.0nvdUScpe:2.3:a:facebook:hiphop_virtual_machine:*:*:*:*:*:*:*:*
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/facebook/hhvm/commit/cc331e4349e91706a673e2a09f1f2ea5bbb33815cnnvd
- https://hhvm.com/blog/2019/06/10/hhvm-4.9.0.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2019-3570cnnvd
- https://github.com/facebook/hhvm/commit/cc331e4349e91706a673e2a09f1f2ea5bbb33815enisa_euvd
- https://hhvm.com/blog/2019/06/10/hhvm-4.9.0.htmlenisa_euvd
- https://github.com/facebook/hhvm/commit/cc331e4349e91706a673e2a09f1f2ea5bbb33815PatchThird Party Advisorynvd
- https://hhvm.com/blog/2019/06/10/hhvm-4.9.0.htmlRelease NotesVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan