Skip to main content

curl EUVDEUVD-2026-41506

| CVE-2026-8925 CRITICAL
Double Free (CWE-415)
Critical
Disputed · 9.8 Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure client to malicious SASL server
  2. Delivery
    Initiate SMTP/IMAP SASL auth
  3. Exploit
    Server steers GSASL cleanup path
  4. Execution
    Trigger double-free of context
  5. Impact
    Corrupt heap / crash client

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
Exploitation Conditions

Exploitation requires curl/libcurl to be compiled with GSASL support and to be driven through a SASL authentication exchange (e.g. SMTP/IMAP/POP3 login) against a server that can steer the handshake into the double cleanup - realistically an attacker-controlled or attacker-influenced server. Limiting factors: builds without libgsasl are entirely unaffected; the client must initiate a SASL-authenticated session, so purely passive or non-SASL usage does not reach the code path; and reliable code execution (versus a crash) further depends on heap layout and allocator hardening. The CVSS vector's AC:L/PR:N/UI:N does not reflect the GSASL-build and attacker-server prerequisites - treat the practical preconditions as more restrictive than the vector implies.

Impact

The signals conflict sharply. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H, score 9.8) implies trivially remote, unauthenticated full compromise, but the description points to a client-side double-free reachable only when curl is (a) built with GSASL and (b) driven through a SASL authentication exchange - typically against a server the attacker controls. That is far narrower than 'network, low complexity, no interaction' suggests. EPSS is low (0.25%), the vulnerability is not on CISA KEV, and no POC is referenced, indicating no widespread or observed exploitation. The provided 'Information Disclosure' tag is inconsistent with a double-free primitive (which is a memory-corruption/availability issue, not primarily an info-leak) and should be treated with skepticism. Net: real bug worth patching given curl's ubiquity, but the practical risk is materially lower than the 9.8 headline - exploitation is conditional on a specific build option and an attacker-influenced auth flow, and realistic impact is more likely denial of service than reliable code execution. Verify the true attack complexity and impact with the curl advisory before treating as a drop-everything network RCE.

Exploit ScenarioDerived

An application uses libcurl (built with GSASL) to fetch mail from or authenticate to a server the attacker controls or can redirect to. During the SASL authentication exchange, the server responds in a way that drives curl through the flawed cleanup path, freeing the GSASL context twice and corrupting the heap - crashing the client or, under favorable allocator conditions, enabling further memory-corruption exploitation. No public exploit code is identified at this time, and success depends on the GSASL build option and the specific SASL flow.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jul 06, 2026

Memory-safety defect (double-free) in curl's SASL authentication path affects versions 8.15.0 through 8.20.0 when built with GSASL support: the GSASL context is cleaned up twice without the intervening pointer being cleared, causing the same allocation to be free()'d twice. A malicious or malfunctioning mail/auth server exercising the SASL handshake could trigger the condition, potentially corrupting heap memory and at minimum crashing the client. No public exploit identified at time of analysis, and the EPSS score is low (0.25%, 16th percentile) despite the headline CVSS of 9.8.

Earlier versions of this analysis (2)
v2 Jul 06, 2026 - 18:34 cvss changed CVSS 9.8

Double-free memory corruption in curl/libcurl's SASL authentication handling affects builds compiled with GSASL support across versions 8.15.0 through 8.20.0. The GSASL context can be cleaned up twice without the intervening pointer being nulled, causing the same allocation to be passed to free() twice, which can crash the client or potentially be leveraged for more serious memory corruption. EPSS is low (0.25%, 16th percentile) and no public exploit has been identified; despite the NVD-assigned 9.8, real-world exposure is narrow because it requires the non-default libgsasl build option.

v1 Jun 24, 2026 - 18:29

Double-free memory corruption in curl's SASL authentication handling exposes libcurl-linked applications to potential memory corruption when communicating with a malicious or compromised server. CVE-2026-8925, rated MEDIUM severity by the curl project, affects libcurl through version 8.20.0 and is fixed in the coordinated curl 8.21.0 release on June 24, 2026. No public exploit code or confirmed active exploitation has been identified at time of analysis; however, as part of a batch of 18 CVEs patched simultaneously, operators running affected curl versions should treat this as a priority upgrade given curl's ubiquitous deployment footprint.

RemediationAI

