Vulnerability · Published Jun 9, 2026 · Assigned by openssl
CVE-2026-42769Trust-Anchor Substitution via cert/issuer Typo in CMP rootCaKeyUpdate
Medium 5.3
In plain English
A medium-severity improper certificate validation in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | openssl | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux:9 | openssl | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| AlmaLinux:10 | openssl-devel | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux:9 | openssl-devel | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| AlmaLinux:10 | openssl-libs | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux:9 | openssl-libs | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| AlmaLinux:10 | openssl-perl | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux:9 | openssl-perl | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
| Alpine:v3.22 | openssl | 3.5.7-r0 | ALPINE-CVE-2026-42769 |
| Alpine:v3.23 | openssl | 3.5.7-r0 | ALPINE-CVE-2026-42769 |
| Alpine:v3.24 | openssl | 3.5.7-r0 | ALPINE-CVE-2026-42769 |
| Debian:13 | openssl | 3.5.6-1~deb13u2 | DEBIAN-CVE-2026-42769 |
| Debian:14 | openssl | 3.6.3-1 | DEBIAN-CVE-2026-42769 |
| Rocky Linux:10 | openssl | 1:3.5.5-4.el10_2 | RLSA-2026:25237 |
| Rocky Linux:9 | openssl | 1:3.5.5-4.el9_8 | RLSA-2026:25239 |
| Ubuntu:25.10 | edk2 | no fix listed | UBUNTU-CVE-2026-42769 |
| Ubuntu:26.04:LTS | edk2 | no fix listed | UBUNTU-CVE-2026-42769 |
| Ubuntu:26.10 | edk2 | no fix listed | UBUNTU-CVE-2026-42769 |
| Ubuntu:26.04:LTS | edk2-hwe | no fix listed | UBUNTU-CVE-2026-42769 |
| Ubuntu:26.10 | edk2-hwe | no fix listed | UBUNTU-CVE-2026-42769 |
| Ubuntu:25.10 | openssl | 3.5.3-1ubuntu3.4 | UBUNTU-CVE-2026-42769 |
| Ubuntu:26.04:LTS | openssl | 3.5.5-1ubuntu3.2 | UBUNTU-CVE-2026-42769 |
Affected products (as reported)
Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- OpenSSL Advisory vendor-advisory
- 4.0.1 git commit patch
- 3.6.3 git commit patch
- 3.5.7 git commit patch
- 3.4.6 git commit patch