Description
Issue summary: The CMS_decrypt and PKCS7_decrypt functions are vulnerable to
Bleichenbacher-style attack when an attacker is able to provide the CMS or
S/MIME messages and observe the error code and/or decryption output.
Impact summary: The Bleichenbacher-style attack allows an attacker to use the
victim's vulnerable application as a way to decrypt or sign messages with the
victim's private RSA key.
The attack is possible in 2 variants.
1. The decryption API (CMS_decrypt(), PKCS7_decrypt()) is used without
providing the recipient certificate. In this case OpenSSL iterates over every
KeyTransRecipientInfo (KTRI) without stopping at the first success.
An attacker who authors a message with two KTRI entries — the first one
wrapping a real CEK under the victim's public key, the second with an
arbitrary probe ciphertext — obtains opportunity to iterate the 2nd KTRI to
get a valid PKCS#1 v1.5 padding if the error code of the application is
available.
That is a Bleichenbacher oracle (Bleichenbacher, CRYPTO '98): an
adaptive-chosen-ciphertext side channel from which the attacker decrypts any
RSA ciphertext to the victim's key or forges any PKCS#1 v1.5 signature under
it.
2. When the decryption API (CMS_decrypt(), PKCS7_decrypt()) is provided with
the recipient certificate, and the recipient is not found, a random
key is substituted.
An attacker who authors a message and is able to compare both error code and
the result of the decryption, can mount a Bleichenbacher oracle.
We are not aware of any applications that provide a remote attacker
an opportunity to mount an attack described in these scenarios. We consider
the existence of such application very unlikely, and for this reason this
CVE has been evaluated as Low severity.
To avoid these attacks, when RSA PKCS#1 v1.5 Key Transport is in use, the
invoked EVP_PKEY_decrypt() will use the implicit rejection mechanism described
in draft-irtf-cfrg-rsa-guidance. In previous OpenSSL releases the implicit
rejection was explicitly disabled.
The implicit rejection mechanism always returns a plaintext value,
the symmetric key. This result is deterministic for the ciphertext and the
private key. The length of the decryption result can happen to match the
length of the key of the symmetric cipher that was used for the content
encryption. When a certificate is not provided, the last RecipientInfo
producing a key that looks valid will be used. It may cause getting garbage
content on decryption. As a proper way to deal with this a recipient
certificate has to be provided to identify the particular RecipientInfo for
decryption.
The FIPS modules in 4.0, 3.6, 3.5, and 3.4 are not affected by this issue, as
CMS and S/MIME processing happens outside the OpenSSL FIPS module boundary.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenSSL | OpenSSL | 4.0.0 – < 4.0.1, 3.6.0 – < 3.6.3, 3.5.0 – < 3.5.7, 3.4.0 – < 3.4.6 | 4.0.1 |
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.3-1 | — |
| Debian 13 | openssl | 3.5.6-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.2 | — |
| Ubuntu 25.10 | edk2 | No fix yet | — |
| Ubuntu 25.10 | openssl | 3.5.3-1ubuntu3.4 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | nodejs | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | openssl +3 | 1:3.5.5-4.el10_2 | RHSA-2026:25237 |
| RHEL 9 | openssl +3 | 1:3.5.5-4.el9_8 | RHSA-2026:25239 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | bootupd +1 | 0.3.2-1.hum1 | RHSA-2026:67551 |
| Red Hat Hardened Images 1 | chunkah | 0.6.0-3.hum1 | RHSA-2026:42825 |
| Red Hat Hardened Images 1 | openssl +10 | 1:3.5.8-0.1.hum1 | RHSA-2026:59641, RHSA-2026:59635 |
| Red Hat Hardened Images 1 | python-cryptography +1 | 50.0.0-1.hum1 | RHSA-2026:55543 |
| Red Hat Hardened Images 1 | ruby3.3 +5 | 3.3.10-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | ruby3.4 +5 | 3.4.10-31.7.hum1 | RHSA-2026:62790 |
| Red Hat Hardened Images 1 | ruby4.0 +5 | 4.0.6-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem3.3-bigdecimal | 3.1.5-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-bundler | 2.5.22-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-devel +1 | 3.5.22-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-io-console | 0.7.1-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-irb | 1.13.1-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-json | 2.7.2-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-minitest | 5.20.0-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-power_assert | 2.0.3-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-psych | 5.1.2-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-racc | 1.7.3-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-rake | 13.1.0-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-rbs | 3.4.0-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-rdoc | 6.6.3.1-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-rexml | 3.4.4-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-rss | 0.3.1-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-test-unit | 3.6.1-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem3.3-typeprof | 0.21.9-23.6.hum1 | RHSA-2026:62562 |
| Red Hat Hardened Images 1 | rubygem4.0-bigdecimal | 4.0.1-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-devel +2 | 4.0.16-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-io-console | 0.8.2-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-irb | 1.16.0-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-json | 2.18.0-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-minitest | 6.0.0-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-power_assert | 3.0.1-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-psych | 5.3.1-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-racc | 1.8.1-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-rake | 13.3.1-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-rbs | 3.10.0-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-rdoc | 7.0.4-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-rexml | 3.4.4-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-rss | 0.3.2-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-test-unit | 3.7.5-37.3.hum1 | RHSA-2026:62563 |
| Red Hat Hardened Images 1 | rubygem4.0-typeprof | 0.31.1-37.3.hum1 | RHSA-2026:62563 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | openssl +3 | 1:3.5.5-4.el10_2.alma.1 | ALSA-2026:25237 |
| AlmaLinux 9 | openssl +3 | 1:3.5.5-4.el9_8 | ALSA-2026:25239 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | openssl-3 | 3.2.3-150700.5.36.1 | SUSE-SU-2026:2648-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.8.1 | SUSE-SU-2026:22315-1 |
| SLES 16.0 | openssl-3 | 3.5.0-160000.8.1 | SUSE-SU-2026:22315-1 |
| SLE Micro 6.2 | openssl-3 | 3.5.0-160000.8.1 | SUSE-SU-2026:22251-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | openssl-3 | 3.5.3-6.1 | openSUSE-SU-2026:11023-1 |
| openSUSE Leap 16.0 | openssl-3 | 3.5.0-160000.8.1 | openSUSE-SU-2026:21005-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | openssl | 3.5.7-r0 | — |
| Alpine v3.23 | openssl | 3.5.7-r0 | — |
| Alpine v3.22 | openssl | 3.5.7-r0 | — |
| Alpine v3.21 | openssl | 3.3.7-r1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | openssl +5 | 1:3.5.5-1.amzn2023.0.5 | ALAS2023-2026-1853 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | openssl | 3.3.7-3 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | openssl +3 | 1:3.5.5-5.0.1.el10_2 | ELSA-2026-25237 |
| Oracle Linux 9 | openssl +3 | 1:3.5.5-4.0.1.el9_8 | ELSA-2026-50379, ELSA-2026-25239 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | openssl +1 | 3.6.3-r0 | — |
| Wolfi rolling | openssl-4.0 +2 | 4.0.1-r0 | — |
Advisories 26
- RHSA-2026:59635 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:59641 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- WID-SEC-2026-2455 Oracle Solaris Drittanbieterkomponenten: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- WID-SEC-2026-1852 OpenSSL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
- ALSA-2026:25239 Important: openssl security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:25237 Important: openssl security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2026-2919 IBM App Connect Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 27, 2026
- RHSA-2026:67551 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:62790 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:62562 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:62563 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:55543 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:42825 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:25239 Red Hat Security Advisory: openssl security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:25237 Red Hat Security Advisory: openssl security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- ELSA-2026-25237 Important: openssl security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jul 28, 2026
- ELSA-2026-50379 Moderate: openssl security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jul 7, 2026
- SUSE-SU-2026:22315-1 Security update for openssl-3 SUSE / openSUSE Security Updates · Jul 2, 2026
- openSUSE-SU-2026:21005-1 Security update for openssl-3 SUSE / openSUSE Security Updates · Jun 30, 2026
- SUSE-SU-2026:22251-1 Security update for openssl-3 SUSE / openSUSE Security Updates · Jun 30, 2026
- SUSE-SU-2026:2648-1 Security update for openssl-3 SUSE / openSUSE Security Updates · Jun 27, 2026
- ELSA-2026-25239 Important: openssl security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 23, 2026
- ALAS2023-2026-1853 Important: openssl security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 22, 2026
- openSUSE-SU-2026:11023-1 libopenssl-3-devel-3.5.3-6.1 on GA media SUSE / openSUSE Security Updates · Jun 14, 2026
- RLSA-2026:25237 Important: openssl security update Rocky Linux Security Advisories · Jun 13, 2026
- RLSA-2026:25239 Important: openssl security update Rocky Linux Security Advisories · Jun 13, 2026
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