{"id":"CVE-2018-6340","aliases":["EUVD-2018-18100","GHSA-q37v-wf54-qchq","UBUNTU-CVE-2018-6340"],"status":"published","title":"The Memcache::getextendedstats function can be used to trigger an out-of-bounds read. Exploiting...","description":"The Memcache::getextendedstats function can be used to trigger an out-of-bounds read. Exploiting this issue requires control over memcached server hostnames and/or ports. This affects all supported versions of HHVM (3.30 and 3.27.4 and below).","severity":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0143,"percentile":0.73201,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-125"],"published":"2018-12-31T22:00:00Z","modified":"2026-11-04T02:45:07Z","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/2018/12/18/hhvm-3.30.1.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://github.com/facebook/hhvm/commit/4bff3bfbe90d10451e4638c2118d1ad1117bb3e3","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6340"},{"url":"https://github.com/advisories/GHSA-q37v-wf54-qchq"},{"url":"https://ubuntu.com/security/CVE-2018-6340","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-6340","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-6340","description":"The Memcache::getextendedstats function can be used to trigger an out-of-bounds read. Exploiting this issue requires control over memcached server hostnames and/or ports. This affects all supported versions of HHVM (3.30 and 3.27.4 and below).","status":"published","published":"2018-12-31T22:00:00Z","modified":"2025-05-06T19:00:01.711Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:35:05.619113Z"}],"euvd":[{"id":"EUVD-2018-18100","description":"The Memcache::getextendedstats function can be used to trigger an out-of-bounds read. Exploiting this issue requires control over memcached server hostnames and/or ports. This affects all supported versions of HHVM (3.30 and 3.27.4 and below).","status":"published","published":"2018-12-31T22:00:00Z","modified":"2025-05-06T19:00:01Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T20:32:53.861279Z"}],"ghsa":[{"id":"GHSA-q37v-wf54-qchq","title":"The Memcache::getextendedstats function can be used to trigger an out-of-bounds read. Exploiting...","description":"The Memcache::getextendedstats function can be used to trigger an out-of-bounds read. Exploiting this issue requires control over memcached server hostnames and/or ports. This affects all supported versions of HHVM (3.30 and 3.27.4 and below).","status":"published","published":"2022-05-13T01:32:03Z","modified":"2023-02-01T05:08:26Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:50:45.608979Z"}],"nvd":[{"id":"CVE-2018-6340","description":"The Memcache::getextendedstats function can be used to trigger an out-of-bounds read. Exploiting this issue requires control over memcached server hostnames and/or ports. This affects all supported versions of HHVM (3.30 and 3.27.4 and below).","status":"published","published":"2018-12-31T22:29:00.327Z","modified":"2026-06-17T02:01:41.807Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:04:52.056758Z"}],"osv":[{"id":"CVE-2018-6340","description":"The Memcache::getextendedstats function can be used to trigger an out-of-bounds read. Exploiting this issue requires control over memcached server hostnames and/or ports. This affects all supported versions of HHVM (3.30 and 3.27.4 and below).","status":"published","published":"2018-12-31T22:29:00.327Z","modified":"2026-11-04T07:06:54.633513502Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-04T07:32:23.735279Z"},{"id":"UBUNTU-CVE-2018-6340","description":"The Memcache::getextendedstats function can be used to trigger an out-of-bounds read. Exploiting this issue requires control over memcached server hostnames and/or ports. This affects all supported versions of HHVM (3.30 and 3.27.4 and below).","status":"published","published":"2018-12-31T22:29:00Z","modified":"2026-04-22T12:02:00.296552Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:18.772093Z"}]}}
