Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.8

OpenSSL CMP client may crash from crafted sender name

published 1 day ago
Summary

The OpenSSL library used by the peacefounder/appbundler and juliabinarywrappers/openssl_jll packages can stop working if it receives a certificate management message that contains a specially crafted sender name. An attacker who can alter or fake the response can cause the client to crash, resulting in a denial of service. Update to the latest library version or apply the vendor's patch to fix the problem.

What to do
  • Update peacefounder appbundler to version 1.0.1.
  • Update juliabinarywrappers openssl_jll to version 3.5.8+0.
Affected software
Ecosystem VendorProductAffected versions
Julia peacefounder appbundler >= 1.0.0, < 1.0.1
Fix: upgrade to 1.0.1
Julia juliabinarywrappers openssl_jll >= 3.5.0+0, < 3.5.8+0
Fix: upgrade to 3.5.8+0
Original advisory text
Issue summary: OpenSSL CMP response validation passed an unexpected response sender distinguished...
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 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.

FIPS impact: no

No FIPS modules are affected by this issue, as the CMP protocol
implementation is outside the OpenSSL FIPS module boundary.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker full control (estimated)
Severity
9.8 Critical
Timeline
Published1 Dec 2026
Updated1 Dec 2026
First seen1 Dec 2026
Sources
Track software like this
Free during beta