CVE-2019-3557

published 15 Jan 2019 · updated 4 Aug 2024

The implementations of streams for bz2 and php://output improperly implemented their readImpl functions, returning -1 consistently

5.0MediumEPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 3.27.5 and unspecified.

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).

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Facebook<3.27.5, =3.27.5, =3.30.1, >=3.30.0 <unspecified3.27.5, unspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2019-3557 severity on Zeptric[![CVE-2019-3557](https://zeptric.io/badge/cve/CVE-2019-3557.svg)](https://zeptric.io/cve/CVE-2019-3557)