Vulnerability · Published Jun 9, 2026 · Assigned by openssl

CVE-2026-42766Possible NULL Dereference in Password-Based CMS Decryption

Medium 5.9

In plain English

A medium-severity null pointer dereference in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)1.1%top 35.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Issue summary: A specially crafted password-encrypted CMS message can trigger a NULL pointer dereference during CMS decryption. Impact summary: This NULL pointer dereference leads to an application crash and a Denial of Service. The CMS PasswordRecipientInfo.keyDerivationAlgorithm field is defined as OPTIONAL in the ASN.1 specification and may therefore be absent in specially crafted inputs. During the password-based CMS decryption the OpenSSL CMS implementation dereferences this field without first checking whether it was present. An attacker who supplies such a CMS message to an application performing password-based CMS decryption can trigger an application crash, leading to a Denial of Service. Applications that process password-encrypted CMS messages may be affected. The FIPS modules in 4.0, 3.6, 3.5, 3.4, and 3.0 are not affected by this issue, as the affected code is outside the OpenSSL FIPS module boundary.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10openssl1:3.5.5-4.el10_2.alma.1ALSA-2026:25237
AlmaLinux:9openssl1:3.5.5-4.el9_8ALSA-2026:25239
AlmaLinux:10openssl-devel1:3.5.5-4.el10_2.alma.1ALSA-2026:25237
AlmaLinux:9openssl-devel1:3.5.5-4.el9_8ALSA-2026:25239
AlmaLinux:10openssl-libs1:3.5.5-4.el10_2.alma.1ALSA-2026:25237
AlmaLinux:9openssl-libs1:3.5.5-4.el9_8ALSA-2026:25239
AlmaLinux:10openssl-perl1:3.5.5-4.el10_2.alma.1ALSA-2026:25237
AlmaLinux:9openssl-perl1:3.5.5-4.el9_8ALSA-2026:25239
Alpine:v3.21openssl3.3.7-r1ALPINE-CVE-2026-42766
Alpine:v3.22openssl3.5.7-r0ALPINE-CVE-2026-42766
Alpine:v3.23openssl3.5.7-r0ALPINE-CVE-2026-42766
Alpine:v3.24openssl3.5.7-r0ALPINE-CVE-2026-42766
Debian:12openssl3.0.20-1~deb12u2DEBIAN-CVE-2026-42766
Debian:13openssl3.5.6-1~deb13u2DEBIAN-CVE-2026-42766
Debian:14openssl3.6.3-1DEBIAN-CVE-2026-42766
Rocky Linux:10openssl1:3.5.5-4.el10_2RLSA-2026:25237
Rocky Linux:9openssl1:3.5.5-4.el9_8RLSA-2026:25239
Ubuntu:22.04:LTSedk2no fix listedUBUNTU-CVE-2026-42766
Ubuntu:24.04:LTSedk2no fix listedUBUNTU-CVE-2026-42766
Ubuntu:25.10edk2no fix listedUBUNTU-CVE-2026-42766
Ubuntu:26.04:LTSedk2no fix listedUBUNTU-CVE-2026-42766
Ubuntu:26.10edk2no fix listedUBUNTU-CVE-2026-42766
Ubuntu:26.04:LTSedk2-hweno fix listedUBUNTU-CVE-2026-42766
Ubuntu:26.10edk2-hweno fix listedUBUNTU-CVE-2026-42766
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.25UBUNTU-CVE-2026-42766
Ubuntu:24.04:LTSopenssl3.0.13-0ubuntu3.11UBUNTU-CVE-2026-42766
Ubuntu:25.10openssl3.5.3-1ubuntu3.4UBUNTU-CVE-2026-42766
Ubuntu:26.04:LTSopenssl3.5.5-1ubuntu3.2UBUNTU-CVE-2026-42766

Affected products (as reported)

VendorProductVersions
OpenSSL OpenSSL 4.0.0 – before 4.0.13.6.0 – before 3.6.33.5.0 – before 3.5.73.4.0 – before 3.4.63.0.0 – before 3.0.211.1.1 – before 1.1.1zh1.0.2 – before 1.0.2zq

Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References