cve.bz

CVE-2026-107161 Heap-based Buffer Overflow

7.5 highEPSS 0.4%

High (7.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-107161 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-107161?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-107161?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-107161 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12cyrus-sasl22.1.28+dfsg-10+deb12u1DEBIAN-CVE-2026-107161
Debian13cyrus-sasl2no fix listedDEBIAN-CVE-2026-107161
Debian14cyrus-sasl22.1.28+dfsg1-12DEBIAN-CVE-2026-107161
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 5 morecyrus-sasl2no fix listedUBUNTU-CVE-2026-107161
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morecyrus-sasl, cyrus-sasl-bdb, cyrus-sasl-saslauthd and 1 more2.1.27-150300.4.9.1SUSE-SU-2026:4802-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSScyrus-sasl, cyrus-sasl-bdb, cyrus-sasl-saslauthd2.1.28-150500.3.12.1SUSE-SU-2026:4817-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4cyrus-sasl2.1.27-150300.4.9.1SUSE-SU-2026:4802-1
SUSELinux Enterprise Micro 5.5cyrus-sasl2.1.28-150500.3.12.1SUSE-SU-2026:4817-1
SUSELinux Enterprise Module for Basesystem 15 SP7cyrus-sasl, cyrus-sasl-saslauthd2.1.28-150600.7.17.1SUSE-SU-2026:4836-1
SUSELinux Enterprise Module for Legacy 15 SP7cyrus-sasl-bdb, cyrus-sasl-saslauthd-bdb2.1.28-150600.7.17.1SUSE-SU-2026:4836-1
SUSELinux Enterprise Module for Server Applications 15 SP7cyrus-sasl-bdb, cyrus-sasl-saslauthd2.1.28-150600.7.17.1SUSE-SU-2026:4836-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5cyrus-sasl, cyrus-sasl-saslauthd2.1.26-14.10.1SUSE-SU-2026:4795-1
SUSELinux Enterprise Server 15 SP5-LTSS, Linux Enterprise Server for SAP Applications 15 SP5cyrus-sasl, cyrus-sasl-bdb, cyrus-sasl-saslauthd and 1 more2.1.28-150500.3.12.1SUSE-SU-2026:4817-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6cyrus-sasl, cyrus-sasl-bdb, cyrus-sasl-saslauthd and 1 more2.1.28-150600.7.17.1SUSE-SU-2026:4836-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cyrus-sasl, cyrus-sasl-saslauthd2.1.28-160000.4.1SUSE-SU-2026:24266-1
SUSELinux Micro 6.1cyrus-sasl2.1.28-slfo.1.1_2.1SUSE-SU-2026:24380-1
1 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 16.0cyrus-sasl, cyrus-sasl-bdb, cyrus-sasl-saslauthd and 1 more2.1.28-160000.4.1openSUSE-SU-2026:22146-1
openSUSETumbleweedcyrus-sasl2.1.28-13.1openSUSE-SU-2026:12099-1
Azure Linux3cyrus-saslno fix listedAZL-107297
Azure Linux3cyrus-sasl-bootstrapno fix listedAZL-107300
Alpaquita23cyrus-sasl2.1.28-r4BELL-CVE-2026-107161
Alpaquita25cyrus-sasl2.1.28-r10BELL-CVE-2026-107161
Alpaquitastreamcyrus-sasl2.1.28-r11BELL-CVE-2026-107161

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The DIGEST-MD5 SASL mechanism affected by this flaw was declared Historic by RFC 6331 and has since been removed entirely from the current Cyrus SASL upstream codebase. It remains present in released versions shipped by Red Hat. Exploitation requires a client to authenticate using DIGEST-MD5 (or HTTP Digest, which shares the same code path) against a malicious or on-path server. The directly demonstrated impact is a client-side crash (denial of service); code execution has not been demonstrated and would depend on allocator state and heap layout. Given the deprecated status of the affected mechanism, the need for a malicious or on-path server, and that only a denial-of-service impact has been demonstrated, this flaw is rated Moderate rather than Important.

Red Hat's mitigation

If DIGEST-MD5 authentication is not strictly required, remove the optional cyrus-sasl-md5 package to eliminate the vulnerable plugin:

# dnf remove cyrus-sasl-md5

Alternatively, configure client applications to disable DIGEST-MD5 and HTTP Digest authentication methods, prioritizing stronger mechanisms such as GSSAPI or SCRAM.

Caveat: Removing cyrus-sasl-md5 removes support for both DIGEST-MD5 and CRAM-MD5 mechanisms. Any client or server process depending on these algorithms will fail to negotiate authentication. Active services utilizing SASL may need to be restarted to unload the plugin from memory.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10cyrus-saslAffected
Red Hat Enterprise Linux 6cyrus-saslOut of support scope
Red Hat Enterprise Linux 7cyrus-saslAffected
Red Hat Enterprise Linux 8cyrus-saslAffected
Red Hat Enterprise Linux 9cyrus-saslAffected
Red Hat Hardened Imagescyrus-saslAffected
Red Hat OpenShift AI (RHOAI)rhoai/odh-ai-gateway-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-core-bff-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-data-science-pipelines-operator-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kf-notebook-controller-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-llmisvc-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-module-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kuberay-operator-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kube-rbac-proxy-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-llama-stack-k8s-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-maas-controller-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-operator-rhel9Not affected
21 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-107161.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON