CVE-2026-42769

Issue Summary: An error in the callback used to verify the certificate provided in a Root CA key update Certificate Management Protocol (CMP) message response rendered the certificate validation ineffectual, which could lead to escalation of credentials from the Registration Authority (RA) level to the root Certification Authority (root CA) level. Impact Summary: The Registration Autority could replace the root CA certificate for the CMP clients with an arbitrary root CA certificate. One of the parts of the Certificate Management Protocol (CMP), specified in RFC 9810, is Root Certification Authority (root CA) key Rollover, which is sent by the server in a message with type 'id-it-rootCaKeyUpdate'. As part of these messages, 'newWithOld' certificate, the new root CA certificate signed with the old root CA key, is provided, and verifying its signature is crucial for transferring the trust from the old CA key to the new one. The 'id-it-rootCaKeyUpdate' messages are expected to be processed with OSSL_CMP_get1_rootCaKeyUpdate(), that is expected to verify the 'newWithOld' certificate. A typo in the certificate chain building code led to adding an incorrect certificate ('newWithOld' instead of 'oldRoot') to the certificate chain, rendering the certificate verification process ineffectual (only the issuer name and the algorithm OIDs were verified by other parts of the verification code). An attacker who already has credentials that satisfy the CMP message protection checks can generate a new key pair and use a crafted self-signed certificate in its 'id-it-rootCaKeyUpdate' CMP messages which affected CMP clients would accept as a new trust anchor. Significant preconditions for the attack (having valid RA-level credentials) are the reason the issue was assigned Low severity. The FIPS modules are not affected by this issue, as the affected code is outside the OpenSSL FIPS module boundary.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
cpe:2.3:a:openssl:openssl:4.0.0:-:*:*:*:*:*:*

History

23 Jul 2026, 08:10

Type Values Removed Values Added
Summary
  • (es) Resumen del Problema: Un error en la función de devolución de llamada utilizada para verificar el certificado proporcionado en una respuesta de mensaje del Protocolo de Gestión de Certificados (CMP) de actualización de clave de CA raíz hizo que la validación del certificado fuera ineficaz, lo que podría llevar a la escalada de credenciales del nivel de Autoridad de Registro (RA) al nivel de Autoridad de Certificación raíz (CA raíz). Resumen del Impacto: La Autoridad de Registro podría reemplazar el certificado de CA raíz para los clientes CMP con un certificado de CA raíz arbitrario. Una de las partes del Protocolo de Gestión de Certificados (CMP), especificado en RFC 9810, es la Sustitución de Clave de Autoridad de Certificación raíz (CA raíz), que es enviada por el servidor en un mensaje de tipo 'id-it-rootCaKeyUpdate'. Como parte de estos mensajes, se proporciona el certificado 'newWithOld', el nuevo certificado de CA raíz firmado con la clave de CA raíz antigua, y verificar su firma es crucial para transferir la confianza de la clave de CA antigua a la nueva. Se espera que los mensajes 'id-it-rootCaKeyUpdate' sean procesados con OSSL_CMP_get1_rootCaKeyUpdate(), que se espera que verifique el certificado 'newWithOld'. Un error tipográfico en el código de construcción de la cadena de certificados llevó a añadir un certificado incorrecto ('newWithOld' en lugar de 'oldRoot') a la cadena de certificados, haciendo que el proceso de verificación del certificado fuera ineficaz (solo el nombre del emisor y los OID del algoritmo fueron verificados por otras partes del código de verificación). Un atacante que ya tiene credenciales que satisfacen las comprobaciones de protección de mensajes CMP puede generar un nuevo par de claves y usar un certificado autofirmado manipulado en sus mensajes CMP 'id-it-rootCaKeyUpdate' que los clientes CMP afectados aceptarían como un nuevo ancla de confianza. Las precondiciones significativas para el ataque (tener credenciales válidas a nivel de RA) son la razón por la que el problema fue asignado con severidad Baja. Los módulos FIPS no se ven afectados por este problema, ya que el código afectado está fuera del límite del módulo FIPS de OpenSSL.

15 Jun 2026, 18:26

Type Values Removed Values Added
CPE cpe:2.3:a:openssl:openssl:4.0.0:-:*:*:*:*:*:*
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
First Time Openssl openssl
Openssl
References () https://github.com/openssl/openssl/commit/54d0989997e5fc26057009a9782c3441ce3842fb - () https://github.com/openssl/openssl/commit/54d0989997e5fc26057009a9782c3441ce3842fb - Patch
References () https://github.com/openssl/openssl/commit/777b363b16fcf2153bb3ded39dc3838713667c44 - () https://github.com/openssl/openssl/commit/777b363b16fcf2153bb3ded39dc3838713667c44 - Patch
References () https://github.com/openssl/openssl/commit/d35cd473a271bf3ce7bf3d32af53217fb83ae92c - () https://github.com/openssl/openssl/commit/d35cd473a271bf3ce7bf3d32af53217fb83ae92c - Patch
References () https://github.com/openssl/openssl/commit/d531f21c0fe99067a66fc0ff1161ef127f9cd70b - () https://github.com/openssl/openssl/commit/d531f21c0fe99067a66fc0ff1161ef127f9cd70b - Patch
References () https://openssl-library.org/news/secadv/20260609.txt - () https://openssl-library.org/news/secadv/20260609.txt - Vendor Advisory

10 Jun 2026, 08:16

Type Values Removed Values Added
References
  • {'url': 'https://github.com/openssl/security/commit/54d0989997e5fc26057009a9782c3441ce3842fb', 'source': 'openssl-security@openssl.org'}
  • {'url': 'https://github.com/openssl/security/commit/777b363b16fcf2153bb3ded39dc3838713667c44', 'source': 'openssl-security@openssl.org'}
  • {'url': 'https://github.com/openssl/security/commit/d35cd473a271bf3ce7bf3d32af53217fb83ae92c', 'source': 'openssl-security@openssl.org'}
  • {'url': 'https://github.com/openssl/security/commit/d531f21c0fe99067a66fc0ff1161ef127f9cd70b', 'source': 'openssl-security@openssl.org'}
  • () https://github.com/openssl/openssl/commit/54d0989997e5fc26057009a9782c3441ce3842fb -
  • () https://github.com/openssl/openssl/commit/777b363b16fcf2153bb3ded39dc3838713667c44 -
  • () https://github.com/openssl/openssl/commit/d35cd473a271bf3ce7bf3d32af53217fb83ae92c -
  • () https://github.com/openssl/openssl/commit/d531f21c0fe99067a66fc0ff1161ef127f9cd70b -

09 Jun 2026, 21:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3

09 Jun 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-09 17:17

Updated : 2026-07-23 08:10


NVD link : CVE-2026-42769

Mitre link : CVE-2026-42769

CVE.ORG link : CVE-2026-42769


JSON object : View

Products Affected

openssl

  • openssl
CWE
CWE-295

Improper Certificate Validation