Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-92388 EUVD-2026-105318GHSA-r22r-3m6c-qv5r

FTP wildcard write callback mixup

Published Oct 20, 2026 · Updated Oct 30, 2026 · Assigned by curl

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 products

VendorProductAffectedFixed
curl curl 8.22.0 – ≤ 8.22.0, 8.21.0 – ≤ 8.21.0, 8.20.0 – ≤ 8.20.0, 8.19.0 – ≤ 8.19.0, 8.18.0 – ≤ 8.18.0, 8.17.0 – ≤ 8.17.0, 8.16.0 – ≤ 8.16.0, 8.15.0 – ≤ 8.15.0, 8.14.1 – ≤ 8.14.1, 8.14.0 – ≤ 8.14.0, 8.13.0 – ≤ 8.13.0, 8.12.1 – ≤ 8.12.1, 8.12.0 – ≤ 8.12.0, 8.11.1 – ≤ 8.11.1, 8.11.0 – ≤ 8.11.0, 8.10.1 – ≤ 8.1… —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl No fix yet —
Debian 13 curl No fix yet —
Debian 12 curl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 curl 8.20.0-2ubuntu11.1 USN-8927-2
Ubuntu 26.04 LTS curl 8.18.0-1ubuntu2.8 USN-8927-1
Ubuntu 24.04 LTS curl 8.5.0-2ubuntu10.16 USN-8932-1
Ubuntu 22.04 LTS curl 7.81.0-1ubuntu1.30 USN-8932-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS curl 7.68.0-1ubuntu2.25+esm10 USN-8932-1
Ubuntu Pro 18.04 LTS curl 7.58.0-2ubuntu3.24+esm15 USN-8932-1
Ubuntu Pro 16.04 LTS curl 7.47.0-1ubuntu2.19+esm21 USN-8932-1
Ubuntu Pro 14.04 LTS curl 7.35.0-1ubuntu2.20+esm24 USN-8932-1
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 curl +3 8.23.0-0.1.hum1 RHSA-2026:82895
ReleasePackageFixed inAdvisory
SLES 15 SP7 curl 8.22.0-150700.7.33.1 SUSE-SU-2026:5068-1
SLES 15 SP6 curl 8.22.0-150600.4.58.1 SUSE-SU-2026:5069-1
SLES 15 SP5 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLES 15 SP4 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLES 12 SP5 curl 8.0.1-11.134.1 SUSE-SU-2026:5071-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 curl 8.22.0-150600.4.58.1 SUSE-SU-2026:5069-1
SLE Micro 5.5 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLE Micro 5.4 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLE Micro 5.3 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLE HPC 15 SP5 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SLE HPC 15 SP4 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SUSE Linux Enterprise Installer Updates 15 SP5 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
SUSE Linux Enterprise Installer Updates 15 SP4 curl 8.14.1-150400.5.98.1 SUSE-SU-2026:4954-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 8.23.0-1.1 openSUSE-SU-2026:12150-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 8.23.0-r0 —
Alpine v3.23 curl 8.23.0-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 curl +4 No fix yet —

Advisories 10

References