Vulnerability DatabaseCVE-2026-132138

CVE-2026-132138: 
Cyrus SASL vulnerability analysis and mitigation

Overview

CVE-2026-132138 is a NULL Pointer Dereference vulnerability (CWE-476) in cyrus-sasl's Salted Challenge Response Authentication Mechanism (SCRAM) implementation. A remote, unauthenticated attacker can crash the server process by submitting unexpected channel-binding data during SCRAM authentication, resulting in a Denial of Service (DoS). The vulnerability was published on November 18, 2026, and affects cyrus-sasl as shipped by Red Hat. It carries a CVSS v3.1 base score of 5.3 (Medium) (Red Hat CVE, Github Advisory).

Technical details

The root cause is a missing NULL check in plugins/scram.c within the scram_server_mech_step2 function. When a client sends a SCRAM authentication message with channel-binding data but the server has not registered a channel-binding handler (sparams->cbinding == NULL), the code proceeds to call strcmp(sparams->cbinding->name, ...), dereferencing a NULL pointer and crashing the process. The fix adds an explicit NULL check for sparams->cbinding before the strcmp call, returning SASL_BADPROT and an appropriate error message instead (cyrus-sasl commit). The vulnerability is exploitable without authentication and requires no user interaction, making it trivially automatable (Red Hat CVE).

Impact

Successful exploitation causes the cyrus-sasl server process to crash before authentication proofs are validated, resulting in a Denial of Service. There is no impact on confidentiality or data integrity — arbitrary code execution is not possible through this flaw. In environments using multi-process or prefork connection models (e.g., many mail or LDAP servers), the blast radius is limited to individual worker process crashes rather than a complete service outage, though repeated exploitation could effectively deny service to all clients (Red Hat CVE).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the disclosure date (Red Hat CVE). The vulnerability is rated automatable by NVD SSVC analysis, meaning it can be triggered at scale without user interaction. The EPSS score is 0.0, reflecting a very low probability of exploitation in the near term. The vulnerability has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog. The vulnerability was reported by YangHailong of the Alipay Security Team (Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify services using cyrus-sasl with SCRAM authentication enabled (e.g., IMAP, SMTP, LDAP servers) that are network-accessible. Tools like Nmap with service version detection can identify SASL-capable services advertising SCRAM mechanisms.
  2. Initiate SCRAM authentication: Begin a standard SCRAM authentication handshake with the target service, sending a valid SCRAM client-first message to receive the server's challenge.
  3. Craft malicious client-final message: In the second SCRAM message (client-final), include channel-binding data (e.g., a p=tls-unique channel binding flag with binding data) even though the server has not registered channel-binding support.
  4. Trigger NULL dereference: The server's scram_server_mech_step2 function receives the channel-binding data, finds sparams->cbinding is NULL (no channel binding registered), and dereferences the NULL pointer in strcmp(), causing the worker process to crash.
  5. Result: The server process handling the connection crashes, causing a DoS for that connection. Repeated requests can crash additional worker processes, potentially disrupting service availability (cyrus-sasl commit, Red Hat CVE).

Indicators of compromise

  • Logs: Repeated authentication failures or abrupt connection terminations in service logs (e.g., Postfix, Dovecot, OpenLDAP) coinciding with SCRAM authentication attempts; SASL error messages referencing channel-binding or SASL_BADPROT prior to patching.
  • Process: Unexpected crashes or restarts of worker processes for services using cyrus-sasl (e.g., imapd, smtpd, slapd); core dump files generated in the service working directory.
  • Network: High volume of incomplete or malformed SASL authentication handshakes from a single source IP; connections that terminate abnormally after the second SCRAM message exchange.

Mitigation and workarounds

A patch is available via the upstream cyrus-sasl commit (cyrus-sasl commit); users should apply vendor-provided package updates when released. As a workaround, if SCRAM authentication is not required, remove the SCRAM plugin: dnf remove cyrus-sasl-scram, then restart affected services. Alternatively, restrict network access to SASL-enabled services to trusted IP addresses using firewalld: firewall-cmd --zone=trusted --add-source=<trusted_subnet> --permanent && firewall-cmd --reload. Note that removing the SCRAM plugin will disable SCRAM-SHA-1 and SCRAM-SHA-256 mechanisms, requiring clients to use alternative mechanisms such as GSSAPI or PLAIN over TLS (Red Hat CVE).

Community reactions

Red Hat rated this vulnerability as Moderate impact, noting that while an unauthenticated remote attacker can crash server processes, arbitrary code execution and data compromise are not possible. Red Hat credited YangHailong of the Alipay Security Team for responsible disclosure (Red Hat CVE). No significant broader community or media reactions have been observed at this time.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

cyrus-sasl2

Affected

sid

cyrus-sasl2

Affected

trixie

cyrus-sasl2

Affected

Ubuntu

Unknown

bionic (esm-infra)

cyrus-sasl2

Unknown

devel

cyrus-sasl2

Unknown

focal (esm-infra)

cyrus-sasl2

Unknown

jammy

cyrus-sasl2

Unknown

noble

cyrus-sasl2

Unknown

resolute

cyrus-sasl2

Unknown

trusty (esm-infra-legacy)

cyrus-sasl2

Unknown

xenial (esm-infra-legacy)

cyrus-sasl2

Unknown

RHEL / CentOS

Affected

RHEL 8

cyrus-sasl.src

Affected

RHEL 9

cyrus-sasl.src

Affected

RHEL 10

cyrus-sasl.src

Affected

Source: This report was generated using AI

Related Cyrus SASL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-129483CRITICAL9.3
  • Cyrus SASL logoCyrus SASL
  • cyrus-sasl-ldap
NoYesNov 15, 2026
CVE-2022-24407HIGH8.8
  • NixOS logoNixOS
  • cyrus-sasl-gs2
NoYesFeb 24, 2022
CVE-2026-107161HIGH7.5
  • Cyrus SASL logoCyrus SASL
  • cyrus-sasl-lib
NoYesOct 07, 2026
CVE-2020-8032HIGH7
  • NixOS logoNixOS
  • cyrus-sasl
NoYesFeb 25, 2021
CVE-2026-132138MEDIUM5.3
  • Cyrus SASL logoCyrus SASL
  • cyrus-sasl-lib
NoYesNov 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management