CVE-2026-92388curl
Memory corruption and use-after-free in curl on failed FTP LIST operation
Critical 9.1 No auth needed
Follow: this CVE · curl · curl We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Oct 20, 2026
- Updated
- Oct 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-416
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
libcurl fails to properly restore internal state when a wildcard FTP LIST operation fails, leaving the write callback pointing to invalid data. This causes an immediate crash when reusing the handle, or a use-after-free if the handle is cloned and the original is freed. A remote attacker can trigger a denial of service or memory corruption without authentication.
Show the original NVD text
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.
What to do
No patch data
Update curl to the patched version when available. Avoid reusing curl handles after failed FTP LIST operations.
- Apply the vendor's security update for curl.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- curl · curl
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for curl · SUSE · SUSE-SU-2026:5071-1 · Nov 3, 2026 Critical
- Security update for curl · SUSE · SUSE-SU-2026:5069-1 · Nov 3, 2026 Critical
- Security update for curl · SUSE · SUSE-SU-2026:5068-1 · Nov 3, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:82895 · Oct 15, 2026 Critical
Also: SUSE (+2)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.