Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://access.redhat.com/security/cve/CVE-2026-107161
- https://bugzilla.redhat.com/show_bug.cgi?id=2460420
- http://www.openwall.com/lists/oss-security/2026/10/09/20
- https://lists.debian.org/debian-lts-announce/2026/10/msg00064.html
FAQ
What is CVE-2026-107161?
CVE-2026-107161 is a vulnerability with a CVSS score of 7.5 (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-...
How severe is CVE-2026-107161?
CVE-2026-107161 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-107161?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.