
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-47783 is a timing side-channel vulnerability in memcached's SASL password database authentication that allows unauthenticated remote attackers to enumerate valid usernames. It affects all memcached versions before 1.6.42 and was disclosed on May 20, 2026, with the fix committed on May 18, 2026. The vulnerability carries a CVSS v3.1 base score of 8.1 (High) (Github Advisory, Feedly).
The root cause is classified as CWE-208 (Observable Timing Discrepancy). In sasl_server_userdb_checkpass() within sasl_defs.c, the authentication loop broke out early (break) as soon as a matching username was found in the password file, creating a measurable timing difference between valid and invalid usernames. Additionally, the password comparison used the standard memcmp() function, which returns on the first differing byte, potentially leaking password bytes through timing analysis. The fix removes the early break so the entire file is always scanned, clears the buffer to zero before each fgets() call, and replaces memcmp() with a constant-time safe_memcmp() for both username and password comparisons (Memcached Commit, Github Advisory).
An unauthenticated network attacker can exploit the timing discrepancy to enumerate valid SASL usernames on memcached instances configured with SASL password database authentication. Successful username enumeration reduces the effort required for subsequent credential-stuffing or brute-force attacks against the memcached service, potentially leading to unauthorized access with high confidentiality, integrity, and availability impact. The vulnerability is limited in scope to instances using SASL userdb authentication and does not directly enable code execution or data exfiltration on its own (Github Advisory, Feedly).
Upgrade memcached to version 1.6.42 or later, which replaces the vulnerable memcmp()-based comparisons with constant-time safe_memcmp() and removes the early loop exit in sasl_server_userdb_checkpass() (Memcached Release Notes, Memcached Commit). If immediate patching is not possible, restrict network access to memcached instances using firewall rules so only trusted application servers can connect, and implement rate limiting on authentication attempts. Downstream distributions including SUSE, openSUSE, Amazon Linux 2023, Debian, Ubuntu, and cPanel EasyApache4 have released updated packages (cPanel Advisory, SUSE Advisory).
The vulnerability received coverage from multiple security news outlets including GBHackers, CyberSecurityNews, SecurityOnline, and CyberPress, generally characterizing it as a high-severity flaw enabling remote username enumeration (GBHackers, CyberSecurityNews). The Hacker News weekly recap also mentioned the vulnerability in the context of notable security issues (THN Recap). The memcached maintainer noted in the 1.6.42 release notes that this was a major security-focused release and strongly advised upgrading, while also observing that many submitted security reports in this round overstated severity (Memcached Release Notes). The CVE appeared in Reddit's CVEWatch trending lists for late May 2026, indicating moderate community interest.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."