{"id":"CVE-2020-1919","aliases":["CVE-2020-1919"],"related":[],"kind":"vulnerability","state":"published","title":"Incorrect bounds calculations in substrcompare could lead to an out-of-bounds read when the second string argument passed in is longer than…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Unos cálculos de límites incorrectos en la función substr_compare podrían conllevar a una lectura fuera de límites cuando el segundo argumento de cadena pasado es más largo que el primero.&#xa0;Este problema afecta a HHVM versiones anteriores a 4.56.3, todas las versiones entre 4.57.0 y 4.80.1, todas las versiones entre 4.81.0 y 4.93.1 y las versiones 4.94.0, 4.95.0, 4.96.0, 4.97.0 , 4.98.0","source":"nvd"}],"published":"2021-03-10T15:50:29.000Z","modified":"2026-06-17T03:02:36.913Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"custom","introduced":"4.98.1","fixed":"unspecified","status":"unaffected"},{"version":"4.98.0","status":"affected"},{"type":"custom","introduced":"4.97.1","fixed":"unspecified","status":"unaffected"},{"version":"4.97.0","status":"affected"},{"type":"custom","introduced":"4.96.1","fixed":"unspecified","status":"unaffected"},{"version":"4.96.0","status":"affected"},{"type":"custom","introduced":"4.95.1","fixed":"unspecified","status":"unaffected"},{"version":"4.95.0","status":"affected"},{"type":"custom","introduced":"4.94.1","fixed":"unspecified","status":"unaffected"},{"version":"4.94.0","status":"affected"},{"type":"custom","introduced":"4.93.2","fixed":"unspecified","status":"unaffected"},{"type":"custom","introduced":"4.81.0","fixed":"unspecified","status":"affected"},{"type":"custom","introduced":"4.80.2","fixed":"unspecified","status":"unaffected"},{"type":"custom","introduced":"4.57.0","fixed":"unspecified","status":"affected"},{"type":"custom","introduced":"4.56.3","fixed":"unspecified","status":"unaffected"},{"type":"custom","introduced":"unspecified","fixed":"4.56.3","status":"affected"}],"vendor":"Facebook","product":"HHVM","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.56.3"},{"status":"affected","introduced":"4.57.0","fixed":"4.80.2"},{"status":"affected","introduced":"4.81.0","fixed":"4.93.2"},{"status":"affected","version":"4.94.0"},{"status":"affected","version":"4.95.0"},{"status":"affected","version":"4.96.0"},{"status":"affected","version":"4.97.0"},{"status":"affected","version":"4.98.0"}],"vendor":"facebook","product":"hhvm","cpe":"cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://hhvm.com/blog/2021/02/25/security-update.html","tags":["release-notes","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"facebook","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-1919","url":"https://www.cve.org/CVERecord?id=CVE-2020-1919","licence":"CVE Terms of Use","modified":"2024-08-04T06:53:59.858Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-1919","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1919","licence":"Public domain","modified":"2026-06-17T03:02:36.913Z"}],"updatedAt":"2026-11-25T22:57:57.548Z","epss":{"score":0.01218,"percentile":0.69508,"date":"2026-12-02T12:00:21.000Z"}}