CVE-2019-3557Facebook Hhvm
Critical 9.8 No auth needed
Follow: this CVE · Facebook · Facebook Hhvm We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Jan 15, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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).
What to do
- Apply the vendor's security update for Hhvm.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hhvm | ≤ 3.27.4 | |
| hhvm | ≥ 3.28.0 ≤ 3.30.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- hhvm.com Vendor Advisory