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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | openssl | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux:9 | openssl | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| AlmaLinux:10 | openssl-devel | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux:9 | openssl-devel | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| AlmaLinux:10 | openssl-libs | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux:9 | openssl-libs | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| AlmaLinux:10 | openssl-perl | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux:9 | openssl-perl | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| Alpine:v3.21 | openssl | 3.3.7-r1 | ALPINE-CVE-2026-42766 |
| Alpine:v3.22 | openssl | 3.5.7-r0 | ALPINE-CVE-2026-42766 |
| Alpine:v3.23 | openssl | 3.5.7-r0 | ALPINE-CVE-2026-42766 |
| Alpine:v3.24 | openssl | 3.5.7-r0 | ALPINE-CVE-2026-42766 |
| Debian:12 | openssl | 3.0.20-1~deb12u2 | DEBIAN-CVE-2026-42766 |
| Debian:13 | openssl | 3.5.6-1~deb13u2 | DEBIAN-CVE-2026-42766 |
| Debian:14 | openssl | 3.6.3-1 | DEBIAN-CVE-2026-42766 |
| Rocky Linux:10 | openssl | 1:3.5.5-4.el10_2 | RLSA-2026:25237 |
| Rocky Linux:9 | openssl | 1:3.5.5-4.el9_8 | RLSA-2026:25239 |
| Ubuntu:22.04:LTS | edk2 | no fix listed | UBUNTU-CVE-2026-42766 |
| Ubuntu:24.04:LTS | edk2 | no fix listed | UBUNTU-CVE-2026-42766 |
| Ubuntu:25.10 | edk2 | no fix listed | UBUNTU-CVE-2026-42766 |
| Ubuntu:26.04:LTS | edk2 | no fix listed | UBUNTU-CVE-2026-42766 |
| Ubuntu:26.10 | edk2 | no fix listed | UBUNTU-CVE-2026-42766 |
| Ubuntu:26.04:LTS | edk2-hwe | no fix listed | UBUNTU-CVE-2026-42766 |
| Ubuntu:26.10 | edk2-hwe | no fix listed | UBUNTU-CVE-2026-42766 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.25 | UBUNTU-CVE-2026-42766 |
| Ubuntu:24.04:LTS | openssl | 3.0.13-0ubuntu3.11 | UBUNTU-CVE-2026-42766 |
| Ubuntu:25.10 | openssl | 3.5.3-1ubuntu3.4 | UBUNTU-CVE-2026-42766 |
| Ubuntu:26.04:LTS | openssl | 3.5.5-1ubuntu3.2 | UBUNTU-CVE-2026-42766 |
Affected products (as reported)
Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- OpenSSL Advisory vendor-advisory
- 4.0.1 git commit patch
- 3.6.3 git commit patch
- 3.5.7 git commit patch
- 3.4.6 git commit patch
- 3.0.21 git commit patch