{"id":"CVE-2019-3557","aliases":["EUVD-2019-13194","GHSA-x6p7-p3gg-q926","UBUNTU-CVE-2019-3557"],"status":"published","title":"The implementations of streams for bz2 and php://output improperly implemented their readImpl...","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).","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01711,"percentile":0.77519,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-125"],"published":"2019-01-15T22:00:00Z","modified":"2026-11-04T02:45:29Z","affected":[{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"hhvm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.11.0+dfsg-1","3.11.1+dfsg-1","3.11.1+dfsg-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"hhvm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.21.0+dfsg-2","3.21.0+dfsg-2build1","3.21.0+dfsg-2build2","3.21.0+dfsg-2build3","3.21.0+dfsg-2ubuntu2"]}],"products":[{"vendor":"facebook","product":"hhvm"}],"references":[{"url":"https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://github.com/facebook/hhvm/commit/6e4dd9ec3f14b48170fc45dc9d13a3261765f994","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3557"},{"url":"https://github.com/advisories/GHSA-x6p7-p3gg-q926"},{"url":"https://ubuntu.com/security/CVE-2019-3557","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-3557","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-3557","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).","status":"published","published":"2019-01-15T22:00:00Z","modified":"2024-08-04T19:12:09.545Z","cwes":["CWE-125"],"updated_at":"2026-11-02T14:20:23.048861Z"}],"euvd":[{"id":"EUVD-2019-13194","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).","status":"published","published":"2019-01-15T22:00:00Z","modified":"2024-08-04T19:12:09Z","updated_at":"2026-11-03T03:06:55.481882Z"}],"ghsa":[{"id":"GHSA-x6p7-p3gg-q926","title":"The implementations of streams for bz2 and php://output improperly implemented their readImpl...","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).","status":"published","published":"2022-05-13T01:31:18Z","modified":"2023-02-01T05:08:19Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:50:44.010322Z"}],"nvd":[{"id":"CVE-2019-3557","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).","status":"published","published":"2019-01-15T22:29:00.377Z","modified":"2026-06-17T02:35:13.447Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:05:02.989216Z"}],"osv":[{"id":"CVE-2019-3557","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).","status":"published","published":"2019-01-15T22:29:00.377Z","modified":"2026-11-04T07:07:05.286520907Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-04T07:32:23.735279Z"},{"id":"UBUNTU-CVE-2019-3557","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).","status":"published","published":"2019-01-15T22:29:00Z","modified":"2026-04-22T11:57:25.005884Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:21.213407Z"}]}}
