# CVE-2026-107161: Memory corruption in Red Hat Enterprise Linux 10

> A malicious server can trigger a heap buffer overflow in Cyrus SASL clients, causing crashes or potential code execution via crafted DIGEST-MD5 challenges.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 7 Oct 2026
- **Updated:** 10 Oct 2026
- **Also known as:** AZL-107297, AZL-107300, BELL-CVE-2026-107161, CLSA-2026-1792928909, DEBIAN-CVE-2026-107161, ECHO-9b5e-af86-3789, GHSA-4jhc-cc62-fwcm, OESA-2026-4300, OESA-2026-4301, OESA-2026-4302, OESA-2026-4303, ROOT-OS-DEBIAN-12-CVE-2026-107161, ROOT-OS-DEBIAN-13-CVE-2026-107161, SUSE-SU-2026:24266-1, SUSE-SU-2026:24380-1, SUSE-SU-2026:4795-1, SUSE-SU-2026:4802-1, SUSE-SU-2026:4817-1, SUSE-SU-2026:4836-1, UBUNTU-CVE-2026-107161, openSUSE-SU-2026:12099-1, openSUSE-SU-2026:22146-1

## What is CVE-2026-107161?

CVE-2026-107161 is a high-severity memory corruption vulnerability in Red Hat Enterprise Linux 10, published on 7 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official 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.

Weakness: CWE-122 (Heap-based Buffer Overflow)

## Which versions are affected by CVE-2026-107161?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `cyrus-sasl` | SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 2.1.27-150300.4.9.1 |
| `cyrus-sasl-bdb` | SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 2.1.27-150300.4.9.1 |
| `cyrus-sasl-saslauthd` | SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 2.1.27-150300.4.9.1 |
| `cyrus-sasl-saslauthd-bdb` | SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 2.1.27-150300.4.9.1 |
| `cyrus-sasl` | SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 2.1.27-150300.4.9.1 |
| `cyrus-sasl-bdb` | SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 2.1.27-150300.4.9.1 |
| `cyrus-sasl-saslauthd` | SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 2.1.27-150300.4.9.1 |
| `cyrus-sasl-saslauthd-bdb` | SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 2.1.27-150300.4.9.1 |
| `cyrus-sasl` | SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 2.1.28-150500.3.12.1 |
| `cyrus-sasl-bdb` | SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 2.1.28-150500.3.12.1 |
| `cyrus-sasl-saslauthd` | SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 2.1.28-150500.3.12.1 |
| `cyrus-sasl` | SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 2.1.28-150500.3.12.1 |
| `cyrus-sasl-bdb` | SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 2.1.28-150500.3.12.1 |
| `cyrus-sasl-saslauthd` | SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 2.1.28-150500.3.12.1 |
| `cyrus-sasl` | SUSE:Linux Enterprise Micro 5.3 | All versions | 2.1.27-150300.4.9.1 |
| `cyrus-sasl` | SUSE:Linux Enterprise Micro 5.4 | All versions | 2.1.27-150300.4.9.1 |
| `cyrus-sasl` | SUSE:Linux Enterprise Micro 5.5 | All versions | 2.1.28-150500.3.12.1 |
| `cyrus-sasl` | SUSE:Linux Enterprise Module for Basesystem 15 SP7 | All versions | 2.1.28-150600.7.17.1 |
| `cyrus-sasl-saslauthd` | SUSE:Linux Enterprise Module for Basesystem 15 SP7 | All versions | 2.1.28-150600.7.17.1 |
| `cyrus-sasl-bdb` | SUSE:Linux Enterprise Module for Legacy 15 SP7 | All versions | 2.1.28-150600.7.17.1 |
| `cyrus-sasl-saslauthd-bdb` | SUSE:Linux Enterprise Module for Legacy 15 SP7 | All versions | 2.1.28-150600.7.17.1 |
| `cyrus-sasl-bdb` | SUSE:Linux Enterprise Module for Server Applications 15 SP7 | All versions | 2.1.28-150600.7.17.1 |
| `cyrus-sasl-saslauthd` | SUSE:Linux Enterprise Module for Server Applications 15 SP7 | All versions | 2.1.28-150600.7.17.1 |
| `cyrus-sasl` | SUSE:Linux Enterprise Server 12 SP5-LTSS | All versions | 2.1.26-14.10.1 |
| `cyrus-sasl-saslauthd` | SUSE:Linux Enterprise Server 12 SP5-LTSS | All versions | 2.1.26-14.10.1 |
| `cyrus-sasl` | SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 2.1.27-150300.4.9.1 |
| `cyrus-sasl-bdb` | SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 2.1.27-150300.4.9.1 |
| `cyrus-sasl-saslauthd` | SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 2.1.27-150300.4.9.1 |
| `cyrus-sasl-saslauthd-bdb` | SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 2.1.27-150300.4.9.1 |
| `cyrus-sasl` | SUSE:Linux Enterprise Server 15 SP5-LTSS | All versions | 2.1.28-150500.3.12.1 |
| `cyrus-sasl-bdb` | SUSE:Linux Enterprise Server 15 SP5-LTSS | All versions | 2.1.28-150500.3.12.1 |
| `cyrus-sasl-saslauthd` | SUSE:Linux Enterprise Server 15 SP5-LTSS | All versions | 2.1.28-150500.3.12.1 |
| `cyrus-sasl-saslauthd-bdb` | SUSE:Linux Enterprise Server 15 SP5-LTSS | All versions | 2.1.28-150500.3.12.1 |
| `cyrus-sasl` | SUSE:Linux Enterprise Server 15 SP6-LTSS | All versions | 2.1.28-150600.7.17.1 |
| `cyrus-sasl-bdb` | SUSE:Linux Enterprise Server 15 SP6-LTSS | All versions | 2.1.28-150600.7.17.1 |
| `cyrus-sasl-saslauthd` | SUSE:Linux Enterprise Server 15 SP6-LTSS | All versions | 2.1.28-150600.7.17.1 |
| `cyrus-sasl-saslauthd-bdb` | SUSE:Linux Enterprise Server 15 SP6-LTSS | All versions | 2.1.28-150600.7.17.1 |
| `cyrus-sasl` | SUSE:Linux Enterprise Server 16.0 | All versions | 2.1.28-160000.4.1 |
| `cyrus-sasl-saslauthd` | SUSE:Linux Enterprise Server 16.0 | All versions | 2.1.28-160000.4.1 |
| `cyrus-sasl` | SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 2.1.26-14.10.1 |

## How do I fix CVE-2026-107161?

Apply the vendor's patch.

## Is CVE-2026-107161 being exploited?

There is no known exploitation of CVE-2026-107161 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-107161 and fix it if it is affected.

What it is: CVE-2026-107161 is a high-severity memory corruption vulnerability in Red Hat Enterprise Linux 10, published on 7 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2026-107161 in the wild and no public exploit code.

Affected product: Red Hat Enterprise Linux 10. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-107161/ (Markdown: https://insights.sbomify.com/CVE-2026-107161/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-107161
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-107161
- OSV: https://osv.dev/vulnerability/CVE-2026-107161

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-107161/
Summaries are generated and may contain mistakes; the official description above is the record.
