CVE-2026-92388
JSON

9.1critical

FTP wildcard write callback mixup

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.70% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
curl
Also known as
CURL-CVE-2026-92388

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.

Affected

Product or packageVersionsReported by
curl curlfrom 8.22.0 up to 8.22.0, from 8.21.0 up to 8.21.0, from 8.20.0 up to 8.20.0, from 8.19.0 up to 8.19.0, from 8.18.0 up to 8.18.0, from 8.17.0 up to 8.17.0, from 8.16.0 up to 8.16.0, from 8.15.0 up to 8.15.0 and 125 moreCVE List
https://github.com/curl/curl.gitfrom 7.21.0 before 8.14.3, from 8.15.0 before 8.16.2, from 8.17.0 before 8.20.2, from 8.21.0 before 8.23.0, from 0825cd80a62c21725fb3615f1fdd3aa6cc5f0f34 before ba8f8a7f27a5c5e19e4ef212b90b35a93559163ecurl

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
curllow rating

Classification

CWE-416

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-92388 changed 2026-10-30CVE Terms of Use
curlCURL-CVE-2026-92388 changed 2026-10-25MIT
NVDCVE-2026-92388 changed 2026-10-30Public domain