CVE-2018-6340

published 31 Dec 2018 · updated 6 May 2025

The Memcache::getextendedstats function can be used to trigger an out-of-bounds read

8.1HighCVSS 8.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.27.5 and unspecified.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Facebook<3.27.5, =3.27.5, =3.30.1, >=3.30.0 <unspecified3.27.5, unspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2018-6340 severity on Zeptric[![CVE-2018-6340](https://zeptric.io/badge/cve/CVE-2018-6340.svg)](https://zeptric.io/cve/CVE-2018-6340)