public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] f43: Resolves: CVE-2026-80229 - OpenSSL provider use-after-free
@ 2026-10-07 10:41 Jan Macku
  0 siblings, 0 replies; only message in thread
From: Jan Macku @ 2026-10-07 10:41 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/curl
Branch : f43
Commit : ea054486703ddf72ba005dee8848049e33d04a43
Author : Jan Macku <jamacku@redhat.com>
Date   : 2026-10-07T07:35:13+02:00
Stats  : +37/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/ea054486703ddf72ba005dee8848049e33d04a43?branch=f43

Log:
Resolves: CVE-2026-80229 - OpenSSL provider use-after-free

---
diff --git a/0023-curl-8.15.0-CVE-2026-80229.patch b/0023-curl-8.15.0-CVE-2026-80229.patch
new file mode 100644
index 0000000..c5690ba
--- /dev/null
+++ b/0023-curl-8.15.0-CVE-2026-80229.patch
@@ -0,0 +1,33 @@
+From 67b6f41077b7681c5315e338a29899fcac59a912 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 b0f91cf400..05210c8316 100644
+--- a/lib/vtls/openssl.c
++++ b/lib/vtls/openssl.c
+@@ -4030,6 +4030,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 1b2d1a7..357a62f 100644
--- a/curl.spec
+++ b/curl.spec
@@ -82,6 +82,9 @@ Patch021: 0021-curl-8.15.0-CVE-2026-8458.patch
 # fix secure cookie attribute bypass with tab (CVE-2026-80255)
 Patch022: 0022-curl-8.15.0-CVE-2026-80255.patch
 
+# fix OpenSSL provider use-after-free (CVE-2026-80229)
+Patch023: 0023-curl-8.15.0-CVE-2026-80229.patch
+
 # patch making libcurl multilib ready
 Patch101: 0101-curl-7.32.0-multilib.patch
 
@@ -486,6 +489,7 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/wcurl.1*
 %changelog
 * Tue Oct 06 2026 Jan Macku <jamacku@redhat.com> - 8.15.0-11
 - fix secure cookie attribute bypass with tab (CVE-2026-80255)
+- fix OpenSSL provider use-after-free (CVE-2026-80229)
 
 * Tue Sep 08 2026 Jan Macku <jamacku@redhat.com> - 8.15.0-10
 - fix HTTP/2 stream-dependency tree UAF (CVE-2026-10536)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-07 10:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 10:41 [rpms/curl] f43: 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