Projects
home:rottame:vhosts-ng
openssl-1_1
openssl-CVE-2026-42766.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssl-CVE-2026-42766.patch of Package openssl-1_1
From df32fc58bd726eecf88ac67b22fef0c8ff5eeef8 Mon Sep 17 00:00:00 2001 From: Igor Ustinov <igus@openssl.foundation> Date: Thu, 21 May 2026 08:36:54 +0200 Subject: [PATCH 1/2] Fix potential NULL dereference processing CMS PasswordRecipientInfo Avoid NULL dereferencing when keyDerivationAlgorithm is absent in CMS PasswordRecipientInfo. Fixes CVE-2026-42766 --- crypto/cms/cms_pwri.c | 5 +++++ 1 file changed, 5 insertions(+) Index: openssl-1.1.1w/crypto/cms/cms_pwri.c =================================================================== --- openssl-1.1.1w.orig/crypto/cms/cms_pwri.c +++ openssl-1.1.1w/crypto/cms/cms_pwri.c @@ -336,6 +336,12 @@ int cms_RecipientInfo_pwri_crypt(CMS_Con /* Finish password based key derivation to setup key in "ctx" */ + if (algtmp == NULL) { + CMSerr(CMS_F_CMS_RECIPIENTINFO_PWRI_CRYPT, + CMS_R_INVALID_KEY_ENCRYPTION_PARAMETER); + goto err; + } + if (EVP_PBE_CipherInit(algtmp->algorithm, (char *)pwri->pass, pwri->passlen, algtmp->parameter, kekctx, en_de) < 0) {
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
.