Skip to content
VulniPulse
High7.5Vendor: MediumRed Hat Linux

CVE-2026-107161: Red Hat Heap buffer overflow in cyrus-sasl add_to_challenge

This Red Hat advisory covers CVE-2026-107161 in Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7.

Open the Red Hat advisory

Key facts

Vendor rating
High, CVSS 7.5
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H · base score 7.5, scored by redhatAttack vector: network. Attack complexity: high. Privileges required: none. User interaction: required. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.
Weakness
  • CWE-122 Heap-based Buffer Overflow
EPSS
0.38% chance of exploitation in the next 30 days (33rd percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
CISA KEV
Not listed (catalogue checked )
Source published
Source revised
Listed by VulniPulse
Record changed

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Red Hat LinuxRed Hat Enterprise Linux

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.

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.

Text from the source record.

How to fix CVE-2026-107161

Vendor guidance

  • 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.

End-of-life dates for Red Hat Enterprise Linux

CVE-2026-107161 in other vendors' advisories

Compare every advisory for CVE-2026-107161

CVE-2026-107161 questions

Is CVE-2026-107161 being exploited?

CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Red Hat advisory does not report exploitation. That is not proof it is unexploited.

How likely is CVE-2026-107161 to be exploited?

FIRST's EPSS model gives it a 0.38% chance of exploitation in the next 30 days (33rd percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.

How serious is CVE-2026-107161?

Red Hat rates it high, CVSS 7.5 out of 10.

All Red Hat Linux advisories

Get an email when Red Hat RHEL & SELinux publishes the next one.

See Red Hat RHEL & SELinux's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).

Alert me about Red Hat RHEL & SELinux