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 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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenSSL | OpenSSL | 4.0.0 – < 4.0.2, 3.6.0 – < 3.6.4, 3.5.0 – < 3.5.8, 3.4.0 – < 3.4.7 | 4.0.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openssl | 3.6.4-1 | — |
| Debian 13 | openssl | 3.5.7-1~deb13u2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | edk2 +1 | No fix yet | — |
| Ubuntu 26.04 LTS | edk2 +1 | No fix yet | — |
| Ubuntu 26.04 LTS | openssl | 3.5.5-1ubuntu3.4 | USN-8678-1 |
| Ubuntu 24.04 LTS | openssl | 3.0.13-0ubuntu3.15 | USN-8678-1 |
| Ubuntu 22.04 LTS | openssl | 3.0.2-0ubuntu1.29 | USN-8678-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | nodejs | No fix yet | — |
| Ubuntu Pro 16.04 LTS | nodejs | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | openssl +3 | 1:3.5.8-1.el10_2 | RHSA-2026:67154 |
| RHEL 9 | openssl +3 | 1:3.5.8-1.el9_8 | RHSA-2026:67165 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | openssl +10 | 3.5.8-0.1.hum1 | RHSA-2026:59641, RHSA-2026:59635 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | openssl +3 | 1:3.5.8-1.el10_2.alma.1 | ALSA-2026:67154 |
| AlmaLinux 9 | openssl +3 | 1:3.5.8-1.el9_8 | ALSA-2026:67165 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | openssl | 1:3.5.8-1.el10_2 | RLSA-2026:67154 |
| Rocky Linux 9 | openssl | 1:3.5.8-1.el9_8 | RLSA-2026:67165 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | openssl-3 | 3.5.0-150700.5.50.1 | SUSE-SU-2026:4039-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | openssl-3 | 3.5.0-160000.10.1 | SUSE-SU-2026:23609-1 |
| SLES 16.0 | openssl-3 | 3.5.0-160000.10.1 | SUSE-SU-2026:23609-1 |
| SLE Micro 6.2 | openssl-3 | 3.5.0-160000.10.1 | SUSE-SU-2026:23463-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | openssl-3 | 3.5.3-8.1 | openSUSE-SU-2026:11623-1 |
| openSUSE Leap 16.0 | openssl-3 | 3.5.0-160000.10.1 | openSUSE-SU-2026:21744-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | openssl | 3.5.8-r0 | — |
| Alpine v3.23 | openssl | 3.5.8-r0 | — |
| Alpine v3.22 | openssl | 3.5.8-r0 | — |
| Alpine v3.21 | openssl | 3.3.7-r1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | openssl +5 | 1:3.5.8-1.amzn2023.0.1 | ALAS2023-2026-2136 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | openssl | 3.3.7-6 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | openssl-4.0 +2 | 4.0.2-r0 | — |
Advisories 18
- WID-SEC-2026-3005 OpenSSL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
- ALSA-2026:67165 Important: openssl security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:67154 Important: openssl security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:67165 Red Hat Security Advisory: openssl security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:67154 Red Hat Security Advisory: openssl security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:59641 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:59635 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- WID-SEC-2026-3642 Meinberg LANTIME: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 14, 2026
- SUSE-SU-2026:23609-1 Security update for openssl-3 SUSE / openSUSE Security Updates · Sep 29, 2026
- RLSA-2026:67165 Important: openssl security, bug fix, and enhancement update Rocky Linux Security Advisories · Sep 15, 2026
- RLSA-2026:67154 Important: openssl security, bug fix, and enhancement update Rocky Linux Security Advisories · Sep 15, 2026
- SUSE-SU-2026:23463-1 Security update for openssl-3 SUSE / openSUSE Security Updates · Sep 14, 2026
- ALAS2023-2026-2136 Important: openssl security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 14, 2026
- SUSE-SU-2026:4039-1 Security update for openssl-3 SUSE / openSUSE Security Updates · Sep 13, 2026
- openSUSE-SU-2026:21744-1 Security update for openssl-3 SUSE / openSUSE Security Updates · Sep 9, 2026
- USN-8678-1 openssl vulnerabilities Ubuntu Security Notices (USN) · Sep 3, 2026
- openSUSE-SU-2026:11623-1 libopenssl-3-devel-3.5.3-8.1 on GA media SUSE / openSUSE Security Updates · Aug 28, 2026
- WID-SEC-2026-3034 FreeBSD Project FreeBSD OS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 25, 2026
References
- OpenSSL Advisory vendor-advisory
- 4.0.2 git commit patch
- 3.6.4 git commit patch
- 3.5.8 git commit patch
- 3.4.7 git commit patch