curl HTTP/2 upload use-after-free vulnerability CVE-2026-92392
HTTP/2 upload Use-After-Free — CVE-2026-92392
The curl project disclosed CVE-2026-92392, a use-after-free vulnerability during HTTP/2 upload, affecting curl 8.12.0 through 8.22.0, fixed in 8.23.0. During upload, curl mishandles HTTP/2 RST_STREAM frames sent by the server (with reason HTTP_1_1_REQUIRED or REFUSED_STREAM), causing the struct Curl_easy object to be used after being freed, classified as CWE-416, severity High. The advisory states that a malicious server can turn this flaw into remote code execution when a specific set of conditions is met, including a known curl version and structure layout, runtime architecture details, a compatible libc allocator and heap layout, nghttp2 and OpenSSL/TLS 1.3 behavior, a fixed CA bundle, scheduling timing of two parallel transfers, libc leaks and symbol offsets, and a short command constraint of about 23 bytes.