Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2023-46853
Memcached vulnerability analysis and mitigation

Overview

In Memcached versions before 1.6.22, an off-by-one error vulnerability (CVE-2023-46853) was discovered when processing proxy requests in proxy mode. The vulnerability specifically occurs when '\n' is used instead of '\r\n' in request processing (NVD).

Technical details

The vulnerability is classified as an off-by-one error (CWE-193) with a CVSS v3.1 Base Score of 9.8 (CRITICAL), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue stems from parser assumptions about line endings, where some commands worked and others broke in subtle ways when only '\n' was being submitted instead of the expected '\r\n' (GitHub Patch).

Impact

A remote attacker could potentially exploit this vulnerability to cause Memcached to crash, resulting in a denial of service, or possibly execute arbitrary code (Ubuntu Notice).

Exploitability

The vulnerability is remotely exploitable with low attack complexity and requires no privileges or user interaction. The attack vector is network-accessible, making it particularly concerning for exposed Memcached instances (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Memcached version 1.6.22. Users are advised to upgrade to this version or later. For Ubuntu users, specific package updates are available: Ubuntu 23.10 (1.6.21-1ubuntu0.23.10.1), Ubuntu 23.04 (1.6.18-1ubuntu0.1), and Ubuntu 22.04 (1.6.14-1ubuntu0.1) (Ubuntu Notice).

Additional resources


SourceThis report was generated using AI

Related Memcached vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-46853CRITICAL9.8
  • Memcached logoMemcached
  • memcached
NoYesOct 27, 2023
CVE-2026-47784HIGH8.1
  • Memcached logoMemcached
  • memcached-selinux
NoYesMay 20, 2026
CVE-2026-47783HIGH8.1
  • Memcached logoMemcached
  • memcached
NoYesMay 20, 2026
CVE-2026-24809MEDIUM6.9
  • Memcached logoMemcached
  • memcached
NoYesJan 27, 2026
CVE-2026-90698MEDIUM5.5
  • Memcached logoMemcached
  • memcached
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management