Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure client to malicious/on-path DIGEST-MD5 server
-
DeliverySend crafted challenge with special-char realm/nonce
-
ExploitQuoting expands value past buffer size
-
Executionstrcat heap out-of-bounds write
-
ImpactCrash client application
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to be acting as a CLIENT that uses the Cyrus SASL DIGEST-MD5 SASL mechanism (or HTTP Digest) and to initiate an authentication handshake against a server the attacker controls or can intercept on-path. The specific trigger is a crafted challenge field (realm or nonce) containing special characters that grow longer once DIGEST-MD5 quoting/escaping is applied, defeating the buffer size computed before quoting. Limiting factors that reduce real-world risk: the client must actually use the legacy DIGEST-MD5 (or HTTP Digest) mechanism rather than a modern SASL mechanism; the attacker must own or MITM the server endpoint (not merely send unsolicited traffic); and the client must initiate the connection (UI:R), yielding high attack complexity. |
| Impact | This is a client-side denial-of-service risk rather than a server-side, widely-automatable threat. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R) correctly captures the core constraints: exploitation is network-reachable and needs no attacker credentials, but it requires high attack complexity (the attacker must control the server the client connects to, or hold an on-path/MITM position) and user/client interaction (the victim client must initiate a DIGEST-MD5 or HTTP Digest authentication handshake). The input C:H/I:H/A:H impact rating overstates the realistic outcome: the description explicitly says the heap out-of-bounds write most likely results in a crash of the client application, pointing to an availability impact; code execution from the attacker-controlled heap write is theoretically conceivable for a CWE-122 flaw but is not demonstrated here, so the confidentiality and integrity ratings should be treated as unverified worst-case assumptions, not confirmed capabilities. No EPSS score, no CISA KEV listing, and no public exploit were provided in the input, so there is no public exploit identified at time of analysis and no evidence of active or widespread exploitation. Net: a genuine bug worth patching on client/library update cycles, but the AC:H plus UI:R plus legacy-mechanism (DIGEST-MD5) combination makes it far lower real-world priority than its 7.5 base score suggests. |
| Exploit ScenarioDerived | A user runs a Cyrus SASL client application (for example a mail or LDAP client, or an HTTP Digest client) that authenticates using the DIGEST-MD5 mechanism against an attacker-controlled or on-path server. The malicious server returns a challenge whose realm or nonce field contains special characters that expand when DIGEST-MD5 quoting/escaping is applied, overflowing the under-sized heap buffer in add_to_challenge() via strcat() and most likely crashing the client. No public exploit code was provided in the input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Cyrus SASL clients that use the DIGEST-MD5 authentication mechanism can be crashed by a malicious or on-path server that supplies a crafted challenge field (such as realm or nonce), because the add_to_challenge() function computes a buffer size before DIGEST-MD5 quoting and fails to account for escaping that lengthens the value, resulting in a heap-based out-of-bounds write. This is a client-side denial-of-service flaw affecting Red Hat Enterprise Linux 6 through 10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4; the assessed CVSS vector is AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H, meaning unauthenticated remote attackers must control or intercept the server endpoint and the victim must initiate authentication. No public exploit code or confirmed active exploitation is identified at time of analysis.
RemediationAI
No vendor-released patch is identified in the provided data; check the Red Hat CVE page (https://access.redhat.com/security/cve/CVE-2026-107161) and Bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=2460420) for updated packages. The most effective mitigation is to disable the DIGEST-MD5 mechanism on clients where it is not required-for Cyrus SASL, set mech_list in the relevant configuration (e.g., /etc/sasl2/*.conf) to exclude DIGEST-MD5 and use modern mechanisms such as SCRAM-SHA-256. This removes the vulnerable code path entirely, but will break authentication against servers that only offer DIGEST-MD5. For HTTP Digest, avoid configuring clients to use Digest authentication. As a secondary measure, restrict clients to connecting only to trusted servers and enforce TLS to prevent on-path attackers from injecting malicious challenges; this does not protect against a malicious server the client intentionally connects to. Apply vendor updates as soon as they become available.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cyrus SASL's DIGEST-MD5 plugin implements the legacy DIGEST-MD5 SASL mechanism, and its add_to_challenge() function builds challenge/response strings for the authentication exchange. The root cause is CWE-122 (heap-based buffer overflow): the function calculates the required buffer size before applying DIGEST-MD5 quoting, which escapes special characters such as backslash and double quote by prefixing them with a backslash, thereby increasing string length. Since the size is not recomputed, the subsequent strcat() writes past the end of the undersized heap buffer. An attacker who controls or intercepts a DIGEST-MD5 server (or HTTP Digest server) can trigger the overflow by returning a challenge field that expands when quoted. The client must be using the vulnerable mechanism rather than a modern SASL mechanism, and must initiate the handshake. The provided CPEs map the affected Red Hat products: cpe:2.3:a:red_hat:red_hat_enterprise_linux_10, 6, 7, 8, 9, red_hat_hardened_images, and red_hat_openshift_container_platform_4. The assessed impact is primarily availability (crash) with no confidentiality impact and low integrity impact, consistent with the assessed CVSS vector.
Know when Cyrus Sasl gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Attacker must control/MITM the server and client must connect using DIGEST-MD5, so AC:H and UI:R; impact is a client crash (A:H) with possible limited heap corruption (I:L) and no data disclosure (C:N).
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A heap-based buffer overflow flaw was found in Cyrus SASL. The add_to_challenge() function in the DIGEST-MD5 plugin computes the size of the buffer needed for a challenge/response field before DIGEST-MD5 quoting is applied, but does not recompute that size when quoting (escaping special characters) makes the value longer. The under-sized buffer is then passed to strcat(), causing a heap-based out-of-bounds write whose size depends on attacker-controlled input. A malicious or on-path DIGEST-MD5 (or HTTP Digest) server can trigger this flaw in a connecting client by supplying a crafted challenge field, such as realm or nonce, most likely resulting in a crash of the client application.
Executive ViewAI
A memory-corruption flaw in the Cyrus SASL client library shipped across Red Hat Enterprise Linux 6 through 10, Red Hat Hardened Images, and OpenShift Container Platform 4 can crash client applications that negotiate DIGEST-MD5 authentication against a malicious or attacker-controlled server endpoint. Leadership should care because this is a third-party dependency embedded in many internal and customer-facing Linux workloads, and no vendor patch is currently available, so remediation depends on configuration changes rather than routine patching. Exposure is constrained by the requirement that an attacker already control or intercept the server side of the connection while a user initiates authentication, meaning remote exploitation from the public internet is unlikely and the primary risk is service disruption within trusted network paths.
No vendor-released patch identified at time of analysis. Interim mitigations: remove DIGEST-MD5 from the client-side SASL mechanism allowlist (e.g., 'mech_list') and require SCRAM, GSSAPI, or other unaffected mechanisms; enforce strict TLS certificate validation and pin or restrict trusted authentication servers to prevent an on-path or spoofed server from supplying a crafted challenge; avoid connecting SASL clients to untrusted or unverified authentication endpoints; and monitor for repeated client crashes during authentication as an early indicator of attempted exploitation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Affected Products (CPE)CVE.org
More in Cyrus Sasl
View allcyrus-sasl (aka Cyrus SASL) 2.1.27 has an out-of-bounds write leading to unauthenticated remote denial-of-service in Ope
In Cyrus SASL 2.1.17 through 2.1.27 before 2.1.28, plugins/sql.c does not escape the password for a SQL INSERT or UPDATE
Cyrus SASL 2.1.23, 2.1.26, and earlier does not properly handle when a NULL value is returned upon an error by the crypt
EUVD-2026-94582
GHSA-4jhc-cc62-fwcm
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB