Description
When an FTP wildcard `LIST` operation fails, libcurl omits the restoration
path meant for successful listings, leaving the write callback set to the
internal listing parser and the write callback data pointing directly to the
easy handle. Subsequent reuse of this handle triggers an immediate crash, and
cloning it via `curl_easy_duphandle()` copies this corrupted state into the
duplicate. If the original handle is subsequently freed, executing a transfer
on the cloned handle causes a heap use-after-free read against the dangling
handle reference; alternatively, reusing the original or cloned handle while
changing only `CURLOPT_WRITEDATA` (and omitting `CURLOPT_WRITEFUNCTION`)
results in type confusion, forcing the internal parser to interpret incoming
server response bytes into memory at the application-supplied write data
pointer.
Published: 2026-10-20
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service and Memory Corruption
Action: Immediate Patch
AI Analysis

Impact

When an FTP wildcard LIST command fails, libcurl mistakenly leaves the write callback pointing to its internal listing parser and sets the callback data to the easy handle itself. Reusing that handle then causes an immediate crash, while duplicating it copies this corrupted state into the duplicate handle. If the original handle is freed beforehand, performing another transfer with the cloned handle triggers a heap use‑after‑free read. Alternatively, changing only CURLOPT_WRITEDATA without setting CURLOPT_WRITEFUNCTION leads to type confusion, causing the internal parser to interpret server response bytes into memory at the application‑supplied write data pointer. A remote malicious FTP server can trigger the initial failure, so this flaw can result in application crashes and uncontrolled memory access, effectively denying service or corrupting memory in any program that uses libcurl for FTP wildcard operations.

Affected Systems

All systems that embed the curl library and have not applied the latest update are affected. The vulnerability is present in every released version of curl prior to the fix referenced by CVE‑2026‑92388. It can impact any environment where curl is used to perform FTP transfers that enable wildcard matching.

Risk and Exploitability

The CVSS score of 9.1 indicates critical severity. An EPSS score of 0.00257 indicates a very low probability of exploitation, and the vulnerability is not currently listed in the CISA KEV catalog. The attack vector is inferred to be remote, requiring a malicious FTP server to communicate with the vulnerable curl client over the network. An attacker with control over the server can trigger the failure and cause the application to crash or corrupt memory. Because the vulnerability relies on a server‑initiated failure and incorrect internal state handling, it is considered moderately exploitable under normal conditions.

Generated by OpenCVE AI on October 30, 2026 at 15:31 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest stable release of curl that contains the fix for CVE‑2026‑92388.
  • If an update cannot be applied immediately, configure applications to avoid cloning or reusing curl handles that may have encountered a wildcard listing failure.
  • For environments that rely on FTP wildcard operations, consider disabling that feature or implementing a firewall rule to block untrusted FTP servers.
  • Monitor application logs for crash or abnormal behavior; if crashes persist, investigate updating curl or patching the application.

Generated by OpenCVE AI on October 30, 2026 at 15:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8927-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-8932-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-8927-2 curl vulnerabilities
History

Fri, 30 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}


Tue, 20 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Description A flaw was found in curl. A remote malicious server can cause a Denial of Service (DoS) or memory corruption in applications that enable File Transfer Protocol (FTP) wildcard matching. When a wildcard listing operation fails, curl does not properly reset its internal callback handlers before the connection handle is reused or duplicated. An application that subsequently reuses or clones this corrupted handle may experience an immediate application crash or unsafe memory access. When an FTP wildcard `LIST` operation fails, libcurl omits the restoration path meant for successful listings, leaving the write callback set to the internal listing parser and the write callback data pointing directly to the easy handle. Subsequent reuse of this handle triggers an immediate crash, and cloning it via `curl_easy_duphandle()` copies this corrupted state into the duplicate. If the original handle is subsequently freed, executing a transfer on the cloned handle causes a heap use-after-free read against the dangling handle reference; alternatively, reusing the original or cloned handle while changing only `CURLOPT_WRITEDATA` (and omitting `CURLOPT_WRITEFUNCTION`) results in type confusion, forcing the internal parser to interpret incoming server response bytes into memory at the application-supplied write data pointer.
Title curl: curl: FTP wildcard write callback mixup FTP wildcard write callback mixup
References

Sun, 18 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl

Thu, 15 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Description A flaw was found in curl. A remote malicious server can cause a Denial of Service (DoS) or memory corruption in applications that enable File Transfer Protocol (FTP) wildcard matching. When a wildcard listing operation fails, curl does not properly reset its internal callback handlers before the connection handle is reused or duplicated. An application that subsequently reuses or clones this corrupted handle may experience an immediate application crash or unsafe memory access.
Title curl: curl: FTP wildcard write callback mixup
Weaknesses CWE-416
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H'}

threat_severity

Moderate


cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2026-10-30T12:13:00.038Z

Reserved: 2026-09-16T08:12:47.245Z

Link: CVE-2026-92388

cve-icon Vulnrichment

Updated: 2026-10-30T12:12:43.324Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-20T21:17:21.243

Modified: 2026-10-30T13:20:53.227

Link: CVE-2026-92388

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-14T12:00:00Z

Links: CVE-2026-92388 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T15:45:15Z

Weaknesses