CVE-2026-107161
Cyrus-sasl: heap buffer overflow in cyrus-sasl add_to_challenge() allows malicious server to crash or compromise digest-md5 clients
- High 7.5
Description
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.
Key facts
- Published
- 7 Oct 2026
- Last changed
- 6 Nov 2026
- Assigned by
- redhat
- EPSS
- 0.376% likely to be exploited in the next 30 days, higher than 32.089% of CVEs (scores for 17 Nov 2026)
- SSVC (CISA)
- Exploitation: none; Automatable: no; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 7.5CVSS 3.1, Highfrom the CNA (redhat)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
What to do
- If DIGEST-MD5 authentication is not strictly required, remove the optional cyrus-sasl-md5 package to eliminate the vulnerable plugin: # dnf remove cyrus-sasl-md5 Alternatively, configure client applications to disable DIGEST-MD5 and HTTP Digest authentication methods, prioritizing stronger mechanisms such as GSSAPI or SCRAM. Caveat: Removing cyrus-sasl-md5 removes support for both DIGEST-MD5 and CRAM-MD5 mechanisms. Any client or server process depending on these algorithms will fail to negotiate authentication. Active services utilizing SASL may need to be restarted to unload the plugin from memory.CNA workaround statement
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 |
|
| Red Hat | Red Hat Enterprise Linux 6 |
|
| Red Hat | Red Hat Enterprise Linux 7 |
|
| Red Hat | Red Hat Enterprise Linux 8 |
|
| Red Hat | Red Hat Enterprise Linux 9 |
|
| Red Hat | Red Hat Hardened Images |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift AI (RHOAI) |
|
| Red Hat | Red Hat OpenShift Container Platform 4 |
|
| Red Hat | Red Hat OpenShift Container Platform 4 |
|
| Red Hat | Red Hat OpenShift Container Platform 5 |
|
Timeline
- 21 Apr 2026 Reported to Red Hat.
- 7 Oct 2026 Made public.
- 7 Oct 2026 Published