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-80229 - OpenSSL provider use-after-free
Date: Mon, 02 Nov 2026 14:33:14 GMT [thread overview]
Message-ID: <179362999404.1.16003757550782624972.rpms-curl-f1a12b0547c3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.21.0-9
Commit : f1a12b0547c31255792cd4594141b18e2d2b3d70
Author : Jan Macku <jamacku@redhat.com>
Date : 2026-10-06T09:54:56+02:00
Stats : +37/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/f1a12b0547c31255792cd4594141b18e2d2b3d70?branch=curl-v8.21.0-9
Log:
Resolves: CVE-2026-80229 - OpenSSL provider use-after-free
---
diff --git a/0006-curl-8.21.0-CVE-2026-80229.patch b/0006-curl-8.21.0-CVE-2026-80229.patch
new file mode 100644
index 0000000..689f110
--- /dev/null
+++ b/0006-curl-8.21.0-CVE-2026-80229.patch
@@ -0,0 +1,33 @@
+From 2a1ab2f7c2b48e859b69e3837fe1bd9900d02ef4 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Tue, 25 Aug 2026 11:14:30 +0200
+Subject: [PATCH 2/2] openssl: avoid conn reuse if provider is used
+
+Reported-by: Stanislav Fort
+
+Closes #22665
+
+(cherry picked from commit 7ea37abc6ac0120ba5f6d94be8d196f7cf1506bb)
+---
+ lib/vtls/openssl.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
+index 010bbb9825..04c554579c 100644
+--- a/lib/vtls/openssl.c
++++ b/lib/vtls/openssl.c
+@@ -3707,6 +3707,11 @@ CURLcode Curl_ossl_ctx_init(struct ossl_ctx *octx,
+ ossl_strerror(ERR_peek_error(), error_buffer, sizeof(error_buffer)));
+ return CURLE_OUT_OF_MEMORY;
+ }
++#ifdef OPENSSL_HAS_PROVIDERS
++ if(data->state.libctx)
++ /* forbid connection reuse with provider/engine use */
++ connclose(data->conn, "provider in use");
++#endif
+
+ if(cb_setup) {
+ result = cb_setup(cf, data, cb_user_data);
+--
+2.55.0
+
diff --git a/curl.spec b/curl.spec
index 607fb39..9d61eb0 100644
--- a/curl.spec
+++ b/curl.spec
@@ -37,6 +37,9 @@ Patch004: 0004-curl-8.21.0-remove-test1701.patch
# fix secure cookie attribute bypass with tab (CVE-2026-80255)
Patch005: 0005-curl-8.21.0-CVE-2026-80255.patch
+# fix OpenSSL provider use-after-free (CVE-2026-80229)
+Patch006: 0006-curl-8.21.0-CVE-2026-80229.patch
+
# patch making libcurl multilib ready
Patch101: 0101-curl-7.32.0-multilib.patch
@@ -491,6 +494,7 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/wcurl.1*
%changelog
* Mon Oct 05 2026 Jan Macku <jamacku@redhat.com> - 8.21.0-7
- fix secure cookie attribute bypass with tab (CVE-2026-80255)
+- fix OpenSSL provider use-after-free (CVE-2026-80229)
* Tue Sep 29 2026 Jan Macku <jamacku@redhat.com> - 8.21.0-6
- fix HTTP/2 server push UAF (CVE-2026-18924)
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=179362999404.1.16003757550782624972.rpms-curl-f1a12b0547c3@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