CVE-2019-3557 Memory corruption in HHVM
Out-of-bounds read in HHVM stream implementations allows attackers to cause denial of service or disclose sensitive memory contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-3557?
CVE-2019-3557 is a critical memory corruption vulnerability in Facebook HHVM, published on 15 Jan 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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).
Weakness: CWE-125
Which versions are affected by CVE-2019-3557?
It affects 1 product.
Products include Facebook Hhvm.
How do I fix CVE-2019-3557?
No fix has been published for CVE-2019-3557 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2019-3557 being exploited?
There is no known exploitation of CVE-2019-3557 in the wild and no public exploit code.
Other vulnerabilities in Facebook HHVM
Sources
Also known as GHSA-x6p7-p3gg-q926, UBUNTU-CVE-2019-3557.