Summary
It was discovered that the DIGEST-MD5 plugin in Cyrus SASL incorrectly
calculated the size of certain challenge and response fields when quoting
special characters, which could lead to a heap-based buffer overflow. A
malicious server could possibly use this issue to cause client applications
using Cyrus SASL to crash, resulting in a denial of service, or execute
arbitrary code.
Fixed packages 8
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · 22.04 LTS 22.04:LTS | cyrus-sasl2 | 2.1.27+dfsg2-3ubuntu1.3 |
| Ubuntu · 24.04 LTS 24.04:LTS | cyrus-sasl2 | 2.1.28+dfsg1-5ubuntu3.2 |
| Ubuntu · 26.04 LTS 26.04:LTS | cyrus-sasl2 | 2.1.28+dfsg1-9ubuntu3.1 |
| Ubuntu · 26.10 | cyrus-sasl2 | 2.1.28+dfsg1-11ubuntu2.1 |
| Ubuntu · Pro 14.04 LTS Pro:14.04:LTS | cyrus-sasl2 | 2.1.25.dfsg1-17ubuntu0.1~esm3 |
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | cyrus-sasl2 | 2.1.26.dfsg1-14ubuntu0.2+esm2 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | cyrus-sasl2 | 2.1.27~101-g0780600+dfsg-3ubuntu2.4+esm1 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | cyrus-sasl2 | 2.1.27+dfsg-2ubuntu0.1+esm1 |
Vulnerabilities 1
-
High 7.5
Cyrus-sasl: heap buffer overflow in cyrus-sasl add_to_challenge() allows malicious server to crash or compromise digest-md5 clients
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 wh…
References
-
report
https://ubuntu.com/security/CVE-2026-107161