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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | curl | No fix yet | — |
| Debian 13 | curl | No fix yet | — |
| Debian 12 | curl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | curl +3 | 8.23.0-0.1.hum1 | RHSA-2026:82895 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | curl | 8.23.0-1.1 | openSUSE-SU-2026:12150-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | curl | 8.23.0-r0 | — |
| Alpine v3.23 | curl | 8.23.0-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | curl +4 | No fix yet | — |
Advisories 10
- WID-SEC-2026-3904 cURL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- SUSE-SU-2026:5069-1 Security update for curl SUSE / openSUSE Security Updates · Nov 3, 2026
- SUSE-SU-2026:5068-1 Security update for curl SUSE / openSUSE Security Updates · Nov 3, 2026
- SUSE-SU-2026:5071-1 Security update for curl SUSE / openSUSE Security Updates · Nov 3, 2026
- USN-8932-1 curl vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-8927-1 curl vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-8927-2 curl vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- SUSE-SU-2026:4954-1 Security update for curl SUSE / openSUSE Security Updates · Nov 2, 2026
- RHSA-2026:82895 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 18, 2026
- openSUSE-SU-2026:12150-1 curl-8.23.0-1.1 on GA media SUSE / openSUSE Security Updates · Oct 17, 2026