ZeroHour

CVE-2026-13608

PoC mass

MITM peer-verification bypass in libcurl SASL negotiation for LDAP authentication

CVSS 3.1
7.4 high
EPSS
<1%p49
Published
()
Modified
AI analysis

libcurl's SASL negotiation used for LDAP authentication can misinterpret an incomplete handshake sequence as a completed, successful cryptographic verification, leaving the peer improperly validated (CWE-923, improper restriction of the communication channel to intended endpoints). An attacker in a Man-in-the-Middle position between the curl client and the LDAP server can inject a premature or shortcut SASL response that ends negotiation early. This bypasses complete peer validation, allowing the attacker to impersonate the LDAP endpoint and intercept or tamper with the authentication exchange, which the CVSS vector reflects as high confidentiality and integrity impact with no availability impact. Any application, tool, or device embedding a libcurl build that connects to LDAP servers with SASL authentication is potentially affected. Exploitation status is currently quiet: there is no known public proof of concept, the flaw is not in CISA's KEV catalog, and EPSS puts 30-day exploitation probability at roughly 0.5% (42nd percentile).

What to do: Update libcurl (and packages linking it, including the curl CLI) to the fixed release named in the upstream curl security advisory once published, as no fixed version is specified in the available data. Until patched, avoid ldap:// URLs with SASL authentication, prefer ldaps:// (TLS-protected) LDAP endpoints, or build curl with LDAP support disabled, and check whether any scheduled jobs, integrations, or appliances in your environment use curl against LDAP servers. Note that successful exploitation requires an attacker-controlled network position between client and LDAP server, so segmenting or egress-filtering LDAP traffic reduces risk.

Affected
curl (curl.se / haxx.se) libcurl (LDAP/SASL code path; curl CLI when linked against affected libcurl)
Estimated exposure
mass~10^9+ libcurl-bearing installs (practical exposure limited to clients actually using LDAP URLs with SASL, plausibly ~10^5-10^6 users/systems) — libcurl ships by default in virtually every Linux distribution and in countless embedded devices, mobile platforms, and applications (the curl project cites billions of installations), but only deployments that issue LDAP URLs with SASL…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A flaw in the libcurl SASL negotiation for LDAP authentication allows an incomplete handshake sequence to be misinterpreted as a successful cryptographic verification. An attacker executing a Man-in-the-Middle (MITM) attack can inject a premature or shortcut response that bypasses complete peer validation.

Vendors
haxx
Products
curl
Weakness
CWE-923
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

In the news

No ingested article mentions this CVE yet.