CVE-2026-42766
openssl: Possible NULL Dereference in Password-Based CMS Decryption
Overview
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.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-476
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | AppBundler | >=1.0.0, <1.0.1 | 1.0.1 |
| Julia | Openresty_jll | >=0 | No fix yet |
| Julia | OpenSSL_jll | <3.5.7+0 | 3.5.7+0 |
Open a package to see all its vulnerabilities.
Operating systems · 85 fixes
Azure Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | edk2 | 0:20240524git3e722403cd16-18.azl3 |
| 3.0 | openssl | 0:3.3.7-3.azl3 |
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 10:3.5.5-4.0.1.el9_8_fips |
| 9 | openssl +3 | 1:3.5.5-4.0.1.el9_8 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssl +4 | 3.0.21-1.ph4 |
| 5.0 | openssl +5 | 3.5.7-1.ph5 |
Red Hat 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | aavmf +3 | affected | — |
| 8 | compat-openssl10 +18 | affected | — |
| 9 | compat-openssl11 +12 | affected | — |
| 9 | openssl +3 | 1:3.5.5-4.el9_8 | RHSA-2026:25239 |
SUSE Linux Enterprise 6 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libopenssl-1-0-0-devel +7 | 1.0.2p-3.109.1 | SUSE-SU-2026:2396-1 |
| 12.5 | libopenssl-1-1-devel +6 | 1.1.1d-2.131.1 | SUSE-SU-2026:2403-1 |
| 15.4 | libopenssl-1-0-0-devel +4 | 1.0.2p-150000.3.108.1 | SUSE-SU-2026:2399-1 |
| 15.4 | libopenssl-1-1-devel +6 | 1.1.1l-150400.7.96.2 | SUSE-SU-2026:2614-1 |
| 15.4 | libopenssl-3-devel +2 | 3.0.8-150400.4.87.1 | SUSE-SU-2026:2598-1 |
| 15.5 | libopenssl-1-0-0-devel +4 | 1.0.2p-150000.3.108.1 | SUSE-SU-2026:2399-1 |
9 more rows
SUSE Linux Enterprise Micro 6 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.96.2 | SUSE-SU-2026:2614-1 |
| 5.3 | libopenssl3 | 3.0.8-150400.4.87.1 | SUSE-SU-2026:2598-1 |
| 5.4 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.96.2 | SUSE-SU-2026:2614-1 |
| 5.4 | libopenssl3 | 3.0.8-150400.4.87.1 | SUSE-SU-2026:2598-1 |
| 5.5 | libopenssl-1-1-devel +3 | 1.1.1l-150500.17.57.2 | SUSE-SU-2026:2405-1 |
| 6.0 | libopenssl-3-devel +3 | 3.1.4-14.1 | SUSE-SU-2026:22100-1 |
2 more rows
alma 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.5.5-4.el9_8 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.5.7-r0 |
| 3.23 | openssl | 3.5.7-r0 |
| 3.24 | openssl | 3.5.7-r0 |
| edge | openssl | 3.5.7-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +10 | 1:3.5.5-1.amzn2023.0.5 |
chainguard 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-provider-fips-3-4-0 +1 | not affected | |
| openssl-3-5 | 3.5.7-r0 | |
| libcrypto3-2-34 +1 | 3.6.3-r0 | |
| openssl-4-0 | 4.0.1-r0 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | openssl | 1.1.1w-0+deb11u8 |
| 12 | openssl | 3.0.20-1~deb12u2 |
| 13 | openssl | 3.5.6-1~deb13u2 |
| 14 | openssl | 3.6.3-1 |
echo 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-1-1-1c | 1.1.1c+e1 | |
| openssl-1-1-1g | 1.1.1g+e1 | |
| openssl-1-1-1k | 1.1.1k+e1 | |
| openssl | 3.0.20-1~deb12u2 | |
| openssl-3-0-9 | 3.0.9+e1 | |
| openssl-3-1-0 | 3.1.0+e1 |
1 more row
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-3-0 | 3.0.21-r0 | |
| openssl | 3.5.7-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-3-devel +9 | 3.5.3-6.1 | openSUSE-SU-2026:11023-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | libopenssl-3-devel +6 | 3.5.0-160000.8.1 | openSUSE-SU-2026:21005-1 |
rocky 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssl +1 | 1:3.5.5-4.el10_2 |
| 9 | openssl +1 | 1:3.5.5-4.el9_8 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp999 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp2 |
| 8 | openssl +1 | 1:1.1.1k-6.el8_5+sp999 |
| 9 | openssl +1 | 1:3.2.2-6.el9_5+sp999 |
seal alpine 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl | 1.1.1t-r003 | |
| seal-openssl | 1.1.1t-r353412 | |
| openssl +1 | 3.3.2-r45341999 | |
| openssl | 3.3.3-r0000 | |
| seal-openssl | 3.3.3-r053413 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 3.0.11-1~deb12u2+sp999 | |
| openssl +1 | 3.0.13-0ubuntu3.4+sp999 | |
| openssl +1 | 3.0.16-1~deb12u1+sp999 | |
| openssl +1 | 3.0.2-0ubuntu1.19+sp999 | |
| openssl +1 | 3.0.2-0ubuntu1.20+sp999 | |
| openssl +1 | 3.5.4-1~deb13u1+sp999 |
ubuntu 5 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | openssl1-0 | 1.0.2n-1ubuntu5.13+esm5 |
| 18.04-ESM | openssl | 1.1.1-1ubuntu2.1~18.04.23+esm9 |
| 20.04-ESM | openssl | 1.1.1f-1ubuntu2.24+esm4 |
| 22.04 | nodejs | affected |
| 22.04 | openssl | 3.0.2-0ubuntu1.25 |
| 24.04 | openssl | 3.0.13-0ubuntu3.11 |
1 more row
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.6.3-r0 | |
| openssl-4-0 | 4.0.1-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:25237
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:25239
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-42766
- bugzilla.redhat.com https://bugzilla.redhat.com/2481879
- bugzilla.redhat.com https://bugzilla.redhat.com/2481880
- bugzilla.redhat.com https://bugzilla.redhat.com/2481881
- bugzilla.redhat.com https://bugzilla.redhat.com/2481882
- bugzilla.redhat.com https://bugzilla.redhat.com/2481884
- bugzilla.redhat.com https://bugzilla.redhat.com/2481885
- bugzilla.redhat.com https://bugzilla.redhat.com/2481887
Show all 69 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2481890
- bugzilla.redhat.com https://bugzilla.redhat.com/2481891
- bugzilla.redhat.com https://bugzilla.redhat.com/2481892
- bugzilla.redhat.com https://bugzilla.redhat.com/2481893
- bugzilla.redhat.com https://bugzilla.redhat.com/2481894
- bugzilla.redhat.com https://bugzilla.redhat.com/2481896
- bugzilla.redhat.com https://bugzilla.redhat.com/2481897
- bugzilla.redhat.com https://bugzilla.redhat.com/2481898
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481879
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481880
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481881
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481882
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481884
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481885
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481887
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481890
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481891
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481892
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481893
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481894
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481896
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481897
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481898
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34180
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34181
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34182
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34183
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42764
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42766
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42767
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42768
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42769
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42770
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-45445
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-45446
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-45447
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-7383
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-9076
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-25239.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:25237
- github.com https://github.com/advisories/GHSA-58mv-qqmv-gqgv
- github.com https://github.com/openssl/openssl/commit/056d06c1918fafbb98c1c85a02e4c47cc4e199ce
- github.com https://github.com/openssl/openssl/commit/12bc26ffb3a2be728c9b86e1cae277de5b33dfa4
- github.com https://github.com/openssl/openssl/commit/3ff64913615d648cfbb6a6f1cf5529ae7ea829d7
- github.com https://github.com/openssl/openssl/commit/ab52d88cb5374876d59aee3c91f9e4ccce2b7ce4
- github.com https://github.com/openssl/openssl/commit/da26f368732b83e40e9d356fe61c3d3aaab6d2e8
- github.com https://github.com/openssl/security/commit/056d06c1918fafbb98c1c85a02e4c47cc4e199ce
- github.com https://github.com/openssl/security/commit/12bc26ffb3a2be728c9b86e1cae277de5b33dfa4
- github.com https://github.com/openssl/security/commit/3ff64913615d648cfbb6a6f1cf5529ae7ea829d7
- github.com https://github.com/openssl/security/commit/ab52d88cb5374876d59aee3c91f9e4ccce2b7ce4
- github.com https://github.com/openssl/security/commit/da26f368732b83e40e9d356fe61c3d3aaab6d2e8
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-42766.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-50379.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-42766
- openssl-library.org https://openssl-library.org/news/secadv/20260609.txt
- ubuntu.com https://ubuntu.com/security/notices/USN-8414-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8414-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-42766
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.