{"id":"CVE-2020-1916","aliases":["EUVD-2020-12737","GHSA-37q2-jfrf-gv36","UBUNTU-CVE-2020-1916"],"status":"published","title":"An incorrect size calculation in ldap_escape may lead to an integer overflow when overly long...","description":"An incorrect size calculation in ldap_escape may lead to an integer overflow when overly long input is passed in, resulting in an out-of-bounds write. This issue affects HHVM prior to 4.56.2, all versions between 4.57.0 and 4.78.0, 4.79.0, 4.80.0, 4.81.0, 4.82.0, 4.83.0.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/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-09","score":0.01384,"percentile":0.72387,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-122","CWE-787"],"published":"2021-03-10T15:50:27Z","modified":"2026-11-04T02:45:13Z","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/2020/11/12/security-update.html","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Vendor Advisory","advisory","report"]},{"url":"https://github.com/facebook/hhvm/commit/abe0b29e4d3a610f9bc920b8be4ad8403364c2d4","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1916"},{"url":"https://github.com/advisories/GHSA-37q2-jfrf-gv36"},{"url":"https://ubuntu.com/security/CVE-2020-1916","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-1916","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-1916","description":"An incorrect size calculation in ldap_escape may lead to an integer overflow when overly long input is passed in, resulting in an out-of-bounds write. This issue affects HHVM prior to 4.56.2, all versions between 4.57.0 and 4.78.0, 4.79.0, 4.80.0, 4.81.0, 4.82.0, 4.83.0.","status":"published","published":"2021-03-10T15:50:27Z","modified":"2024-08-04T06:54:00.37Z","cwes":["CWE-122"],"updated_at":"2026-11-02T14:35:56.213477Z"}],"euvd":[{"id":"EUVD-2020-12737","description":"An incorrect size calculation in ldap_escape may lead to an integer overflow when overly long input is passed in, resulting in an out-of-bounds write. This issue affects HHVM prior to 4.56.2, all versions between 4.57.0 and 4.78.0, 4.79.0, 4.80.0, 4.81.0, 4.82.0, 4.83.0.","status":"published","published":"2021-03-10T15:50:27Z","modified":"2024-08-04T06:54:00Z","updated_at":"2026-11-03T03:08:10.95725Z"}],"ghsa":[{"id":"GHSA-37q2-jfrf-gv36","title":"An incorrect size calculation in ldap_escape may lead to an integer overflow when overly long...","description":"An incorrect size calculation in ldap_escape may lead to an integer overflow when overly long input is passed in, resulting in an out-of-bounds write. This issue affects HHVM prior to 4.56.2, all versions between 4.57.0 and 4.78.0, 4.79.0, 4.80.0, 4.81.0, 4.82.0, 4.83.0.","status":"published","published":"2022-05-24T17:44:02Z","modified":"2023-01-29T05:06:47Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:46:05.929333Z"}],"nvd":[{"id":"CVE-2020-1916","description":"An incorrect size calculation in ldap_escape may lead to an integer overflow when overly long input is passed in, resulting in an out-of-bounds write. This issue affects HHVM prior to 4.56.2, all versions between 4.57.0 and 4.78.0, 4.79.0, 4.80.0, 4.81.0, 4.82.0, 4.83.0.","status":"published","published":"2021-03-10T16:15:14.173Z","modified":"2026-06-17T03:02:36.563Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/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-122","CWE-787"],"updated_at":"2026-11-02T14:06:37.687844Z"}],"osv":[{"id":"CVE-2020-1916","description":"An incorrect size calculation in ldap_escape may lead to an integer overflow when overly long input is passed in, resulting in an out-of-bounds write. This issue affects HHVM prior to 4.56.2, all versions between 4.57.0 and 4.78.0, 4.79.0, 4.80.0, 4.81.0, 4.82.0, 4.83.0.","status":"published","published":"2021-03-10T16:15:14.173Z","modified":"2026-11-04T07:07:00.403827443Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/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-2020-1916","description":"An incorrect size calculation in ldap_escape may lead to an integer overflow when overly long input is passed in, resulting in an out-of-bounds write. This issue affects HHVM prior to 4.56.2, all versions between 4.57.0 and 4.78.0, 4.79.0, 4.80.0, 4.81.0, 4.82.0, 4.83.0.","status":"published","published":"2021-03-10T16:15:00Z","modified":"2026-04-22T12:32:48.691757Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:23.344108Z"}]}}