Patch available per vendor advisory: upgrade curl/libcurl to the fixed release published by the curl project - consult https://curl.se/docs/CVE-2026-8925.html for the exact patched version, as a specific fix version is not enumerated in the input and should not be invented. Apply your distribution's update (for Ubuntu, USN-8487-1 at https://ubuntu.com/security/notices/USN-8487-1). As a compensating control until patched, rebuild or deploy a curl configured without GSASL support (--without-gsasl), which removes the vulnerable code path at the cost of losing GSASL-provided SASL mechanisms such as SCRAM; alternatively, avoid using curl/libcurl to authenticate against untrusted SMTP/IMAP/POP3 servers and restrict outbound connections to known-good mail/auth endpoints, accepting the operational limitation that this blocks connections to arbitrary servers. Rebuild any statically-linked applications that bundle libcurl after upgrading.

Affected VersionsENISA

curl 8.19.0 ≤8.19.0
curl 8.15.0 ≤8.15.0
curl 8.16.0 ≤8.16.0
curl 8.17.0 ≤8.17.0
curl 8.18.0 ≤8.18.0
curl 8.20.0 ≤8.20.0

Affected Packages

euvd curl no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

curl uses the SASL framework to negotiate authentication for protocols such as SMTP, IMAP, POP3 and LDAP. When compiled against libgsasl (the GNU SASL library), curl allocates a GSASL context to drive mechanisms like SCRAM. The bug is a classic double-free (CWE-415, not populated in the input): a cleanup routine releases the GSASL context but leaves the dangling pointer in place, and a second cleanup path frees the identical pointer again. Double-frees can corrupt allocator metadata, and depending on heap state and allocator hardening may cause a crash or, in the worst theoretical case, controlled memory corruption. This code path only exists in builds configured with GSASL; curl builds without libgsasl are unaffected.

Know when Curl gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Medium–Critical)
Vendor (CNA) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.3 MEDIUM

Reachable only in GSASL builds via an attacker-controlled SASL server (AC:H); most realistic impact is a crash (A:H) with possible limited corruption (I:L), no direct info leak (C:N).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 8.1 HIGH

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Jul 06, 2026 - 18:34 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 06, 2026 - 18:34 vuln.today
v2 - CVSS changed
CVSS changed
Jul 06, 2026 - 18:22 NVD
9.8 (CRITICAL)

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

A critical memory-safety vulnerability in curl versions 8.15.0-8.20.0 (with GSASL support) could allow malicious or compromised mail/auth servers to trigger heap memory corruption and crash curl clients. No public exploit identified at time of analysis; the 0.2% EPSS score indicates minimal real-world exploitation risk despite the high CVSS severity. Organizations using curl for authentication should prioritize patching this double-free defect to eliminate potential service disruptions.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Ubiquitous
curl/libcurl ships in virtually all Linux distros and countless apps
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Curl

View all
CVE-2021-22901 HIGH POC
8.1 Jun 11

curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when

CVE-2013-0249 HIGH POC
7.5 Mar 08

Stack-based buffer overflow in the Curl_sasl_create_digest_md5_message function in lib/curl_sasl.c in curl and libcurl 7

CVE-2015-3145 HIGH
7.5 Apr 24

The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which

CVE-2022-32206 MEDIUM POC
6.5 Jul 07

curl < 7.84.0 supports "chained" HTTP compression algorithms, meaning that a serverresponse can be compressed multiple t

CVE-2022-32207 CRITICAL POC
9.8 Jul 07

When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the

CVE-2022-43551 HIGH POC
7.5 Dec 23

A vulnerability exists in curl <7.87.0 HSTS check that could be bypassed to trick it to keep using HTTP. Rated high seve

CVE-2022-32221 CRITICAL POC
9.8 Dec 05

When doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data t

CVE-2018-0500 CRITICAL POC
9.8 Jul 11

Curl_smtp_escape_eob in lib/smtp.c in curl 7.54.1 to and including curl 7.60.0 has a heap-based buffer overflow that mig

CVE-2022-32205 MEDIUM POC
4.3 Jul 07

A malicious server can serve excessive amounts of `Set-Cookie:` headers in a HTTP response to curl and curl < 7.84.0 sto

CVE-2025-9086 HIGH POC
7.5 Sep 12

1. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack co

CVE-2023-23914 CRITICAL POC
9.1 Feb 23

A cleartext transmission of sensitive information vulnerability exists in curl <v7.88.0 that could cause HSTS functional

CVE-2023-27534 HIGH POC
8.8 Mar 30

A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be wrongly re

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Not-Affected
SLES15-SP6-CHOST-BYOS Not-Affected
SLES15-SP6-CHOST-BYOS-Aliyun Not-Affected
SLES15-SP6-CHOST-BYOS-Azure Not-Affected
SLES15-SP6-CHOST-BYOS-EC2 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy