Skip to main content

libcurl EUVDEUVD-2026-105318

| CVE-2026-92388 CRITICAL
Use After Free (CWE-416)
Critical
Disputed · 9.1 Vendor
View

Attack ChainAIDerived

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

  1. Access
    Lure libcurl app to malicious FTP server
  2. Delivery
    Fail FTP wildcard LIST operation
  3. Exploit
    Leave write callback/data corrupted
  4. Execution
    Application reuses or duphandle()s handle
  5. Persist
    Trigger use-after-free read or type confusion
  6. Impact
    Corrupt application memory or crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the host application to use libcurl's FTP wildcard matching and perform a wildcard LIST that fails, which leaves the write callback set to the internal listing parser and the write-callback data pointing at the easy handle. Two paths follow: (1) heap use-after-free read when the original handle is cloned via curl_easy_duphandle() and then freed while a transfer runs on the clone; (2) type confusion when the original or cloned handle is reused changing only CURLOPT_WRITEDATA while omitting CURLOPT_WRITEFUNCTION, causing the parser to write server response bytes into the application-supplied write-data pointer. Limiting factors: the application must actually use the FTP wildcard feature (not the common case for most libcurl consumers), the wildcard LIST must fail, and the handle must be reused or duplicated afterward; applications that do not use FTP wildcard LIST transfers are not exposed.

Impact

