{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-1919","id":"CVE-2020-1919","title":"Incorrect bounds calculations in substr_compare could lead to an out-of-bounds read when the second string argument p…","description":"Incorrect bounds calculations in substr_compare could lead to an out-of-bounds read when the second string argument passed in is longer than the first. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0.","descriptionLong":"Incorrect bounds calculations in substr_compare could lead to an out-of-bounds read when the second string argument passed in is longer than the first. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0.","published":"2021-03-10T15:50:29.000Z","updated":"2026-11-04T07:07:00.842603709Z","reserved":"2019-12-02T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"facebook","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":["Facebook HHVM"],"affectedProducts":[{"vendor":"Facebook","product":"HHVM","defaultStatus":null,"versions":[{"lessThan":"unspecified","status":"unaffected","version":"4.98.1","versionType":"custom"},{"status":"affected","version":"4.98.0"},{"lessThan":"unspecified","status":"unaffected","version":"4.97.1","versionType":"custom"},{"status":"affected","version":"4.97.0"},{"lessThan":"unspecified","status":"unaffected","version":"4.96.1","versionType":"custom"},{"status":"affected","version":"4.96.0"},{"lessThan":"unspecified","status":"unaffected","version":"4.95.1","versionType":"custom"},{"status":"affected","version":"4.95.0"},{"lessThan":"unspecified","status":"unaffected","version":"4.94.1","versionType":"custom"},{"status":"affected","version":"4.94.0"},{"lessThan":"unspecified","status":"unaffected","version":"4.93.2","versionType":"custom"},{"lessThan":"unspecified","status":"affected","version":"4.81.0","versionType":"custom"},{"lessThan":"unspecified","status":"unaffected","version":"4.80.2","versionType":"custom"},{"lessThan":"unspecified","status":"affected","version":"4.57.0","versionType":"custom"},{"lessThan":"unspecified","status":"unaffected","version":"4.56.3","versionType":"custom"},{"lessThan":"4.56.3","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://hhvm.com/blog/2021/02/25/security-update.html","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory"]},{"url":"https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01218,"epssPercentile":0.69269,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-1919","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1919","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-1919","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-1919","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}