Home CVECVE-2026-92392: curl HTTP/2 Upload Use-After-Free Fixed in curl 8.23.0

CVE-2026-92392: curl HTTP/2 Upload Use-After-Free Fixed in curl 8.23.0

by Knowledge Base Linux
CVE-2026-92392 curl HTTP/2 upload vulnerability illustration

curl is on virtually every Linux server, CI runner and container image — which is why the curl project cut its release cycle short to ship a fix for CVE-2026-92392. This use-after-free flaw in HTTP/2 uploads lets a malicious server corrupt the memory of a client that uploads a file to it, and the researcher who reported it demonstrated full client-side code execution. curl 8.23.0, released October 14, 2026, closes the hole.

CVE-2026-92392 at a Glance

CVE-2026-92392 is a use-after-free in libcurl’s HTTP/2 upload handling. When a server answers an in-progress upload with certain HTTP/2 stream resets (RST_STREAM with HTTP_1_1_REQUIRED or REFUSED_STREAM) and the transfer is retried, a connection can retain and later use a pointer to a freed transfer handle. The flaw is rated CVSS 8.1 (High); on curl’s own four-level scale it is also “High” — the project’s first High-severity issue since the SOCKS5 heap overflow of October 2023. It affects curl and libcurl 8.12.0 through 8.22.0, in builds with HTTP/2 support enabled, and it has shipped in every release since February 2025. Exploitation is demanding: the victim must upload a file of roughly 135 KB or more over HTTP/2 to an attacker-controlled server whose TLS certificate the client accepts, and reliable code execution needs exact knowledge of the target’s curl build, architecture and memory layout. curl expects real-world attempts to end in a crash rather than a shell. The bug was found by researcher Luna Tong working with Anthropic’s OSS Scanner, reported via HackerOne on September 15, and patched by Stefan Eissing. No attacks exploiting CVE-2026-92392 have been reported.

Updating curl to fix CVE-2026-92392 illustration

Am I Affected by CVE-2026-92392?

Check the version everywhere curl runs — the command-line tool is only the visible part, because libcurl is embedded in countless other programs:

curl --version
ldd --version >/dev/null; ldconfig -p | grep libcurl

You are affected if the version falls in the 8.12.0–8.22.0 range and HTTP/2 is compiled in (the first line of curl --version lists features — look for HTTP2). Branches older than 8.12.0 are not affected, and the curl project also shipped the fix in the maintenance releases 8.20.2, 8.16.2 and 8.14.3 for users pinned to those series. Think beyond servers: backup agents, monitoring checks, deployment scripts and SaaS-integration tools routinely use libcurl to upload files, and any of them uploading to an untrusted or compromised endpoint is a potential CVE-2026-92392 target.

How to Patch CVE-2026-92392 Step by Step

Step 1 — Upgrade the system packages. On Debian/Ubuntu:

sudo apt update
sudo apt install --only-upgrade curl libcurl4t64 libcurl4-openssl-dev

(Your exact libcurl package name may differ by release — upgrade whatever apt offers for curl and libcurl.) On RHEL-family systems:

sudo dnf update curl libcurl

Step 2 — Restart dependent services. Long-running daemons keep the old libcurl mapped in memory, so restart applications that link against it, or reboot the machine during your next window.

Step 3 — Rebuild container images. Images pinning a vulnerable curl stay vulnerable forever; rebuild from updated base images and redeploy. This is the same hygiene that keeps CLI tooling current, as when you install and configure the AWS CLI on Linux — the tool is only as safe as the libraries under it.

Step 4 — Verify:

curl --version | head -n 1

Temporary Mitigations for CVE-2026-92392

If you cannot update immediately, force HTTP/1.1 for uploads to endpoints you do not fully control. With the command-line tool:

curl --http1.1 -T file.tar.gz https://example-server/upload

In applications using libcurl, set CURLOPT_HTTP_VERSION to CURL_HTTP_VERSION_1_1. Avoid uploading files to untrusted servers with an affected build, and treat any third-party upload destination — file drops, partner APIs, webhook receivers that pull content — as suspect until you are patched. Building libcurl without HTTP/2 support also removes the flaw, at the cost of HTTP/2 performance.

It is also worth remembering how far libcurl reaches beyond the systems you manage directly. The library ships inside backup appliances, NAS firmware, smart TVs, vehicle infotainment systems and countless IoT devices, many of which upload logs, telemetry or media to vendor clouds over HTTPS. You cannot patch those yourself, but you can inventory which of them hold sensitive data, segment them on the network, and press vendors for firmware that moves past the vulnerable range. CVE-2026-92392 is, in that sense, two patching problems: the servers you control today, and the embedded fleet you can only pressure and isolate.

Detection Notes

There is no reliable network signature for CVE-2026-92392 exploitation, and no exploitation has been observed. Practically, your best detection is inventory: know which systems and applications run libcurl 8.12.0–8.22.0, and watch for unexplained curl or application crashes (segfaults) during large HTTP/2 uploads, which is what a failed attempt looks like. For the full story of the disclosure, see The Hacker News coverage of the curl fix.

Conclusion

CVE-2026-92392 is hard to exploit but sits in one of the most widely deployed libraries on earth, and a working code-execution proof of concept is public. Update curl and libcurl to 8.23.0 (or a fixed maintenance release), restart what links against it, rebuild your images — and use --http1.1 as a bridge until you get there.

You may also like

KbLinux

Typically replies within a day

Hello, Welcome to the site. Please click below button for chatting me through Telegram.