CVE-2026-42766: Possible NULL Dereference in Password-Based CMS Decryption
Vulnerability summary
CVE-2026-42766 is a medium (CVSS 5.9) NULL Pointer Dereference vulnerability in openssl. EPSS estimates a 1.06% chance of exploitation in the next 30 days, higher than 64.5% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 28 · Related 20Timeline
- 09-06-2026PublishedVulnerability first disclosed.
- 10-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · AlpineEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.06%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
Decrease -0.05 pp
From 1.11% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard15 products
- eco-dotnet-libssl-1.0-ld-so-confAll versions (No fix recorded)
- libcrypto3< 3.6.3-r0
- libcrypto3-2.34< 3.6.3-r0
- openssl< 3.6.3-r0
- openssl-3.5< 3.5.7-r0
Ubuntu6 products
- edk2All versions (No fix recorded)
- edk2-hweAll versions (No fix recorded)
- nodejsAll versions (No fix recorded)
- openssl< 1.0.1f-1ubuntu2.27+esm14 | < 1.0.2g-1ubuntu4.20+esm16 | All versions (No fix recorded) | < 1.1.1-1ubuntu2.1~18.04.23+esm9 | < 1.1.1-1ubuntu2.fips.2.1~18.04.23.9 | < 1.1.1f-1ubuntu2.24+esm4 | < 1.1.1f-1ubuntu2.fips.24.4 | < 3.0.2-0ubuntu1.25 | < 3.0.2-0ubuntu1.25+Fips1 | < 3.0.13-0ubuntu3.11 | < 3.5.3-1ubuntu3.4 | < 3.5.5-1ubuntu3.2
- openssl-fipsAll versions (No fix recorded) | < 3.0.13-0ubuntu3.12+Fips1
Wolfi5 products
- libcrypto3< 3.6.3-r0
- openssl< 3.6.3-r0
- openssl-4.0< 4.0.1-r0
- openssl-4.0-libcrypto< 4.0.1-r0
- openssl-4.0-libssl< 4.0.1-r0
Alpine1 product
- openssl≥ 1.0.2, < 3.3.7-r1 | ≥ 1.0.2, < 3.5.7-r0
Debian1 product
- openssl< 3.0.20-1~deb12u2 | < 3.5.6-1~deb13u2 | < 3.6.3-1
Openssl1 product
- openssl≥ 4.0.0, < 4.0.1 | ≥ 1.0.2, < 1.0.2zq | ≥ 1.1.1, < 1.1.1zh | ≥ 3.0.0, < 3.0.21 | ≥ 3.4.0, < 3.4.6 | ≥ 3.5.0, < 3.5.7 | ≥ 3.6.0, < 3.6.3 | 4.0.0
6 vendors · 29 products