Heap-based Buffer Overflow Affecting cyrus-sasl-plain-debuginfo package, versions <0:2.1.27-18.amzn2023.0.4


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.38% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-CYRUSSASLPLAINDEBUGINFO-21702661
  • published25 Oct 2026
  • disclosed7 Oct 2026

Introduced: 7 Oct 2026

NewCVE-2026-107161  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 cyrus-sasl-plain-debuginfo to version 0:2.1.27-18.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2026-3290.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cyrus-sasl-plain-debuginfo package and not the cyrus-sasl-plain-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1