CVE-2026-107161 Cyrus-sasl: heap buffer overflow in cyrus-sasl add_to_challenge() allows malicious server to crash or compromise digest-md5 clients
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
19 packages: 2 fixed, 16 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux cyrus-sasl(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| azure linux cyrus-sasl-bootstrap(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| debian/cyrus-sasl2(Debian 13) | = 2.1.28+dfsg1-9; = 2.1.28+dfsg1-10; = 2.1.28+dfsg1-11; = 2.1.28+dfsg1-12 +1 more | No fix listed | No fix yet |
| redhat enterprise linux | All versions | No fix listed | No fix yet |
| redhat hummingbird | All versions | No fix listed | No fix yet |
| redhat openshift ai | All versions | No fix listed | No fix yet |
| redhat rhel els | = 6; All versions | No fix listed | No fix yet |
| redhat/cyrus-sasl(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/cyrus-sasl(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/cyrus-sasl(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/cyrus-sasl(Red Hat hummingbird 1) | All versions | No fix listed | No fix yet |
| redhat/cyrus-sasl(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| ubuntu/cyrus-sasl2(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/cyrus-sasl2(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/cyrus-sasl2(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/cyrus-sasl2(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/cyrus-sasl2(Debian 12) | < 2.1.28+dfsg-10+deb12u1; = 2.1.28+dfsg-10 | 2.1.28+dfsg-10+deb12u1 | Fixed |
| debian/cyrus-sasl2(Debian 14) | < 2.1.28+dfsg1-12; = 2.1.28+dfsg1-9; = 2.1.28+dfsg1-10; = 2.1.28+dfsg1-11 | 2.1.28+dfsg1-12 | Fixed |
| redhat openshift | = 4; = 5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/cyrus-sasl(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/cyrus-sasl(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/cyrus-sasl(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/cyrus-sasl(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/cyrus-sasl(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/cyrus-sasl(Red Hat:hummingbird:1) | All versions | No fix listed |
| redhat/rhoai/odh-core-bff-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kf-notebook-controller-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-agent-ops-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-automl-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-autorag-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-eval-hub-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-maas-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-mlflow-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-notebook-controller-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| debian/cyrus-sasl2(Debian:12) | < 2.1.28+dfsg-10+deb12u1 | 2.1.28+dfsg-10+deb12u1 |
| debian/cyrus-sasl2(Debian:12) | = 2.1.28+dfsg-10 | No fix listed |
| debian/cyrus-sasl2(Debian:13) | All versions | No fix listed |
| debian/cyrus-sasl2(Debian:13) | = 2.1.28+dfsg1-10 | No fix listed |
| debian/cyrus-sasl2(Debian:13) | = 2.1.28+dfsg1-11 | No fix listed |
| debian/cyrus-sasl2(Debian:13) | = 2.1.28+dfsg1-12 | No fix listed |
| debian/cyrus-sasl2(Debian:13) | = 2.1.28+dfsg1-9 | No fix listed |
Show 17 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/cyrus-sasl2(Debian:14) | < 2.1.28+dfsg1-12 | 2.1.28+dfsg1-12 |
| debian/cyrus-sasl2(Debian:14) | = 2.1.28+dfsg1-10 | No fix listed |
| debian/cyrus-sasl2(Debian:14) | = 2.1.28+dfsg1-11 | No fix listed |
| debian/cyrus-sasl2(Debian:14) | = 2.1.28+dfsg1-9 | No fix listed |
| ubuntu/cyrus-sasl2(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/cyrus-sasl2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/cyrus-sasl2(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/cyrus-sasl2(Ubuntu:26.10) | All versions | No fix listed |
| redhat enterprise linux | All versions | No fix listed |
| redhat rhel els | = 6 | No fix listed |
| redhat rhel els | All versions | No fix listed |
| redhat hummingbird | All versions | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| redhat openshift | = 4 | No fix listed |
| redhat openshift | = 5 | No fix listed |
| azure linux cyrus-sasl(Azure Linux:3.0) | All versions | No fix listed |
| azure linux cyrus-sasl-bootstrap(Azure Linux:3.0) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2460420 issue-tracking
- www.openwall.com
- lists.debian.org
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-107161 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-94582 third-party-advisory