Vulnerability · Published Oct 7, 2026 · Assigned by redhat
CVE-2026-107161Cyrus-sasl: heap buffer overflow in cyrus-sasl add_to_challenge() allows malicious server to crash or compromise digest-md5 clients
High 7.5
In plain English
A high-severity heap buffer overflow in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | cyrus-sasl2 | 2.1.28+dfsg-10+deb12u1 | DEBIAN-CVE-2026-107161 |
| Debian:13 | cyrus-sasl2 | no fix listed | DEBIAN-CVE-2026-107161 |
| Debian:14 | cyrus-sasl2 | 2.1.28+dfsg1-12 | DEBIAN-CVE-2026-107161 |
| Ubuntu:22.04:LTS | cyrus-sasl2 | no fix listed | UBUNTU-CVE-2026-107161 |
| Ubuntu:24.04:LTS | cyrus-sasl2 | no fix listed | UBUNTU-CVE-2026-107161 |
| Ubuntu:26.04:LTS | cyrus-sasl2 | no fix listed | UBUNTU-CVE-2026-107161 |
| Ubuntu:26.10 | cyrus-sasl2 | no fix listed | UBUNTU-CVE-2026-107161 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Hardened Images | see references |
| Red Hat | Red Hat OpenShift Container Platform 4 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4 | see references |
| Red Hat | Red Hat OpenShift Container Platform 5 | see references |
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://access.redhat.com/security/cve/CVE-2026-107161 vdb-entry, x_refsource_REDHAT
- RHBZ#2460420 issue-tracking, x_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2026/10/09/20
- https://lists.debian.org/debian-lts-announce/2026/10/msg00064.html