VulnarioBlogMemcached vulnerabilities

Memcached Vulnerabilities: The 10 Most Critical Memcached Security Bugs (CVEs)

Memcached vulnerabilities are security flaws in Memcached that attackers can abuse to steal data, take over a server or interrupt a service. Memcached is a high-performance in-memory caching system. The National Vulnerability Database (NVD) lists 21 CVEs for Memcached, 3 of them rated critical, and 2 were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.

This guide lists the 10 most critical Memcached security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Memcached security basics, the current end-of-life dates and a free way to be told about the next Memcached CVE as soon as it is published.

Key takeaways

  • No Memcached CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
  • 3 Memcached CVEs are rated critical (CVSS v3), and 2 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2026-47783, published May 20, 2026.
  • Supported Memcached releases today (per endoflife.date): 1.6. Releases not on the list are past their announced end of life.
  • You can monitor Memcached for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these Memcached CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical Memcached CVEs at a glance

Most critical Memcached vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2023-468539.8 Critical2023-10-27Critical security flawNo
2CVE-2016-87049.8 Critical2017-01-06Integer overflowNo
3CVE-2016-87059.8 Critical2017-01-06Integer overflowNo
4CVE-2026-477838.1 High2026-05-20Security flawNo
5CVE-2026-477848.1 High2026-05-20Security flawNo
6CVE-2016-87068.1 High2017-01-06Integer overflowNo
7CVE-2023-468527.5 High2023-10-27Buffer overflowNo
8CVE-2020-225707.5 High2023-08-22Command injectionNo
9CVE-2022-485717.5 High2023-08-22Resource exhaustion (DoS)No
10CVE-2020-109317.5 High2020-03-24Buffer overflowNo

Each Memcached CVE explained

1. CVE-2023-46853: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2023-10-27
  • CWE-193
What NVD says
In Memcached before 1.6.22, an off-by-one error exists when processing proxy requests in proxy mode, if \n is used instead of \r\n.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 1.6.22
What to do
Upgrade to 1.6.22 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2023-46853 (opens in a new tab)

2. CVE-2016-8704: Integer overflow

  • CVSS 9.8 Critical
  • Published 2017-01-06
  • CWE-190
What NVD says
An integer overflow in the process_bin_append_prepend function in Memcached, which is responsible for processing multiple commands of Memcached binary protocol, can be abused to cause heap overflow and lead to remote code execution.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
up to and including 1.4.31
What to do
Apply the vendor's security update for your release and restart the service.

NVD record for CVE-2016-8704 (opens in a new tab)

3. CVE-2016-8705: Integer overflow

  • CVSS 9.8 Critical
  • Published 2017-01-06
  • CWE-190
What NVD says
Multiple integer overflows in process_bin_update function in Memcached, which is responsible for processing multiple commands of Memcached binary protocol, can be abused to cause heap overflow and lead to remote code execution.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
up to and including 1.4.31
What to do
Apply the vendor's security update for your release and restart the service.

NVD record for CVE-2016-8705 (opens in a new tab)

4. CVE-2026-47783: Security flaw

  • CVSS 8.1 High
  • Published 2026-05-20
  • CWE-208
What NVD says
In memcached before 1.6.42, username data for SASL password database authentication has a timing side channel because a loop exits as soon as a valid username is found by sasl_server_userdb_checkpass.
How it can be attacked
Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 1.6.42
What to do
Upgrade to 1.6.42 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-47783 (opens in a new tab)

5. CVE-2026-47784: Security flaw

  • CVSS 8.1 High
  • Published 2026-05-20
  • CWE-208
What NVD says
In memcached before 1.6.42, password data for SASL password database authentication has a timing side channel because memcmp is used by sasl_server_userdb_checkpass.
How it can be attacked
Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 1.6.42
What to do
Upgrade to 1.6.42 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-47784 (opens in a new tab)

6. CVE-2016-8706: Integer overflow

  • CVSS 8.1 High
  • Published 2017-01-06
  • CWE-190
What NVD says
An integer overflow in process_bin_sasl_auth function in Memcached, which is responsible for authentication commands of Memcached binary protocol, can be abused to cause heap overflow and lead to remote code execution.
How it can be attacked
Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
up to and including 1.4.31
What to do
Apply the vendor's security update for your release and restart the service.

NVD record for CVE-2016-8706 (opens in a new tab)

7. CVE-2023-46852: Buffer overflow

  • CVSS 7.5 High
  • Published 2023-10-27
  • CWE-120
What NVD says
In Memcached before 1.6.22, a buffer overflow exists when processing multiget requests in proxy mode, if there are many spaces after the "get" substring.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
before 1.6.22
What to do
Upgrade to 1.6.22 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2023-46852 (opens in a new tab)

8. CVE-2020-22570: Command injection

  • CVSS 7.5 High
  • Published 2023-08-22
  • CWE-77
What NVD says
Memcached 1.6.0 before 1.6.3 allows remote attackers to cause a denial of service (daemon crash) via a crafted meta command.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
1.6.0 to before 1.6.3
What to do
Upgrade to 1.6.3 or a later release, then restart the service.

NVD record for CVE-2020-22570 (opens in a new tab)

9. CVE-2022-48571: Resource exhaustion (DoS)

  • CVSS 7.5 High
  • Published 2023-08-22
  • CWE-400
What NVD says
memcached 1.6.7 allows a Denial of Service via multi-packet uploads in UDP.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
1.6.7
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2022-48571 (opens in a new tab)

10. CVE-2020-10931: Buffer overflow

  • CVSS 7.5 High
  • Published 2020-03-24
  • CWE-120
What NVD says
Memcached 1.6.x before 1.6.2 allows remote attackers to cause a denial of service (daemon crash) via a crafted binary protocol header to try_read_command_binary in memcached.c.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
1.6.0 to before 1.6.2
What to do
Upgrade to 1.6.2 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2020-10931 (opens in a new tab)

Memcached end of life: which versions still get security fixes

Running a release that still receives security fixes is the most effective way to avoid Memcached vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Memcached releases are 1.6.

Memcached release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Memcached 1.6Mar 8, 2020Not announced1.6.45Supported
Memcached 1.5Jul 21, 2017Mar 9, 20201.5.22End of life
Memcached 1.4Jul 9, 2009Jul 21, 20171.4.39End of life

Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.

How to check if your Memcached is vulnerable

Find the exact version first, then compare it with the affected and fixed versions in each CVE above.

memcached -h | head -1

On Linux, Debian, Ubuntu and RHEL-based distributions often backport security fixes and keep the old version number, so a package that looks old can already be patched. Check your distribution's own security tracker or the package changelog before concluding that a server is exposed.

Memcached security checklist

  1. Bind the service to a private network and require authentication where supported.
  2. Never expose the cache port to the internet.
  3. Apply security releases after testing.
  4. Limit who can run administrative commands.
  5. Monitor for unusual connections.

Where you run Memcached matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating Memcached: on most plans the operating system and applications are yours to patch unless the plan says otherwise.

Your stack is bigger than Memcached. A flaw anywhere in the chain can be the way in, so also review our guides to Redis vulnerabilities, PHP vulnerabilities and Varnish vulnerabilities.

How to get alerted about new Memcached vulnerabilities

NVD received 2 new Memcached CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Memcached and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run Memcached alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about Memcached vulnerabilities

What are the most critical Memcached vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Memcached CVEs include CVE-2023-46853 (CVSS 9.8), CVE-2016-8704 (CVSS 9.8), CVE-2016-8705 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.

Have Memcached vulnerabilities been exploited in real attacks?

For the Memcached product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep Memcached patched.

How many vulnerabilities does Memcached have?

As of Nov 3, 2026 the National Vulnerability Database lists 21 CVEs for Memcached, with 3 rated critical by CVSS v3. 2 were published in the previous twelve months.

Which Memcached versions are still supported?

As of Nov 3, 2026, endoflife.date lists these Memcached releases as supported: 1.6. Releases that are not listed are past their announced end of life.

How do I check which Memcached version I run?

Run memcached -h | head -1 on the server and compare the result with the fixed versions in each CVE. On Debian, Ubuntu and RHEL-based systems, fixes are often backported without changing the version number, so also check your distribution's security tracker.

How can I get alerted when a new Memcached CVE is published?

Add Memcached to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Memcached and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is Memcached secure?

Memcached is as secure as its patch level. NVD published 2 new Memcached CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2023-46853?

CVE-2023-46853 is a critical Memcached vulnerability with a CVSS score of 9.8, published Oct 27, 2023. In Memcached before 1.6.22, an off-by-one error exists when processing proxy requests in proxy mode, if \n is used instead of \r\n.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.