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] f43: Resolves: CVE-2026-80229 - OpenSSL provider use-after-free
Date: Wed, 07 Oct 2026 10:41:04 GMT	[thread overview]
Message-ID: <179136966407.1.4433933209941357124.rpms-curl-ea054486703d@fedoraproject.org> (raw)

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)

                 reply	other threads:[~2026-10-07 10:41 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=179136966407.1.4433933209941357124.rpms-curl-ea054486703d@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