CVE-2019-3570Facebook Hiphop Virtual Machine
Critical 9.8 No auth needed
Follow: this CVE · Facebook · Facebook Hiphop Virtual Machine We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 77
- Auth required
- No
- Published
- Jul 18, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Hiphop Virtual Machine.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hiphop_virtual_machine | ≤ 3.30.5 | |
| hiphop_virtual_machine | ≥ 4.0.0 ≤ 4.0.4 | |
| hiphop_virtual_machine | 4.1.0 | |
| hiphop_virtual_machine | 4.2.0 | |
| hiphop_virtual_machine | 4.3.0 | |
| hiphop_virtual_machine | 4.4.0 | |
| hiphop_virtual_machine | 4.5.0 | |
| hiphop_virtual_machine | 4.6.0 | |
| hiphop_virtual_machine | 4.7.0 | |
| hiphop_virtual_machine | 4.8.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- hhvm.com Release Notes Vendor Advisory