Cyrus-sasl: heap buffer overflow in cyrus-sasl add_to_challenge() allows malicious server to crash or compromise digest-md5 clients
CVE-2026-107161 is fixed in 27 products on 1 platform, first by DEBIAN-CVE-2026-107161, released October 19, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| cyrus-sasl · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl · opensuse-leap 16.0 | 2.1.28-160000.4.1 | OPENSUSE-SU-2026:22146-1 | Nov 7, 2026 |
| cyrus-sasl · sles 15.6 | 2.1.28-150600.7.17.1 | SUSE-SU-2026:4836-1 | Nov 7, 2026 |
| cyrus-sasl · sles 15.7 | 2.1.28-150600.7.17.1 | SUSE-SU-2026:4836-1 | Nov 7, 2026 |
| cyrus-sasl · sles 16.0 | 2.1.28-160000.4.1 | SUSE-SU-2026:24266-1 | Nov 7, 2026 |
| cyrus-sasl-bdb · opensuse-leap 16.0 | 2.1.28-160000.4.1 | OPENSUSE-SU-2026:22146-1 | Nov 7, 2026 |
| cyrus-sasl-bdb · sles 15.6 | 2.1.28-150600.7.17.1 | SUSE-SU-2026:4836-1 | Nov 7, 2026 |
| cyrus-sasl-bdb · sles 15.7 | 2.1.28-150600.7.17.1 | SUSE-SU-2026:4836-1 | Nov 7, 2026 |
| cyrus-sasl-debuginfo · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-debugsource · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-devel · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-devel-debuginfo · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-gs2 · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-gs2-debuginfo · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-gssapi · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-gssapi-debuginfo · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-ldap · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-ldap-debuginfo · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-lib · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-lib-debuginfo · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-md5 · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-md5-debuginfo · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-ntlm · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-ntlm-debuginfo · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-plain · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-plain-debuginfo · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-saslauthd · opensuse-leap 16.0 | 2.1.28-160000.4.1 | OPENSUSE-SU-2026:22146-1 | Nov 7, 2026 |
| cyrus-sasl-saslauthd · sles 15.6 | 2.1.28-150600.7.17.1 | SUSE-SU-2026:4836-1 | Nov 7, 2026 |
| cyrus-sasl-saslauthd · sles 15.7 | 2.1.28-150600.7.17.1 | SUSE-SU-2026:4836-1 | Nov 7, 2026 |
| cyrus-sasl-saslauthd · sles 16.0 | 2.1.28-160000.4.1 | SUSE-SU-2026:24266-1 | Nov 7, 2026 |
| cyrus-sasl-saslauthd-bdb · opensuse-leap 16.0 | 2.1.28-160000.4.1 | OPENSUSE-SU-2026:22146-1 | Nov 7, 2026 |
| cyrus-sasl-saslauthd-bdb · sles 15.6 | 2.1.28-150600.7.17.1 | SUSE-SU-2026:4836-1 | Nov 7, 2026 |
| cyrus-sasl-saslauthd-bdb · sles 15.7 | 2.1.28-150600.7.17.1 | SUSE-SU-2026:4836-1 | Nov 7, 2026 |
| cyrus-sasl-scram · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-scram-debuginfo · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-sql · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl-sql-debuginfo · amzn 2023 | 2.1.27-18.amzn2023.0.4 | ALAS2023-2026-3290 | Nov 7, 2026 |
| cyrus-sasl2 · Debian 12.15 (bookworm) | 2.1.28+dfsg-10+deb12u1 | DEBIAN-CVE-2026-107161 | Oct 19, 2026 |
| cyrus-sasl2 · Debian 14 | 2.1.28+dfsg1-12 | DEBIAN-CVE-2026-107161 | Oct 19, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.