Skip to content
OpenAdvisories
Unscored CVE-2019-3557 EUVD-2019-13194GHSA-x6p7-p3gg-q926

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

Published Jan 15, 2019 · Updated Aug 4, 2024 · Assigned by facebook

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

Affected products

VendorProductAffectedFixed
Facebook HHVM 3.30.1, 3.30.0 – < unspecified, 3.27.5, unspecified – < 3.27.5 unspecified

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS hhvm No fix yet —
Ubuntu 16.04 LTS hhvm No fix yet —

References