---
title: "CVE-2026-107161"
canonical_url: "https://pkgseek.com/security/CVE-2026-107161"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-107161

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…

CVE-2026-107161 严重级别为 HIGH (7.5)，共索引 27 条受影响软件包构建记录，涉及 2 个发行版。

- **级别 / 评分**: HIGH (7.5)
- **受影响构建数**: 27
- **涉及发行版**: 2
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | cyrus-sasl2-doc | 2.1.28+dfsg1-9 | — |
| Debian | trixie | libsasl2-2 | 2.1.28+dfsg1-9 | — |
| Debian | trixie | libsasl2-dev | 2.1.28+dfsg1-9 | — |
| Debian | trixie | libsasl2-modules | 2.1.28+dfsg1-9 | — |
| Debian | trixie | libsasl2-modules-db | 2.1.28+dfsg1-9 | — |
| Debian | trixie | libsasl2-modules-gssapi-heimdal | 2.1.28+dfsg1-9 | — |
| Debian | trixie | libsasl2-modules-gssapi-mit | 2.1.28+dfsg1-9 | — |
| Debian | trixie | libsasl2-modules-ldap | 2.1.28+dfsg1-9 | — |
| Debian | trixie | libsasl2-modules-otp | 2.1.28+dfsg1-9 | — |
| Debian | trixie | libsasl2-modules-sql | 2.1.28+dfsg1-9 | — |
| Debian | trixie | sasl2-bin | 2.1.28+dfsg1-9 | — |
| Ubuntu | jammy | cyrus-sasl2-doc | 2.1.27+dfsg2-3ubuntu1 | — |
| Ubuntu | jammy | libsasl2-2 | 2.1.27+dfsg2-3ubuntu1 | — |
| Ubuntu | jammy | libsasl2-dev | 2.1.27+dfsg2-3ubuntu1 | — |
| Ubuntu | jammy | libsasl2-modules | 2.1.27+dfsg2-3ubuntu1 | — |
| Ubuntu | jammy | libsasl2-modules-db | 2.1.27+dfsg2-3ubuntu1 | — |
| Ubuntu | jammy | libsasl2-modules-gssapi-mit | 2.1.27+dfsg2-3ubuntu1 | — |
| Ubuntu | jammy | libsasl2-modules-sql | 2.1.27+dfsg2-3ubuntu1 | — |
| Ubuntu | jammy | sasl2-bin | 2.1.27+dfsg2-3ubuntu1 | — |
| Ubuntu | noble | cyrus-sasl2-doc | 2.1.28+dfsg1-5ubuntu3 | — |
| Ubuntu | noble | libsasl2-2 | 2.1.28+dfsg1-5ubuntu3 | — |
| Ubuntu | noble | libsasl2-dev | 2.1.28+dfsg1-5ubuntu3 | — |
| Ubuntu | noble | libsasl2-modules | 2.1.28+dfsg1-5ubuntu3 | — |
| Ubuntu | noble | libsasl2-modules-db | 2.1.28+dfsg1-5ubuntu3 | — |
| Ubuntu | noble | libsasl2-modules-gssapi-mit | 2.1.28+dfsg1-5ubuntu3 | — |
| Ubuntu | noble | libsasl2-modules-sql | 2.1.28+dfsg1-5ubuntu3 | — |
| Ubuntu | noble | sasl2-bin | 2.1.28+dfsg1-5ubuntu3 | — |
