CVEfocus › CVE database › CVE-2026-42765

CVE-2026-42765NULL Dereference in Certificate Verification with OCSP Checking

CVSS 7.5 HighEPSS 0.5% (higher than 33% of CVEs)Published 2026-06-09Updated 2026-06-10Assigner: openssl

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.

CWE-476

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Red Hat has 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

1Fixed
53Fix pending
11Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04edk2Not affected
vulnerable_code_not_present
Ubuntu 26.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 26.04opensslNot affected
vulnerable_code_not_present
Ubuntu 25.10edk2Not affected
vulnerable_code_not_present
Ubuntu 25.10nodejsNot affected
vulnerable_code_not_present
Ubuntu 25.10opensslNot affected
vulnerable_code_not_present
Ubuntu 24.04edk2Not affected
vulnerable_code_not_present
Ubuntu 24.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 24.04opensslNot affected
vulnerable_code_not_present
Ubuntu 22.04edk2Not affected
vulnerable_code_not_present
Ubuntu 22.04opensslNot affected
vulnerable_code_not_present
Debian 14opensslFixed3.6.3-1DEBIAN-CVE-2026-42765
Red Hat Enterprise Linux 10edk2Fix pending
Fix deferred
Red Hat Enterprise Linux 10edk2-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 10edk2-ovmfFix pending
Fix deferred
Red Hat Enterprise Linux 10edk2-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 10edk2-tools-docFix pending
Fix deferred
Red Hat Enterprise Linux 10mokutilFix pending
Fix deferred
Red Hat Enterprise Linux 10opensslFix pending
Fix deferred
Red Hat Enterprise Linux 10openssl-develFix pending
Fix deferred
Red Hat Enterprise Linux 10openssl-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10openssl-perlFix pending
Fix deferred
Red Hat Enterprise Linux 10shim-aa64Fix pending
Fix deferred
Red Hat Enterprise Linux 10shim-unsigned-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 10shim-unsigned-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 10shim-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 9compat-openssl11Fix pending
Fix deferred
Red Hat Enterprise Linux 9edk2Fix pending
Fix deferred
Red Hat Enterprise Linux 9edk2-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 9edk2-ovmfFix pending
Fix deferred
Red Hat Enterprise Linux 9edk2-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 9edk2-tools-docFix pending
Fix deferred
Red Hat Enterprise Linux 9opensslFix pending
Fix deferred
Red Hat Enterprise Linux 9openssl-develFix pending
Fix deferred
Red Hat Enterprise Linux 9openssl-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9openssl-perlFix pending
Fix deferred
Red Hat Enterprise Linux 9shimFix pending
Fix deferred
Red Hat Enterprise Linux 9shim-aa64Fix pending
Fix deferred
Red Hat Enterprise Linux 9shim-unsigned-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 9shim-unsigned-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 9shim-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 8compat-openssl10Fix pending
Fix deferred
Red Hat Enterprise Linux 8edk2Fix pending
Fix deferred
Red Hat Enterprise Linux 8edk2-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 8edk2-ovmfFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw-opensslFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-opensslFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-opensslFix pending
Fix deferred
Red Hat Enterprise Linux 8opensslFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-develFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-perlFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-staticFix pending
Fix deferred
Red Hat Enterprise Linux 8shimFix pending
Fix deferred
Red Hat Enterprise Linux 8shim-aa64Fix pending
Fix deferred
Red Hat Enterprise Linux 8shim-ia32Fix pending
Fix deferred
Red Hat Enterprise Linux 8shim-unsigned-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 8shim-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 7AAVMFFix pending
Fix deferred
Red Hat Enterprise Linux 7OVMFFix pending
Fix deferred
Red Hat Enterprise Linux 7ovmfFix pending
Fix deferred
Red Hat Enterprise Linux 6opensslFix pending
Fix deferred
Red Hat Enterprise Linux 6openssl-develFix pending
Fix deferred
Red Hat Enterprise Linux 6openssl-perlFix pending
Fix deferred
Red Hat Enterprise Linux 6openssl-staticFix pending
Fix deferred

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.

Vendor advisories:

References

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.