CVE-2026-42766Possible NULL Dereference in Password-Based CMS Decryption
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | edk2 | Fix pending | UBUNTU-CVE-2026-42766 | |
| Ubuntu 26.10 | edk2-hwe | Fix pending | UBUNTU-CVE-2026-42766 | |
| Ubuntu 26.04 | edk2 | Under investigation | UBUNTU-CVE-2026-42766 | |
| Ubuntu 26.04 | edk2-hwe | Under investigation | UBUNTU-CVE-2026-42766 | |
| Ubuntu 26.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openssl | Fixed | 3.5.5-1ubuntu3.2 | UBUNTU-CVE-2026-42766 |
| Ubuntu 25.10 | edk2 | Will not fix edk2 in jammy embeds OpenSSL 1.1.1j edk2 in noble embeds OpenSSL 3.0.9 edk2 in plucky embeds OpenSSL 3.4.0 edk2 in questing embeds OpenSSL 3.4.0 nodejs in… | UBUNTU-CVE-2026-42766 | |
| Ubuntu 25.10 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openssl | Fixed | 3.5.3-1ubuntu3.4 | UBUNTU-CVE-2026-42766 |
| Ubuntu 24.04 | edk2 | Under investigation | UBUNTU-CVE-2026-42766 | |
| Ubuntu 24.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | openssl | Fixed | 3.0.13-0ubuntu3.11 | UBUNTU-CVE-2026-42766 |
| Ubuntu 22.04 | edk2 | Under investigation | UBUNTU-CVE-2026-42766 | |
| Ubuntu 22.04 | nodejs | Fix pending | UBUNTU-CVE-2026-42766 | |
| Ubuntu 22.04 | openssl | Fixed | 3.0.2-0ubuntu1.25 | UBUNTU-CVE-2026-42766 |
| Ubuntu 20.04 | edk2 | Fix pending | UBUNTU-CVE-2026-42766 | |
| Ubuntu 20.04 | openssl | Fix pending | 1.1.1f-1ubuntu2.24+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-42766 |
| Ubuntu 18.04 | edk2 | Fix pending | UBUNTU-CVE-2026-42766 | |
| Ubuntu 18.04 | nodejs | Fix pending | UBUNTU-CVE-2026-42766 | |
| Ubuntu 18.04 | openssl | Fix pending | 1.1.1-1ubuntu2.1~18.04.23+esm9 (Ubuntu Pro) | UBUNTU-CVE-2026-42766 |
| Ubuntu 18.04 | openssl1.0 | Fix pending | 1.0.2n-1ubuntu5.13+esm5 (Ubuntu Pro) | UBUNTU-CVE-2026-42766 |
| Ubuntu 16.04 | edk2 | Fix pending | UBUNTU-CVE-2026-42766 | |
| Ubuntu 16.04 | nodejs | Fix pending | UBUNTU-CVE-2026-42766 | |
| Ubuntu 16.04 | openssl | Fix pending | 1.0.2g-1ubuntu4.20+esm16 (Ubuntu Pro) | UBUNTU-CVE-2026-42766 |
| Ubuntu 14.04 | openssl | Fix pending | 1.0.1f-1ubuntu2.27+esm14 (Ubuntu Pro) | UBUNTU-CVE-2026-42766 |
| Debian 14 | openssl | Fixed | 3.6.3-1 | DEBIAN-CVE-2026-42766 |
| Debian 13 | openssl | Fixed | 3.5.6-1~deb13u2 | DEBIAN-CVE-2026-42766 |
| Debian 12 | openssl | Fixed | 3.0.20-1~deb12u2 | DEBIAN-CVE-2026-42766 |
| Red Hat Enterprise Linux 10 | edk2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-tools-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mokutil | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | openssl | Fixed | 1:3.5.5-4.el10_2 | RHSA-2026:25237 |
| Red Hat Enterprise Linux 10 | openssl-devel | Fixed | 1:3.5.5-4.el10_2 | RHSA-2026:25237 |
| Red Hat Enterprise Linux 10 | openssl-libs | Fixed | 1:3.5.5-4.el10_2 | RHSA-2026:25237 |
| Red Hat Enterprise Linux 10 | openssl-perl | Fixed | 1:3.5.5-4.el10_2 | RHSA-2026:25237 |
| Red Hat Enterprise Linux 10 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | shim-unsigned-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | shim-unsigned-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | shim-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | compat-openssl11 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-tools-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | openssl | Fixed | 1:3.5.5-4.el9_8 | RHSA-2026:25239 |
| Red Hat Enterprise Linux 9 | openssl-devel | Fixed | 1:3.5.5-4.el9_8 | RHSA-2026:25239 |
| Red Hat Enterprise Linux 9 | openssl-libs | Fixed | 1:3.5.5-4.el9_8 | RHSA-2026:25239 |
| Red Hat Enterprise Linux 9 | openssl-perl | Fixed | 1:3.5.5-4.el9_8 | RHSA-2026:25239 |
| Red Hat Enterprise Linux 9 | shim | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-unsigned-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-unsigned-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | compat-openssl10 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2-ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw-openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw32-openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw64-openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-ia32 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-unsigned-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | AAVMF | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | OVMF | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl-static | Fix pending Fix deferred | ||
| AlmaLinux 10 | openssl | Fixed | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux 10 | openssl-devel | Fixed | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux 10 | openssl-libs | Fixed | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux 10 | openssl-perl | Fixed | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux 9 | openssl | Fixed | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| AlmaLinux 9 | openssl-devel | Fixed | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| AlmaLinux 9 | openssl-libs | Fixed | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| AlmaLinux 9 | openssl-perl | Fixed | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| Rocky Linux 10 | openssl | Fixed | 1:3.5.5-4.el10_2 | RLSA-2026:25237 |
| Rocky Linux 9 | openssl | Fixed | 1:3.5.5-4.el9_8 | RLSA-2026:25239 |
| Alpine Linux 3.24 | openssl | Fixed | 3.5.7-r0 | ALPINE-CVE-2026-42766 |
| Alpine Linux 3.23 | openssl | Fixed | 3.5.7-r0 | ALPINE-CVE-2026-42766 |
| Alpine Linux 3.22 | openssl | Fixed | 3.5.7-r0 | ALPINE-CVE-2026-42766 |
| Alpine Linux 3.21 | openssl | Fixed | 3.3.7-r1 | ALPINE-CVE-2026-42766 |
What the vendor says
As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSSL: affected: 4.0.0 to before 4.0.1, 3.6.0 to before 3.6.3, 3.5.0 to before 3.5.7, 3.4.0 to before 3.4.6, 3.0.0 to before 3.0.21, 1.1.1 to before 1.1.1zh; fixed in
4.0.1,3.6.3,3.5.7,3.4.6,3.0.21,1.1.1zh
Vendor advisories:
- https://openssl-library.org/news/secadv/20260609.txt (vendor-advisory)
- https://github.com/openssl/openssl/commit/12bc26ffb3a2be728c9b86e1cae277de5b33dfa4 (patch)
- https://github.com/openssl/openssl/commit/da26f368732b83e40e9d356fe61c3d3aaab6d2e8 (patch)
- https://github.com/openssl/openssl/commit/056d06c1918fafbb98c1c85a02e4c47cc4e199ce (patch)
- https://github.com/openssl/openssl/commit/ab52d88cb5374876d59aee3c91f9e4ccce2b7ce4 (patch)
- https://github.com/openssl/openssl/commit/3ff64913615d648cfbb6a6f1cf5529ae7ea829d7 (patch)
References
- https://openssl-library.org/news/secadv/20260609.txt
- https://github.com/openssl/openssl/commit/12bc26ffb3a2be728c9b86e1cae277de5b33dfa4
- https://github.com/openssl/openssl/commit/da26f368732b83e40e9d356fe61c3d3aaab6d2e8
- https://github.com/openssl/openssl/commit/056d06c1918fafbb98c1c85a02e4c47cc4e199ce
- https://github.com/openssl/openssl/commit/ab52d88cb5374876d59aee3c91f9e4ccce2b7ce4
- https://github.com/openssl/openssl/commit/3ff64913615d648cfbb6a6f1cf5529ae7ea829d7
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.