CVE-2019-3557: facebook hhvm Out-of-bounds Read
Vulnerability summary
CVE-2019-3557 is a critical (CVSS 9.8) Out-of-bounds Read vulnerability in facebook hhvm. EPSS estimates a 1.71% chance of exploitation in the next 30 days, higher than 77% of scored vulnerabilities.
Timeline
- 15-01-2019PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
The implementations of streams for bz2 and php://output improperly implemented their readImpl functions, returning -1 consistently. This behavior caused some stream functions, such as stream_get_line, to trigger an out-of-bounds read when operating on such malformed streams. The implementations were updated to return valid values consistently. This affects all supported versions of HHVM (3.30 and 3.27.4 and below).
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.71%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
0.00 pp
From 1.71% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Facebook1 product
- hhvm3.30.1 | ≥ 3.30.0, < unspecified | 3.27.5 | ≥ unspecified, < 3.27.5 | ≤ 3.27.4 | ≥ 3.28.0, ≤ 3.30.0
Ubuntu1 product
- hhvmAll versions (No fix recorded)
2 vendors · 2 products
References
4 links- github.com/facebook/hhvm/commit/6e4dd9ec3f14b48170fc45dc9d13a3261765f994X Refsource MISCREPORTPatchThird Party Advisory