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.
Published: 2026-10-07
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

Impact

A heap-based buffer overflow is present in the add_to_challenge() function of the Cyrus SASL DIGEST-MD5 plugin. The function calculates the buffer size for a challenge/response string before escaping special characters but fails to adjust the size afterward. When an attacker supplies a specially crafted challenge value, such as a long realm or nonce, the function writes past the allocated buffer into a concatenation operation, potentially causing a crash or memory corruption. The flaw may lead to denial of service or a crash.

Affected Systems

Version information is not specified in the CVE data, but the vulnerability affects Red Hat Enterprise Linux 6 through 10, Red Hat Hardened Images, Red Hat OpenShift Container Platform 4, and Red Hat Hummingbird 1. All these distributions deploy the Cyrus‑SASL implementation that contains the vulnerable DIGEST-MD5 plugin. Clients and servers running these products that enable DIGEST‑MD5 (or HTTP Digest) authentication are susceptible.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity. The EPSS score is not available, so historical exploitation data cannot be evaluated, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is network‑based: an attacker who can position a malicious or on‑path DIGEST‑MD5 or HTTP Digest server can send a crafted challenge during the SASL authentication phase, which triggers the overflow in the connecting client. Because the memory corruption occurs in user space on the client side, the impact may range from a crash to potential exploitation if the overflow can be manipulated.

Generated by OpenCVE AI on October 7, 2026 at 20:51 UTC.

Remediation

Vendor Workaround

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.


OpenCVE Recommended Actions

  • Update the cyrus-sasl package to a version that incorporates the vendor’s fix
  • If no patch is available, remove the cyrus-sasl-md5 package to eliminate the vulnerable plugin (dnf remove c-sasl-md5)
  • Alternatively configure client applications to disable DIGEST‑MD5 and HTTP Digest authentication, favoring stronger mechanisms such as GSSAPI or SCRAM

Generated by OpenCVE AI on October 7, 2026 at 20:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4871-1 cyrus-sasl2 security update
History

Fri, 30 Oct 2026 22:15:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:5

Fri, 30 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
References

Sat, 10 Oct 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 09 Oct 2026 23:30:00 +0000

Type Values Removed Values Added
References

Fri, 09 Oct 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Cyrusimap
Cyrusimap cyrus-sasl
Redhat hardened Images
Redhat openshift Container Platform
Vendors & Products Cyrusimap
Cyrusimap cyrus-sasl
Redhat hardened Images
Redhat openshift Container Platform

Thu, 08 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 07 Oct 2026 19:45:00 +0000

Type Values Removed Values Added
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.
Title Cyrus-sasl: heap buffer overflow in cyrus-sasl add_to_challenge() allows malicious server to crash or compromise digest-md5 clients
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-122
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Subscriptions

Cyrusimap Cyrus-sasl
Redhat Enterprise Linux Hardened Images Hummingbird Openshift Openshift Container Platform
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-30T22:07:48.836Z

Reserved: 2026-10-07T11:00:41.139Z

Link: CVE-2026-107161

cve-icon Vulnrichment

Updated: 2026-10-30T21:04:34.536Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-07T20:17:10.977

Modified: 2026-10-30T22:16:53.703

Link: CVE-2026-107161

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-07T17:53:01Z

Links: CVE-2026-107161 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T08:14:23Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow