Skip to main content
Vulnerability Database/CVE-2026-75805

CVE-2026-75805: OpenSSL CMP Client DOS Vulnerability

CVE-2026-75805 is a NULL pointer dereference flaw in OpenSSL CMP client causing denial of service when processing crafted revocation responses. This post explains its technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-75805 Overview

CVE-2026-75805 is a NULL pointer dereference vulnerability in the OpenSSL Certificate Management Protocol (CMP) client. The flaw affects clients that request certificate revocation using a PKCS#10 Certificate Signing Request (CSR) rather than a certificate or issuer/serial pair. A malicious or compromised CMP server can return a specially crafted revocation response that triggers a read from a NULL pointer, crashing the client. The issue is tracked under CWE-476: NULL Pointer Dereference and results in a Denial of Service (DoS) condition for the affected client application.

Critical Impact

A malicious CMP server or man-in-the-middle attacker with knowledge of the message protection secret can crash OpenSSL CMP clients performing PKCS#10-based certificate revocation.

Affected Products

  • OpenSSL CMP client implementations invoking openssl cmp -cmd rr -csr <file>
  • Applications using OSSL_CMP_exec_RR_ses() with OSSL_CMP_CTX_set1_p10CSR()
  • OpenSSL library builds that ship the CMP protocol implementation (non-FIPS module code path)

Discovery Timeline

  • 2026-09-29 - CVE-2026-75805 published to the National Vulnerability Database
  • 2026-09-29 - OpenSSL project publishes Security Advisory 20260929
  • 2026-09-29 - Last updated in NVD database

Technical Details for CVE-2026-75805

Vulnerability Analysis

A CMP client that revokes a certificate must identify the target certificate to the server. The client may supply a PKCS#10 CSR instead of the certificate itself or an issuer name and serial number. When the server responds, it may optionally echo back the identity of the revoked certificate, and the client compares that identity against what it originally sent.

When the client supplied only a CSR, it never sent an issuer name or serial number. The comparison logic in crypto/cmp/cmp_client.c still attempts to compare the server-provided values against the client's local values, which are NULL. Calling X509_NAME_cmp() or ASN1_INTEGER_cmp() with a NULL first argument dereferences the null pointer and terminates the process.

Because the revocation response is validated for correct message protection before the vulnerable code executes, exploitation requires either a malicious server, a compromised server, or an on-path attacker holding the shared secret used for CMP message protection.

Root Cause

The root cause is missing NULL guards around the issuer and serial pointers in the CMP client's response verification routine. The revocation code path handling PKCS#10 CSR-based requests did not account for the fact that those two fields are legitimately absent, and passed uninitialized pointers directly into OpenSSL comparison functions.

Attack Vector

The attack vector is network-based and requires an authenticated position in the CMP message exchange. An attacker operating as, or intercepting communications with, a CMP server responds to a legitimate revocation request from a client that used the -csr option. The crafted response includes a CertId structure whose name field triggers the unguarded comparison path, crashing the client and denying it the ability to complete the revocation transaction.

c
// Patch: crypto/cmp/cmp_client.c - Guard comparisons when values are NULL
            ret = 0;
            goto err;
        }
-        if (X509_NAME_cmp(issuer, OSSL_CRMF_CERTID_get0_issuer(cid)) != 0) {
+        /*
+         * The issuer and serial number are absent if the certificate to be
+         * revoked was given as a PKCS#10 CSR, in which case there is nothing
+         * to check the CertId of the response against.
+         */
+        if (issuer != NULL
+            && X509_NAME_cmp(issuer, OSSL_CRMF_CERTID_get0_issuer(cid)) != 0) {
#ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
            ERR_raise(ERR_LIB_CMP, CMP_R_WRONG_CERTID_IN_RP);
            ret = 0;
            goto err;
#endif
        }
-        if (ASN1_INTEGER_cmp(serial,
-                OSSL_CRMF_CERTID_get0_serialNumber(cid))
-            != 0) {
+        if (serial != NULL
+            && ASN1_INTEGER_cmp(serial,
+                   OSSL_CRMF_CERTID_get0_serialNumber(cid))
+                != 0) {
#ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
            ERR_raise(ERR_LIB_CMP, CMP_R_WRONG_SERIAL_IN_RP);
            ret = 0;
// Source: https://github.com/openssl/openssl/commit/7588db7fef14209c3caa3a101d11a02006b19166

The patch adds explicit != NULL checks before invoking X509_NAME_cmp() and ASN1_INTEGER_cmp(), short-circuiting the comparison when the client never sent identifying values.

Detection Methods for CVE-2026-75805

Indicators of Compromise

  • Unexpected termination or segmentation faults in applications invoking openssl cmp -cmd rr -csr
  • Crash reports referencing OSSL_CMP_exec_RR_ses or crypto/cmp/cmp_client.c in stack traces
  • Repeated failed revocation attempts against a specific CMP server endpoint

Detection Strategies

  • Inventory hosts running OpenSSL binaries and identify applications that call the CMP revocation API with PKCS#10 CSR input
  • Inspect application and process crash logs for SIGSEGV events originating in OpenSSL CMP code paths
  • Monitor CMP transaction telemetry for revocation requests followed by abnormal client termination

Monitoring Recommendations

  • Alert on process crashes for services that integrate OpenSSL CMP for certificate lifecycle management
  • Log outbound CMP traffic and correlate response payloads with client-side crash events
  • Track OpenSSL package versions across the fleet and flag hosts running unpatched builds

How to Mitigate CVE-2026-75805

Immediate Actions Required

  • Upgrade OpenSSL to the fixed release identified in the OpenSSL Security Advisory 20260929
  • Audit applications that call OSSL_CMP_CTX_set1_p10CSR() and prioritize their patching
  • Restrict CMP client communications to trusted, authenticated server endpoints only

Patch Information

The OpenSSL project has committed fixes across multiple branches that add NULL guards before the issuer and serial number comparisons. Reference commits include 7588db7, 7ca0ccb, 9eb2a8a, and abf0287. No FIPS modules are affected because the CMP implementation lies outside the OpenSSL FIPS module boundary.

Workarounds

  • Identify the certificate to be revoked by certificate object or by issuer name and serial number, rather than by a PKCS#10 CSR
  • Enforce strict CMP server authentication and validate the shared secret provisioning process to prevent MITM abuse
  • Isolate CMP client processes so that a crash does not cascade into wider service outages
bash
# Prefer certificate-based revocation instead of the vulnerable CSR path
openssl cmp -cmd rr -cert /path/to/cert.pem -key /path/to/key.pem \
    -server https://cmp.example.com/pkix -ref <reference> -secret <secret>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.