← VULNERABILITIES

DHI-vldu-hzfh-mwks-2rmp

Issue summary: The CMS_decrypt and PKCS7_decrypt functions are vulnerable to

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: 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 decryp

Fixed in

3.5.6-1~deb13u2+dhi0 · 3.5.7-1~deb13u2+dhi0 · 3.5.7-1~deb13u3+dhi0 · 3.5.7-r0 · 3.5.9-1~deb13u1+dhi0

Affected packages

EcosystemPackageRangeFixed
Docker Hardened Images:Alpine:3.23openssl>=0, <3.5.7-r03.5.7-r0
Docker Hardened Images:Alpine:3.24openssl>=0, <3.5.7-r03.5.7-r0
Docker Hardened Images:Debian:13openssl>=0, <3.5.6-1~deb13u2+dhi03.5.6-1~deb13u2+dhi0
Docker Hardened Images:Debian:13openssl>=3.5.6-1~deb13u2+fips+dhi0, <3.5.7-1~deb13u2+dhi03.5.7-1~deb13u2+dhi0
Docker Hardened Images:Debian:13openssl>=3.5.7-1~deb13u2+fips+dhi0, <3.5.7-1~deb13u3+dhi03.5.7-1~deb13u3+dhi0
Docker Hardened Images:Debian:13openssl>=3.5.7-1~deb13u3+fips+dhi0, <3.5.9-1~deb13u1+dhi03.5.9-1~deb13u1+dhi0

Sources

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

References

JSON