{"id":"CVE-2019-3557","state":"PUBLISHED","title":"The implementations of streams for bz2 and php://output improperly implemented their readImpl functions, returning -1 consistently. This behavior caused some stream functions, such","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).","publishedAt":"2019-01-15T22:00:00.000Z","updatedAt":"2024-08-04T19:12:09.545Z","severity":null,"assigner":"facebook","products":["Facebook HHVM"],"affected":[{"vendor":"Facebook","product":"HHVM","versions":[{"version":"3.30.1","status":"affected"},{"version":"3.30.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"3.27.5","status":"affected"},{"version":"unspecified","status":"affected","lessThan":"3.27.5","versionType":"custom"}]}],"references":["https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html","https://github.com/facebook/hhvm/commit/6e4dd9ec3f14b48170fc45dc9d13a3261765f994"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T19:45:59.128Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/3xxx/CVE-2019-3557.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-3557","state":"PUBLISHED","datePublished":"2019-01-15T22:00:00.000Z","dateUpdated":"2024-08-04T19:12:09.545Z","assignerShortName":"facebook","assignerOrgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827","dateReserved":"2019-01-02T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"Facebook","product":"HHVM","versions":[{"version":"3.30.1","status":"affected"},{"version":"3.30.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"3.27.5","status":"affected"},{"version":"unspecified","status":"affected","lessThan":"3.27.5","versionType":"custom"}]}],"references":[{"url":"https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/facebook/hhvm/commit/6e4dd9ec3f14b48170fc45dc9d13a3261765f994","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"Out-of-bounds Read (CWE-125)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"facebook","dateUpdated":"2019-01-15T21:57:01.000Z","orgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827"},"dateAssigned":"2019-01-09T00:00:00.000Z","datePublic":"2019-01-15T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve-assign@fb.com","DATE_ASSIGNED":"2019-01-09","ID":"CVE-2019-3557","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"HHVM","version":{"version_data":[{"version_affected":"!=>","version_value":"3.30.1"},{"version_affected":">=","version_value":"3.30.0"},{"version_affected":"!=>","version_value":"3.27.5"},{"version_affected":"<","version_value":"3.27.5"}]}}]},"vendor_name":"Facebook"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Out-of-bounds Read (CWE-125)"}]}]},"references":{"reference_data":[{"name":"https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html","refsource":"MISC","url":"https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html"},{"name":"https://github.com/facebook/hhvm/commit/6e4dd9ec3f14b48170fc45dc9d13a3261765f994","refsource":"MISC","url":"https://github.com/facebook/hhvm/commit/6e4dd9ec3f14b48170fc45dc9d13a3261765f994"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/facebook/hhvm/commit/6e4dd9ec3f14b48170fc45dc9d13a3261765f994","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T19:12:09.545Z"}}]}}}