Projects
home:rottame:vhosts-ng
openssl-1_1
openssl-CVE-2026-45447.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssl-CVE-2026-45447.patch of Package openssl-1_1
From 16aaeaab46d407f739fc74e3d89ae4fc43ef77c2 Mon Sep 17 00:00:00 2001 From: Igor Ustinov <igus@openssl.foundation> Date: Sat, 16 May 2026 08:16:23 +0200 Subject: [PATCH 1/2] Fix possible use-after-free in OpenSSL PKCS7_verify() Fixes CVE-2026-45447 --- crypto/pkcs7/pk7_smime.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Index: openssl-1.1.1w/crypto/pkcs7/pk7_smime.c =================================================================== --- openssl-1.1.1w.orig/crypto/pkcs7/pk7_smime.c +++ openssl-1.1.1w/crypto/pkcs7/pk7_smime.c @@ -212,6 +212,7 @@ int PKCS7_verify(PKCS7 *p7, STACK_OF(X50 char *buf = NULL; int i, j = 0, k, ret = 0; BIO *p7bio = NULL; + BIO *next = NULL; BIO *tmpin = NULL, *tmpout = NULL; if (!p7) { @@ -360,11 +361,16 @@ int PKCS7_verify(PKCS7 *p7, STACK_OF(X50 err: X509_STORE_CTX_free(cert_ctx); OPENSSL_free(buf); - if (tmpin == indata) { - if (indata) - BIO_pop(p7bio); + // if (tmpin == indata) { + // if (indata) + // BIO_pop(p7bio); + // } + // BIO_free_all(p7bio); + while (p7bio != NULL && p7bio != indata) { + next = BIO_pop(p7bio); + BIO_free(p7bio); + p7bio = next; } - BIO_free_all(p7bio); sk_X509_free(signers); return ret; }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.