{"id":"CVE-2018-6340","state":"PUBLISHED","title":"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 affe","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).","publishedAt":"2018-12-31T22:00:00.000Z","updatedAt":"2025-05-06T19:00:01.711Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"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/2018/12/18/hhvm-3.30.1.html","https://github.com/facebook/hhvm/commit/4bff3bfbe90d10451e4638c2118d1ad1117bb3e3"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T19:44:58.277Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/6xxx/CVE-2018-6340.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-6340","state":"PUBLISHED","datePublished":"2018-12-31T22:00:00.000Z","dateUpdated":"2025-05-06T19:00:01.711Z","assignerShortName":"facebook","assignerOrgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827","dateReserved":"2018-01-26T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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)."}],"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/2018/12/18/hhvm-3.30.1.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/facebook/hhvm/commit/4bff3bfbe90d10451e4638c2118d1ad1117bb3e3","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"Out-of-bounds Read (CWE-125)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"facebook","dateUpdated":"2018-12-31T21:57:01.000Z","orgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827"},"dateAssigned":"2018-12-18T00:00:00.000Z","datePublic":"2018-12-31T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve-assign@fb.com","DATE_ASSIGNED":"2018-12-18","ID":"CVE-2018-6340","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 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)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Out-of-bounds Read (CWE-125)"}]}]},"references":{"reference_data":[{"name":"https://hhvm.com/blog/2018/12/18/hhvm-3.30.1.html","refsource":"MISC","url":"https://hhvm.com/blog/2018/12/18/hhvm-3.30.1.html"},{"name":"https://github.com/facebook/hhvm/commit/4bff3bfbe90d10451e4638c2118d1ad1117bb3e3","refsource":"MISC","url":"https://github.com/facebook/hhvm/commit/4bff3bfbe90d10451e4638c2118d1ad1117bb3e3"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://hhvm.com/blog/2018/12/18/hhvm-3.30.1.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/facebook/hhvm/commit/4bff3bfbe90d10451e4638c2118d1ad1117bb3e3","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T06:01:48.705Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.1,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-05-06T18:59:29.098252Z","id":"CVE-2018-6340","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-06T19:00:01.711Z"}}]}}}