public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Macku <jamacku@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.21.0-9: Resolves: CVE-2026-18924 - HTTP/2 server push UAF
Date: Mon, 02 Nov 2026 14:33:11 GMT [thread overview]
Message-ID: <179362999119.1.16691218308076019962.rpms-curl-5d92cd9b7a20@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.21.0-9
Commit : 5d92cd9b7a2086f9016741d858e073478caff02d
Author : Jan Macku <jamacku@redhat.com>
Date : 2026-09-29T14:29:19+02:00
Stats : +45/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/5d92cd9b7a2086f9016741d858e073478caff02d?branch=curl-v8.21.0-9
Log:
Resolves: CVE-2026-18924 - HTTP/2 server push UAF
---
diff --git a/0002-curl-8.21.0-CVE-2026-18924.patch b/0002-curl-8.21.0-CVE-2026-18924.patch
new file mode 100644
index 0000000..aa41faf
--- /dev/null
+++ b/0002-curl-8.21.0-CVE-2026-18924.patch
@@ -0,0 +1,38 @@
+From ba8251ada2ae2e01fdd09776ac84041193aa3509 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Wed, 5 Aug 2026 10:02:53 +0200
+Subject: [PATCH 1/2] http2: make server push transfers inherit share from
+ parent
+
+Reported-by: Stephan Zeisberg
+Closes #22488
+
+(cherry picked from commit 90325ff0444cbdff368bda5d26d6405a0bb6ee43)
+---
+ lib/http2.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/lib/http2.c b/lib/http2.c
+index a820439ef4..a0c147cdc1 100644
+--- a/lib/http2.c
++++ b/lib/http2.c
+@@ -46,6 +46,7 @@
+ #include "bufref.h"
+ #include "curlx/dynbuf.h"
+ #include "headers.h"
++#include "curl_share.h"
+
+ #if NGHTTP2_VERSION_NUM < 0x010f00
+ #error "nghttp2 1.15.0 or greater required"
+@@ -704,6 +705,8 @@ static struct Curl_easy *h2_duphandle(struct Curl_cfilter *cf,
+ struct h2_stream_ctx *second_stream;
+ http2_data_setup(cf, second, &second_stream);
+ second->state.priority.weight = data->state.priority.weight;
++ if(data->share)
++ (void)Curl_share_easy_link(second, data->share);
+ }
+ return second;
+ }
+--
+2.55.0
+
diff --git a/curl.spec b/curl.spec
index f30c790..5b14224 100644
--- a/curl.spec
+++ b/curl.spec
@@ -13,7 +13,7 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 8.21.0
-Release: 5%{?dist}
+Release: 6%{?dist}
License: curl
Source0: https://curl.se/download/%{name}-%{version_no_tilde}.tar.xz
Source1: https://curl.se/download/%{name}-%{version_no_tilde}.tar.xz.asc
@@ -25,6 +25,9 @@ Source2: mykey.asc
# add multi_wakeup_internal for threaded resolving (#2509107)
Patch001: 0001-curl-8.21.0-lib-add-multi_wakeup_internal.patch
+# fix HTTP/2 server push UAF (CVE-2026-18924)
+Patch002: 0002-curl-8.21.0-CVE-2026-18924.patch
+
# patch making libcurl multilib ready
Patch101: 0101-curl-7.32.0-multilib.patch
@@ -477,6 +480,9 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/wcurl.1*
%{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
%changelog
+* Tue Sep 29 2026 Jan Macku <jamacku@redhat.com> - 8.21.0-6
+- fix HTTP/2 server push UAF (CVE-2026-18924)
+
* Thu Aug 06 2026 Jan Macku <jamacku@redhat.com> - 8.21.0-5
- add multi_wakeup_internal for threaded resolving (#2509107)
reply other threads:[~2026-11-02 14:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179362999119.1.16691218308076019962.rpms-curl-5d92cd9b7a20@fedoraproject.org \
--to=jamacku@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox