curl CVE-2026-92392 (High): is your curl 8.12 to 8.22?
curl CVE-2026-92392 (High, HTTP/2 upload use-after-free) affects 8.12.0 to 8.22.0 and is fixed in 8.23.0. Check the version and distro patch marker together.
On 2026-10-14 the curl project published CVE-2026-92392 (High) and fixed it in curl 8.23.0. During an upload, an HTTP/2 RST_STREAM from the server (reason HTTP_1_1_REQUIRED or REFUSED_STREAM) leads to a use after free, and the advisory says both the curl command line tool and libcurl are affected. Affected versions are 8.12.0 through 8.22.0. Version numbers alone mislead on distribution packages, so check in this order.
[1] Take the version range exactly from the advisory's Affected section.
| Versions | |
|---|---|
| Affected | curl 8.12.0 to and including 8.22.0 |
| Not affected | below 8.12.0 · 8.23.0 and later |
| Not affected (fixed in maintained branches) | 8.20.x from 8.20.2 · 8.16.x from 8.16.2 · 8.14.x from 8.14.3 |
The advisory recommends three options: upgrade to 8.23.0, apply the patch to your version, or do not use HTTP/2.
[2] Read the version and the distribution patch marker with curl -V. Results from four official Docker images:
$ curl -V | head -2## rockylinux:9curl 7.76.1 (x86_64-redhat-linux-gnu) libcurl/7.76.1 OpenSSL/3.0.7 zlib/1.2.11 nghttp2/1.43.0Release-Date: 2021-04-14## nginx:stablecurl 8.14.1 (x86_64-pc-linux-gnu) libcurl/8.14.1 OpenSSL/3.5.7 zlib/1.3.1 brotli/1.1.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.2 libssh2/1.11.1 nghttp2/1.64.0 nghttp3/1.8.0 librtmp/2.3 OpenLDAP/2.6.10Release-Date: 2025-06-04, security patched: 8.14.1-2+deb13u7| Distribution (image) | curl version | Verdict |
|---|---|---|
Rocky Linux 9 (rockylinux:9) | 7.76.1 | outside the range (below 8.12.0) |
Ubuntu 24.04 (ubuntu:24.04) | 8.5.0 (8.5.0-2ubuntu10.16) | outside the range; the image has no curl binary, checked via the repository candidate |
Debian 13 (base of nginx:stable, php:8.3-fpm) | 8.14.1 | inside the range by number, but 8.14.1-2+deb13u7 is Debian's fixed build → [3] |
[3] Judge distribution packages by the distribution's security tracker. The Debian tracker lists trixie (13) as fixed in 8.14.1-2+deb13u7 (DSA-6558-1) and bookworm (12) as not affected because the vulnerable code is not present. Check the installed package:
$ dpkg -l libcurl4t64 | tail -1$ rpm -q curl libcurl curl-minimal libcurl-minimal## nginx:stable (Debian 13)$ dpkg -l libcurl4t64 | tail -1ii libcurl4t64:amd64 8.14.1-2+deb13u7 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)## rockylinux:9$ rpm -q curl libcurl curl-minimal libcurl-minimalpackage curl is not installedpackage libcurl is not installedcurl-minimal-7.76.1-26.el9_3.2.0.1.x86_64libcurl-minimal-7.76.1-26.el9_3.2.0.1.x86_64On Rocky/RHEL 9 a regular server has curl and libcurl, while minimal installs and containers have curl-minimal and libcurl-minimal, so ask for all four names. In the container image the first two were not installed.
For Ubuntu and Red Hat based systems, look up the same CVE on their own CVE pages. Only the Debian tracker was opened for this article.
[4] Check programs that use libcurl, not just the curl command. The advisory warns that "libcurl is used by many applications, but not always advertised as such". PHP's curl extension, for example, reports the library version:
$ php -r 'echo curl_version()["version"], PHP_EOL;'8.14.1That number does not show patch status either. Programs using the system libcurl follow the package version from [3]; programs that bundle their own libcurl (static builds, some language runtimes and app bundles) need their vendor's notice. If unsure, start with ldd $(command -v program) | grep curl to see whether the system library is used.
[5] If affected, update. For packages, update the libcurl package through the distribution and restart long-running processes that hold the library (PHP-FPM, background workers) so they load the new one. For source builds, rebuild with 8.23.0 or the fixed release of your branch.
After updating, run [2] and [3] again and confirm the version or patch marker changed.
Check it with the curl command builder tool ↗ — calculated in your browser.