← VULNERABILITIES

DHI-42pw-7jen-n36k-exop

Issue summary: OpenSSL CMP response validation passed an unexpected response

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-20
Age
11d old
Modified
2026-11-27
Product
Docker Hardened Images:Alpine:3.23 openssl-provider-fips

Description

Issue summary: OpenSSL CMP response validation passed an unexpected response sender distinguished name directly as the format string to `ERR_raise_data()`. Impact summary: 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. CWE: CWE-134 (Use of Externally-Controlled Format String) Description: When validating a received CMP message, ossl_cmp_msg_check_update() converts the peer-supplied sender distinguished name with X509_NAME_oneline() and passes it directly as the format argument to ERR_raise_data(). Percent characters survive the conversion, so a sender DN such as "CN=%s%n" reaches BIO_vsnprintf() 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 co

Fixed in

3.5.7-1~deb13u2+dhi0 · 3.5.8-r0 · 3.5.8-r1

Affected packages

EcosystemPackageRangeFixed
Docker Hardened Images:Alpine:3.23openssl>=0, <3.5.8-r03.5.8-r0
Docker Hardened Images:Alpine:3.24openssl>=0, <3.5.8-r13.5.8-r1
Docker Hardened Images:Debian:13openssl>=0, <3.5.7-1~deb13u2+dhi03.5.7-1~deb13u2+dhi0

Sources

  • OSV · first seen 10d ago · CC-BY 4.0

References

JSON