public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.21.0-9: Resolves: CVE-2026-80229 - OpenSSL provider use-after-free
@ 2026-11-02 14:33 Jan Macku
0 siblings, 0 replies; only message in thread
From: Jan Macku @ 2026-11-02 14:33 UTC (permalink / raw)
To: git-commits
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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-02 14:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 14:33 [rpms/curl] curl-v8.21.0-9: Resolves: CVE-2026-80229 - OpenSSL provider use-after-free Jan Macku
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox