CVE-2026-42767
JSON

5.9medium

NULL Pointer Dereference in CRMF EncryptedValue Decryption

Severity
5.9medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.56% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
openssl

Description

Issue summary: An attacker-controlled CMP (Certificate Management Protocol) server could trigger a NULL pointer dereference in a CMP client application. Impact summary: A NULL pointer dereference causes a crash of the application and a Denial of Service. An attacker controlling a CMP server (or acting as a man-in-the-middle) could craft a CMP response containing a CRMF (Certificate Request Message Format) CertRepMessage with an EncryptedValue structure where the symmAlg field has an algorithm OID but no parameters field. When the OpenSSL CMP client processes this response, the NULL dereference occurs, causing a crash of the CMP client. Applications that process untrusted CMP/CRMF 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.

Affected

Product or packageVersionsReported by
OpenSSL OpenSSLfrom 4.0.0 before 4.0.1, from 3.6.0 before 3.6.3, from 3.5.0 before 3.5.7, from 3.4.0 before 3.4.6, from 3.0.0 before 3.0.21, 4.0.0CVE List, NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Issue summary: An attacker-controlled CMP (Certificate Management Protocol) server could trigger a NULL pointer dereference in a CMP client application. Impact summary: A NULL pointer dereference causes a crash of the application and a Denial of Service. An attacker controlling a CMP server (or acting as a man-in-the-middle) could craft a CMP response containing a CRMF (Certificate Request Message Format) CertRepMessage with an EncryptedValue structure where the symmAlg field has an algorithm OID but no parameters field. When the OpenSSL CMP client processes this response, the NULL dereference occurs, causing a crash of the CMP client. Applications that process untrusted CMP/CRMF 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.

NVD (es)

Resumen del problema: Un servidor CMP (Certificate Management Protocol) controlado por el atacante podría desencadenar una desreferencia de puntero NULL en una aplicación cliente CMP. Resumen del impacto: Una desreferencia de puntero NULL causa un fallo de la aplicación y una denegación de servicio. Un atacante que controla un servidor CMP (o actuando como un man-in-the-middle) podría elaborar una respuesta CMP que contiene un CertRepMessage CRMF (Certificate Request Message Format) con una estructura EncryptedValue donde el campo symmAlg tiene un OID de algoritmo pero no un campo de parámetros. Cuando el cliente CMP de OpenSSL procesa esta respuesta, la desreferencia NULL ocurre, causando un fallo del cliente CMP. Las aplicaciones que procesan mensajes CMP/CRMF no confiables pueden verse afectadas. Los módulos FIPS en 4.0, 3.6, 3.5, 3.4 y 3.0 no se ven afectados por este problema, ya que el código afectado está fuera del límite del módulo FIPS de OpenSSL.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42767 changed 2026-06-10CVE Terms of Use
NVDCVE-2026-42767 changed 2026-07-23Public domain