Live threats

All CVEs / Facebook

CVE-2019-3570Facebook Hiphop Virtual Machine

Critical 9.8 No auth needed

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
Weakness (CWE)
CWE-122, CWE-787
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Hiphop Virtual Machine.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
facebookhiphop_virtual_machine≤ 3.30.5
facebookhiphop_virtual_machine≥ 4.0.0 ≤ 4.0.4
facebookhiphop_virtual_machine4.1.0
facebookhiphop_virtual_machine4.2.0
facebookhiphop_virtual_machine4.3.0
facebookhiphop_virtual_machine4.4.0
facebookhiphop_virtual_machine4.5.0
facebookhiphop_virtual_machine4.6.0
facebookhiphop_virtual_machine4.7.0
facebookhiphop_virtual_machine4.8.0

Official sources

References

Links published by the sources. Open them with care.