CVE-2026-63073: Untrusted Sender DN Used as Format String in CMP Response Validation
A flaw was found in OpenSSL. OpenSSL CMP response validation passed an unexpected response sender distinguished name directly as the format string to ERRraisedata().
A malicious or intercepted CMP endpoint can crash a CMP client that enforces an expected sender or uses a pinned server certificate whose subject becomes the default expected sender.
When validating a received CMP message, osslcmpmsgcheckupdate() converts the peer-supplied sender distinguished name with X509NAMEoneline() and passes it directly as the format argument to ERRraisedata(). Percent characters survive the conversion, so a sender DN such as "CN=%s%n" reaches BIOvsnprintf() as an attacker-controlled format string with no matching variadic arguments. This path is only reached when the caller configures an expected sender or pins a server certificate, which is the normal configuration for a CMP client validating server responses.
Since the attacker controls the format string but none of the variadic arguments, such specifiers as %s and %n dereference or write through unrelated stack contents and crash the client. The reliable consequence is a denial of service, when the response comes from a malicious or intercepted CMP endpoint. There is no controlled memory write, arbitrary-address read, or reliable path to remote code execution.
No FIPS modules are affected by this issue, as the CMP protocol implementation is outside the OpenSSL FIPS module boundary.
OpenSSL 4.0, 3.6, 3.5, and 3.4 are vulnerable to this issue. OpenSSL 3.0, 1.1.1, and 1.0.2 are not affected by this issue. OpenSSL 4.0 users should upgrade to OpenSSL 4.0.2. OpenSSL 3.6 users should upgrade to OpenSSL 3.6.4. OpenSSL 3.5 users should upgrade to OpenSSL 3.5.8. OpenSSL 3.4 users should upgrade to OpenSSL 3.4.7.
Other sources
Issue summary: OpenSSL CMP response validation passed an unexpected response sender distinguished name directly as the format string to ERRraisedata().
— Launchpad
Untrusted Sender DN Used as Format String in CMP Response Validation
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.3.7-6 - Upgrade
Upgrade
alpine/opensslto a version that resolves this vulnerability.Fixed in 3.3.7-r1 - Upgrade
Upgrade
alpine/opensslto a version that resolves this vulnerability.Fixed in 3.5.8-r0 - Upgrade
Upgrade
debian/opensslto a version that resolves this vulnerability.Fixed in 3.5.7-1~deb13u2Fixed in 3.6.4-1 - Upgrade
Upgrade
OpenSSLto a version that resolves this vulnerability.Fixed in 3.4.7 - Upgrade
Upgrade
OpenSSLto a version that resolves this vulnerability.Fixed in 3.5.8 - Upgrade
Upgrade
OpenSSLto a version that resolves this vulnerability.Fixed in 3.6.4 - Upgrade
Upgrade
OpenSSLto a version that resolves this vulnerability.Fixed in 4.0.2
Event History
Frequently Asked Questions
Which CMP deployments are exposed to this issue?
CMP clients that validate server responses by configuring an expected sender are exposed. Clients that pin a server certificate are also exposed because its subject becomes the default expected sender.
What does an attacker need to trigger the failure?
An attacker needs to control a CMP response sender distinguished name, such as by operating a malicious CMP endpoint or intercepting CMP traffic. The vulnerable validation path is reached when that sender is unexpected relative to the configured or default expected sender.
Are CMP clients affected in a typical validating configuration?
Yes. Enforcing an expected sender, including through a pinned server certificate, is described as the normal configuration for a CMP client validating server responses.
What observable effect should responders expect from exploitation?
A sender DN containing format specifiers such as %s or %n can cause the client to dereference or write through unrelated stack contents and crash. The issue affects response validation rather than ordinary processing of trusted sender data.