CVE-2019-3557 json
The implementations of streams for bz2 and php://output improperly implemented their readImpl functions, returning -1 consistently.
published 7y ago modified 4mo ago also EUVD-2019-13194
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
Is CVE-2019-3557 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.71% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- Facebook HHVM
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/facebook/hhvm/commit/6e4dd9ec3f14b48170fc45dc9d13a3261765f994
patch, third-party-advisory
-
hhvm.com
/blog/2019/01/14/hhvm-3.30.2.html
vendor-advisory
Sources
- CVE List CVE-2019-3557
- NVD CVE-2019-3557
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.