Skip to main content
No exploitation reportedFix available

CVE-2026-42766

Possible NULL Dereference in Password-Based CMS Decryption

No exploitation reported by the sources we read.

  • Published2026-06-09
  • Fixed in3.6.3 · 3.5.7 · 3.4.6 · 3.0.21 · 1.1.1zh · 1.0.2zq
  • WeaknessCWE-476

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-06-0917:17CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2026-42766?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2026-42766?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
OpenSSL
BranchAffectedFixed in
3.6≥ 3.6.0, < 3.6.33.6.3
3.5≥ 3.5.0, < 3.5.73.5.7
3.4≥ 3.4.0, < 3.4.63.4.6
3.0≥ 3.0.0, < 3.0.213.0.21
1.1≥ 1.1.1, < 1.1.1zh1.1.1zh
1.0≥ 1.0.2, < 1.0.2zq1.0.2zq
4.0= 4.0.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • opensslAlmaLinux:10all versions · fixed in 1:3.5.5-4.el10_2.alma.1and 3 other packages
  • opensslAlmaLinux:9all versions · fixed in 1:3.5.5-4.el9_8and 3 other packages

Vendor advisories

  • CVE-2026-42766 Red Hat Product Security207 products fixed · 53 known affected

    openssl: Possible NULL Dereference in Password-Based CMS Decryption

    edk2-aarch64 as a component of Red Hat Enterprise Linux 10 · edk2-ovmf as a component of Red Hat Enterprise Linux 10 · edk2-tools as a component of Red Hat Enterprise Linux 10 · +50 more

  • RHSA-2026:82888 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.17.2

  • RHSA-2026:82857 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.18.2

  • RHSA-2026:82372 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.18.2

  • RHSA-2026:82354 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.18.2

  • RHSA-2026:82347 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: cert-manager Operator for Red Hat OpenShift 1.18.2

17 more advisories

Full record on NVD

Fix

  1. Update OpenSSL to 3.6.3 · 3.5.7 · 3.4.6 · 3.0.21 · 1.1.1zh · 1.0.2zq
  2. Vendor fix Red Hat Product Security RHSA-2026:82888 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. The steps to apply the upgraded images are different depending on the installation plan approval policy you used when installing the cert-manager Operator for Red Hat OpenShift. - If t…
  3. Vendor fix Red Hat Product Security RHSA-2026:67551 · 3 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
  4. Vendor fix Red Hat Product Security RHSA-2026:58981 · 3 productsPlease consult the RHUI Technology Preview Release Notes at https://access.redhat.com/articles/7141172 for instructions on how to use this image set.
  5. Vendor fix Red Hat Product Security RHSA-2026:34102 · 2 productsThe Insights proxy container image provided here is downloaded by the Red Hat Insights proxy product RPM. Before applying this update, make sure all previously released errata relevant to your system have been applied.
  6. Vendor fix Red Hat Product Security RHSA-2026:29197 · 4 productsThe containers required to run Discovery can be installed through discovery-installer RPM. See the official documentation for more details.
  7. Vendor fix Red Hat Product Security RHSA-2026:26319 · 4 productsThe container images provided by this release, apart from the installer, should be deployed using rhui-installer utility. See the official documentation for more details.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2026-06-09
Last Modified
2026-07-23
NVD status
Analyzed
MSRC Title
Possible NULL Dereference in Password-Based CMS Decryption

Frequently asked questions

What is CVE-2026-42766?

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.

Is CVE-2026-42766 actively exploited?

Active exploitation of CVE-2026-42766 has not been confirmed. Its EPSS score was 1.1% on 2026-10-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-42766?

CVE-2026-42766 has a CVSS v3 base score of 5.9 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running OpenSSL? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month