CVSS 9.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H) rates this critical on the strength of a remote, unauthenticated, low-complexity vector with high integrity and availability impact (a CWE-416 use-after-free plus type confusion in libcurl's FTP wildcard LIST handling). The decision label is act_now and a vendor patch is available. However, the real-world signals temper the raw score: EPSS is only 0.29% (20th percentile), there is no CISA KEV listing, and the only exploit artifact is a HackerOne reference, not confirmed working exploit code. The CVSS AC:L understates reality - exploitation is not a plain unauthenticated request against a default config; it requires that the host application actually use libcurl's FTP wildcard matching, that a wildcard LIST fail, and that the handle then be reused or cloned via curl_easy_duphandle(). This gap between the network/low-complexity CVSS vector and the application-specific trigger chain described in the write-up should be verified against how a given deployment uses libcurl. Net: a genuinely serious memory-corruption flaw in a ubiquitous library warranting prompt patching per the act_now label, but the low EPSS and conditional trigger suggest exposure is concentrated in the subset of applications using FTP wildcard transfers rather than broad, automatable mass exploitation.

Exploit ScenarioDerived

An application built on libcurl uses FTP wildcard matching and connects to a malicious or attacker-influenced FTP server that causes the wildcard LIST to fail, leaving the write callback pointed at the internal listing parser and the callback data at the easy handle. When the application later reuses or duplicates that handle, the attacker-controlled server response bytes drive a heap use-after-free read or a type confusion that writes incoming bytes into the application-supplied write-data pointer. A public PoC reference exists (HackerOne #4022070); it is not verified as working exploit code.

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

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

Alert me

AnalysisAIv2 – Oct 30, 2026

Heap use-after-free and type confusion in libcurl's FTP wildcard LIST handling can crash the host application or corrupt memory when an easy handle is reused or duplicated after a wildcard listing fails. Rated CVSS 9.1 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H) with high integrity and availability impact, exposure is conditional: the application must enable FTP wildcard matching, the wildcard LIST must fail, and the handle must then be reused or passed to curl_easy_duphandle(). No public exploit has been identified at time of analysis (EPSS 0.29%, 20th percentile), while the vuln.today decision label is act_now and a vendor patch is available.

Earlier versions of this analysis (1)
v1 Oct 14, 2026 - 16:24

FTP wildcard downloads in libcurl 7.21.0 through 8.22.0 can misroute transferred file data to the wrong application-supplied write callback, giving limited confidentiality and integrity impact (CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N) to unauthenticated remote attackers. The flaw is only reachable when a consuming application explicitly enables CURLOPT_WILDCARDMATCH with a glob-expanded FTP URL - a non-default option used by a small minority of integrations - and when the client fetches multiple matching files from an FTP server whose responses the attacker can influence or control; a default curl/libcurl build that does not use FTP wildcards is not exposed. The curl project rates this as LOW severity, the fix ships in curl/libcurl 8.23.0, and no public exploit has been identified at time of analysis; no EPSS score, KEV listing, or public proof-of-concept is present in the available data.

RemediationAI

Patch status is patch available from vendor; the provided data does not specify an exact fixed release, so confirm the patched libcurl version in the upstream advisory at https://curl.se/docs/CVE-2026-92388.html and the curl security page at https://curl.se/docs/security.html, then apply the corresponding distribution updates from Red Hat (RHSA-2026:82895, https://access.redhat.com/errata/RHSA-2026:82895) or Ubuntu (USN-8927-1, https://ubuntu.com/security/notices/USN-8927-1) where libcurl is packaged. Because exposure depends on how the host application drives the handle rather than on the network-facing peer alone, the actionable compensating controls are code-level: do not enable FTP wildcard matching (CURLOPT_WILDCARDMATCH) in applications that do not need it, which removes exposure entirely at the cost of losing wildcard listing functionality; and treat any easy handle that has just completed a failed wildcard LIST as poisoned - do not reuse it for further transfers and do not pass it to curl_easy_duphandle(), instead release it with curl_easy_cleanup() and build a fresh handle, at the cost of re-establishing connections, DNS cache and other handle state. Always set CURLOPT_WRITEFUNCTION explicitly alongside CURLOPT_WRITEDATA so a stale internal callback cannot be inherited by a reused or cloned handle. Upgrading to a fixed libcurl removes the flaw; the handle-hygiene measures reduce but do not eliminate exposure.

Affected VersionsENISA

curl 7.66.0 ≤7.66.0
curl 7.33.0 ≤7.33.0
curl 7.53.0 ≤7.53.0
curl 7.55.1 ≤7.55.1
curl 7.21.7 ≤7.21.7
curl 7.34.0 ≤7.34.0
curl 7.72.0 ≤7.72.0
curl 7.71.1 ≤7.71.1
curl 8.0.1 ≤8.0.1
curl 7.65.1 ≤7.65.1
curl 7.41.0 ≤7.41.0
curl 7.69.1 ≤7.69.1
curl 7.86.0 ≤7.86.0
curl 7.25.0 ≤7.25.0
curl 8.15.0 ≤8.15.0
curl 7.78.0 ≤7.78.0
curl 7.42.1 ≤7.42.1
curl 7.29.0 ≤7.29.0
curl 7.56.0 ≤7.56.0
curl 8.2.1 ≤8.2.1
curl 7.69.0 ≤7.69.0
curl 7.37.0 ≤7.37.0
curl 7.87.0 ≤7.87.0
curl 7.65.0 ≤7.65.0
curl 7.22.0 ≤7.22.0
curl 8.7.0 ≤8.7.0
curl 7.51.0 ≤7.51.0
curl 7.26.0 ≤7.26.0
curl 7.82.0 ≤7.82.0
curl 8.14.1 ≤8.14.1
curl 7.55.0 ≤7.55.0
curl 7.42.0 ≤7.42.0
curl 7.88.0 ≤7.88.0
curl 7.28.1 ≤7.28.1
curl 7.79.1 ≤7.79.1
curl 7.48.0 ≤7.48.0
curl 7.75.0 ≤7.75.0
curl 8.9.1 ≤8.9.1
curl 7.21.1 ≤7.21.1
curl 7.32.0 ≤7.32.0
curl 7.54.1 ≤7.54.1
curl 7.77.0 ≤7.77.0
curl 8.19.0 ≤8.19.0
curl 7.56.1 ≤7.56.1
curl 7.61.0 ≤7.61.0
curl 7.37.1 ≤7.37.1
curl 7.80.0 ≤7.80.0
curl 7.76.1 ≤7.76.1
curl 8.16.0 ≤8.16.0
curl 7.38.0 ≤7.38.0
curl 7.28.0 ≤7.28.0
curl 7.60.0 ≤7.60.0
curl 7.45.0 ≤7.45.0
curl 7.50.1 ≤7.50.1
curl 7.59.0 ≤7.59.0
curl 7.62.0 ≤7.62.0
curl 7.74.0 ≤7.74.0
curl 7.73.0 ≤7.73.0
curl 7.70.0 ≤7.70.0
curl 8.1.1 ≤8.1.1
curl 7.46.0 ≤7.46.0
curl 7.81.0 ≤7.81.0
curl 8.9.0 ≤8.9.0
curl 7.52.0 ≤7.52.0
curl 7.68.0 ≤7.68.0
curl 8.4.0 ≤8.4.0
curl 7.57.0 ≤7.57.0
curl 7.54.0 ≤7.54.0
curl 8.12.0 ≤8.12.0
curl 7.64.0 ≤7.64.0
curl 7.85.0 ≤7.85.0
curl 8.11.1 ≤8.11.1
curl 8.10.1 ≤8.10.1
curl 7.49.0 ≤7.49.0
curl 7.50.2 ≤7.50.2
curl 8.7.1 ≤8.7.1
curl 7.35.0 ≤7.35.0
curl 7.83.0 ≤7.83.0
curl 7.79.0 ≤7.79.0
curl 7.83.1 ≤7.83.1
curl 7.47.0 ≤7.47.0
curl 8.20.0 ≤8.20.0
curl 8.11.0 ≤8.11.0
curl 7.84.0 ≤7.84.0
curl 7.50.0 ≤7.50.0
curl 8.22.0 ≤8.22.0
curl 7.49.1 ≤7.49.1
curl 7.27.0 ≤7.27.0
curl 8.5.0 ≤8.5.0
curl 8.18.0 ≤8.18.0
curl 7.21.3 ≤7.21.3
curl 8.6.0 ≤8.6.0
curl 7.52.1 ≤7.52.1
curl 7.40.0 ≤7.40.0
curl 7.23.0 ≤7.23.0
curl 7.43.0 ≤7.43.0
curl 8.8.0 ≤8.8.0
curl 7.71.0 ≤7.71.0
curl 8.1.0 ≤8.1.0
curl 7.30.0 ≤7.30.0
curl 8.2.0 ≤8.2.0
curl 7.50.3 ≤7.50.3
curl 7.63.0 ≤7.63.0
curl 7.88.1 ≤7.88.1
curl 7.61.1 ≤7.61.1
curl 7.21.5 ≤7.21.5
curl 7.21.0 ≤7.21.0
curl 8.1.2 ≤8.1.2
curl 7.65.3 ≤7.65.3
curl 7.23.1 ≤7.23.1
curl 7.64.1 ≤7.64.1
curl 8.3.0 ≤8.3.0
curl 7.39.0 ≤7.39.0
curl 7.21.4 ≤7.21.4
curl 7.65.2 ≤7.65.2
curl 7.36.0 ≤7.36.0
curl 7.67.0 ≤7.67.0
curl 7.31.0 ≤7.31.0
curl 8.17.0 ≤8.17.0
curl 8.0.0 ≤8.0.0
curl 7.44.0 ≤7.44.0
curl 8.14.0 ≤8.14.0
curl 8.10.0 ≤8.10.0
curl 7.53.1 ≤7.53.1
curl 7.24.0 ≤7.24.0
curl 8.12.1 ≤8.12.1
curl 8.21.0 ≤8.21.0
curl 7.21.2 ≤7.21.2
curl 7.21.6 ≤7.21.6
curl 7.58.0 ≤7.58.0
curl 7.47.1 ≤7.47.1
curl 8.13.0 ≤8.13.0
curl 7.76.0 ≤7.76.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

The defect sits in libcurl's FTP wildcard matching feature (CURLOPT_WILDCARDMATCH), where the library installs its own internal listing parser as the write callback for the LIST transfer and restores the application's write callback and CURLOPT_WRITEDATA only on the success path. When the wildcard LIST fails, that restoration is skipped, leaving the easy handle with the internal parser as write callback and the write-callback data pointing directly at the easy handle itself - persisted corrupted handler state rooted in a use-after-free weakness (CWE-416). Three outcomes follow from that state: an immediate crash when the handle is reused; curl_easy_duphandle() copying the corrupted state into the duplicate so that freeing the original while a transfer runs on the clone produces a heap use-after-free read against the dangling handle reference; and, when only CURLOPT_WRITEDATA is changed without resetting CURLOPT_WRITEFUNCTION, type confusion in which the internal parser interprets incoming FTP server response bytes into memory at the application-supplied write-data pointer. The assessed vector rates attack complexity as high precisely because these application-side preconditions must align; this is a library-state bug reachable through a failed listing, not an unconditional remote memory-corruption primitive, and applications that never perform FTP wildcard LIST transfers are not exposed.

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.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 7.4 HIGH

Attacker-controlled FTP server over the network (AV:N, PR:N), but the flaw needs a specific failed-wildcard-LIST-then-handle-reuse sequence, so AC:H; memory corruption and crash give I:H/A:H with no confidentiality loss.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

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
None
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Oct 30, 2026 - 13:46 vuln.today
v2 - CVSS changed
CVSS changed
Oct 30, 2026 - 13:37 NVD
9.1 (CRITICAL)
CVE Published
Oct 14, 2026 - 14:41 oss-security
MEDIUM

Description PRE-NVD

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

Executive ViewAI

Why It Matters

A critical memory corruption vulnerability in libcurl's FTP wildcard listing feature can crash or corrupt applications that reuse or duplicate failed FTP handles, potentially causing service outages and data integrity issues. While no public exploit exists, the conditionality of exploitation limits immediate risk, but leadership should prioritize patching due to the high impact and availability of a vendor fix.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Ubiquitous
libcurl is embedded in an enormous fraction of software and systems
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.3%
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
High

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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

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