p PatchFirst

CVE-2026-107161

CVE-2026-107161 · Cyrus-sasl: heap buffer overflow in cyrus-sasl add_to_challenge() allows malicious server to crash or compromise digest-md5 clients

CVSS 7.5 · High · EPSS 0.4% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • DLA-4871-1 · Debian 12 ·
  • SUSE-SU-2026:24380-1 · SUSE Linux Micro 6.1 ·
  • SUSE-SU-2026:4836-1 · SUSE Linux Enterprise Module for Basesystem 15 SP7, SUSE Linux Enterprise Module for Legacy 15 SP7, SUSE Linux Enterprise Module for Server Applications 15 SP7, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • SUSE-SU-2026:4817-1 · SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Micro 5.5, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP5 ·
  • SUSE-SU-2026:4802-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise Micro 5.3, SUSE Linux Enterprise Micro 5.4, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4 ·
  • SUSE-SU-2026:4795-1 · SUSE Linux Enterprise Server 12 SP5-LTSS, SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
  • SUSE-SU-2026:24266-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • SUSE-SU-2026:24405-1 · SUSE Linux Micro 6.2 ·
  • openSUSE-SU-2026:22146-1 · openSUSE Leap 16.0 ·
  • openSUSE-SU-2026:12099-1 · openSUSE Tumbleweed ·

Stack: system

Affected products and versions

  • red hat enterprise linux 10

    No fix published

  • red hat enterprise linux 6

    No fix published

  • red hat enterprise linux 7

    No fix published

  • red hat enterprise linux 8

    No fix published

  • red hat enterprise linux 9

    No fix published

  • red hat hardened images

    No fix published

  • red hat openshift ai (rhoai)

    No fix published

  • red hat openshift ai (rhoai)

    No fix published

  • red hat openshift container platform 4

    No fix published

  • red hat openshift container platform 5

    No fix published

  • cyrus-sasl2 Debian 12

    Versions
    • 2.1.28+dfsg-10
    Affected ranges
    • ECOSYSTEM: < 2.1.28+dfsg-10+deb12u1

    Update to 2.1.28+dfsg-10+deb12u1

  • cyrus-sasl2 Debian 13

    Versions
    • 2.1.28+dfsg1-10
    • 2.1.28+dfsg1-11
    • 2.1.28+dfsg1-12
    • 2.1.28+dfsg1-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cyrus-sasl2 Debian 14

    Versions
    • 2.1.28+dfsg1-10
    • 2.1.28+dfsg1-11
    • 2.1.28+dfsg1-9
    Affected ranges
    • ECOSYSTEM: < 2.1.28+dfsg1-12

    Update to 2.1.28+dfsg1-12

  • cyrus-sasl2 Ubuntu Pro 14.04 LTS

    Versions
    • 2.1.25.dfsg1-17
    • 2.1.25.dfsg1-17build1
    • 2.1.25.dfsg1-17ubuntu0.1~esm1
    • 2.1.25.dfsg1-17ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cyrus-sasl2 Ubuntu Pro 16.04 LTS

    Versions
    • 2.1.26.dfsg1-14
    • 2.1.26.dfsg1-14build1
    • 2.1.26.dfsg1-14ubuntu0.1
    • 2.1.26.dfsg1-14ubuntu0.2
    • 2.1.26.dfsg1-14ubuntu0.2+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cyrus-sasl2 Ubuntu 18.04 LTS

    Versions
    • 2.1.27~101-g0780600+dfsg-3ubuntu1
    • 2.1.27~101-g0780600+dfsg-3ubuntu2
    • 2.1.27~101-g0780600+dfsg-3ubuntu2.1
    • 2.1.27~101-g0780600+dfsg-3ubuntu2.3
    • 2.1.27~101-g0780600+dfsg-3ubuntu2.4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cyrus-sasl2 Ubuntu 20.04 LTS

    Versions
    • 2.1.27+dfsg-1build3
    • 2.1.27+dfsg-2
    • 2.1.27+dfsg-2ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cyrus-sasl2 Ubuntu 22.04 LTS

    Versions
    • 2.1.27+dfsg-2.1build1
    • 2.1.27+dfsg-2.2
    • 2.1.27+dfsg-2.3
    • 2.1.27+dfsg2-1
    • 2.1.27+dfsg2-2
    • 2.1.27+dfsg2-2build1
    All versions (11)
    • 2.1.27+dfsg2-2ubuntu1
    • 2.1.27+dfsg2-3
    • 2.1.27+dfsg2-3ubuntu1
    • 2.1.27+dfsg2-3ubuntu1.1
    • 2.1.27+dfsg2-3ubuntu1.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cyrus-sasl2 Ubuntu 24.04 LTS

    Versions
    • 2.1.28+dfsg1-3
    • 2.1.28+dfsg1-4
    • 2.1.28+dfsg1-5ubuntu1
    • 2.1.28+dfsg1-5ubuntu2
    • 2.1.28+dfsg1-5ubuntu3
    • 2.1.28+dfsg1-5ubuntu3.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cyrus-sasl2 Ubuntu 26.10

    Versions
    • 2.1.28+dfsg1-9ubuntu3
    • 2.1.28+dfsg1-9ubuntu4
    • 2.1.28+dfsg1-11ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cyrus-sasl2 Ubuntu 26.04 LTS

    Versions
    • 2.1.28+dfsg1-9ubuntu1
    • 2.1.28+dfsg1-9ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →