9.8

CVE-2019-3570: facebook hhvm Heap-based Buffer Overflow

CVSS: 9.8v3.1CriticalModified
AliasesUBUNTU-CVE-2019-3570
Published 18-07-2019Last modified 04-08-2024

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 76.5% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
1.68%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 18-07-2019
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last 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

EPSS trend

Probability

1.68%

Chance of exploitation in the next 30 days

Percentile

77%

Versus all other CVEs

30-day change

0.00 pp

From 1.68% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.68%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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