cvelo
P2 · HighCVSS 7.5EPSS 0.4%

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

  • CVE-2026-107161
  • GHSA-4jhc-cc62-fwcm
  • EUVD-2026-94582

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.

Text from the CVE.org record.

Recommendation

Cvelo has no version information for this record. Check the vendor advisory.

Affected

  • Red Hat Red Hat Enterprise Linux 10

    No versions listed

  • Red Hat Red Hat Enterprise Linux 6

    No versions listed

  • Red Hat Red Hat Enterprise Linux 7

    No versions listed

  • Red Hat Red Hat Enterprise Linux 8

    No versions listed

  • Red Hat Red Hat Enterprise Linux 9

    No versions listed

  • Red Hat Red Hat Hardened Images

    No versions listed

  • Red Hat Red Hat OpenShift AI (RHOAI)

    No versions listed

  • Red Hat Red Hat OpenShift Container Platform 4

    No versions listed

  • Red Hat Red Hat OpenShift Container Platform 5

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.