cve.bz

CVE-2026-42765 openssl openssl: NULL Pointer Dereference

7.5 highEPSS 0.5%Fix available

High (7.5) in openssl openssl. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
Issue summary: When a partial-chain certificate verification is enabled together with OCSP response checking for the whole chain, a NULL dereference will happen if the verified chain does not have a self-signed trusted anchor, crashing the process. Impact summary: A NULL pointer dereference can trigger a crash which leads to a Denial of Service for an application. When performing OCSP response checking for certificates in the verification chain, the code always tries to access the next certificate as the issuer. There is a check for a self-signed certificate. However with the partial chain verification enabled when the chain does not have a self-signed trusted anchor, the issuer will be NULL for the last certificate in the chain. A NULL pointer dereference then happens. This issue affects only applications which enable both OCSP verification of the certificate chain (X509_V_FLAG_OCSP_RESP_CHECK_ALL) and partial chain verification (X509_V_FLAG_PARTIAL_CHAIN) in the certificate verification. Both flags are disabled by default. For that reason, we have assigned Low severity to the issue. No FIPS modules are affected by this issue as the affected code is outside the OpenSSL FIPS module boundary.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-06-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-42765 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42765?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42765?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42765 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenSSLfrom 4.0.0 before 4.0.1
OpenSSLfrom 3.6.0 before 3.6.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14openssl3.6.3-1DEBIAN-CVE-2026-42765
Red Hathummingbird:1bootupd, rust-bootupd0:0.3.2-1.hum1RHSA-2026:67551
Red Hathummingbird:1chunkah0:0.6.0-3.hum1RHSA-2026:42825
Red Hathummingbird:1openssl, openssl-libs, openssl-perl and 4 more1:3.5.8-0.1.hum1RHSA-2026:59641
Red Hathummingbird:1openssl3, openssl3-libs, openssl3-devel and 1 more1:3.5.8-0.1.hum1RHSA-2026:59635
Red Hathummingbird:1python-cryptography, python3-cryptography0:50.0.0-1.hum1RHSA-2026:55543
Red Hathummingbird:1ruby3.3, ruby3.3-doc, ruby3.3-libs and 3 more0:3.3.10-23.6.hum1RHSA-2026:62562
Red Hathummingbird:1ruby3.4, ruby3.4-doc, ruby3.4-libs and 3 more0:3.4.10-31.7.hum1RHSA-2026:62790
Red Hathummingbird:1ruby4.0, ruby4.0-doc, ruby4.0-libs and 3 more0:4.0.6-37.3.hum1RHSA-2026:62563
Red Hathummingbird:1rubygem3.3-bigdecimal0:3.1.5-23.6.hum1RHSA-2026:62562
Red Hathummingbird:1rubygem3.3-bundler0:2.5.22-23.6.hum1RHSA-2026:62562
Red Hathummingbird:1rubygem3.3-devel, rubygem3.3-rubygems0:3.5.22-23.6.hum1RHSA-2026:62562
Red Hathummingbird:1rubygem3.3-io-console0:0.7.1-23.6.hum1RHSA-2026:62562
29 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue is rated as Low impact. A NULL pointer dereference can occur in applications that enable both OCSP response checking for the entire certificate chain and partial chain verification. Since both of these flags are disabled by default in Red Hat products, the risk of exploitation is significantly reduced. This flaw could lead to a Denial of Service if an application is configured with these non-default settings.

Red Hat's mitigation

To mitigate this issue, ensure that applications do not enable both OCSP verification of the certificate chain (X509_V_FLAG_OCSP_RESP_CHECK_ALL) and partial chain verification (X509_V_FLAG_PARTIAL_CHAIN) simultaneously. These flags are disabled by default, and maintaining the default configuration prevents exposure to this flaw. Consult application-specific documentation for details on how to configure certificate verification flags.

ProductPackageStateAdvisory
Red Hat Hardened Imageschunkah-main-0.6.0-3.hum1Fixed 2026-07-21RHSA-2026:42825
Red Hat Hardened Imagespython-cryptography-main-50.0.0-1.hum1Fixed 2026-08-17RHSA-2026:55543
Red Hat Hardened Imagesopenssl3-main-3.5.8-0.1.hum1Fixed 2026-08-25RHSA-2026:59635
Red Hat Hardened Imagesopenssl-main-3.5.8-0.1.hum1Fixed 2026-08-25RHSA-2026:59641
Red Hat Hardened Imagesruby3-3-main-3.3.10-23.6.hum1Fixed 2026-09-02RHSA-2026:62562
Red Hat Hardened Imagesruby4-0-main-4.0.6-37.3.hum1Fixed 2026-09-02RHSA-2026:62563
Red Hat Hardened Imagesruby3-4-main-3.4.10-31.7.hum1Fixed 2026-09-02RHSA-2026:62790
Red Hat Hardened Imagesrust-bootupd-main-0.3.2-1.hum1Fixed 2026-09-15RHSA-2026:67551
Red Hat Enterprise Linux 10edk2Fix deferred
Red Hat Enterprise Linux 10opensslFix deferred
Red Hat Enterprise Linux 10shimFix deferred
Red Hat Enterprise Linux 10shim-unsigned-aarch64Fix deferred
Red Hat Enterprise Linux 10shim-unsigned-x64Fix deferred
Red Hat Enterprise Linux 6opensslFix deferred
Red Hat Enterprise Linux 7ovmfFix deferred
Red Hat Enterprise Linux 8compat-openssl10Fix deferred
Red Hat Enterprise Linux 8edk2Fix deferred
Red Hat Enterprise Linux 8mingw-opensslFix deferred
Red Hat Enterprise Linux 8opensslFix deferred
Red Hat Enterprise Linux 8shimFix deferred
50 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42765.

References

Check your stackJSON