Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2026-42768— Multi-RecipientInfo Bleichenbacher Oracle in CMS_decrypt() and PKCS7_decrypt()

AI Predicted 5.9 Difficulty: Theoretical EPSS 0.01% · P1

Possible ATT&CK Techniques 1AI

T1408.002

Affected Version Matrix 4

VendorProductVersion RangeStatus
OpenSSLOpenSSL4.0.0< 4.0.1affected
3.6.0< 3.6.3affected
3.5.0< 3.5.7affected
3.4.0< 3.4.6affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-42768

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Multi-RecipientInfo Bleichenbacher Oracle in CMS_decrypt() and PKCS7_decrypt()
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
隐蔽通道
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
OpenSSLOpenSSL 4.0.0 ~ 4.0.1 -

II. Public POCs for CVE-2026-42768

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42768

登录查看更多情报信息。

Patches & Fixes for CVE-2026-42768 (4)

Vendor Advisories for CVE-2026-42768 (1)

Same Patch Batch · OpenSSL · 2026-06-09 · 18 CVEs total

CVE-2026-45445AES-OCB IV Ignored on EVP_Cipher() Path
CVE-2026-34183Unbounded Memory Growth in the QUIC PATH_CHALLENGE Handler
CVE-2026-34181PKCS#12 Files with PBMAC1 Are Accepted with Short HMAC Keys
CVE-2026-34180Heap Buffer Over-read in ASN.1 Content Parsing
CVE-2026-34182CMS AuthEnvelopedData Processing May Accept Forged Messages
CVE-2026-9076Out-of-Bounds Read in CMS Password-Based Decryption
CVE-2026-35188Double-free When Checking OCSP Stapled Response
CVE-2026-7383Possible Heap Buffer Overflow in ASN.1 Multibyte String Conversion
CVE-2026-45446Incorrect Tag Processing for Empty Messages in AES-GCM-SIV and AES-SIV modes
CVE-2026-42771Possible Out of Bounds Read in X509_VERIFY_PARAM_set1_email()
CVE-2026-45447Heap Use-After-Free in the PKCS7_verify() Function
CVE-2026-42769Trust-Anchor Substitution via cert/issuer Typo in CMP rootCaKeyUpdate
CVE-2026-42767NULL Pointer Dereference in CRMF EncryptedValue Decryption
CVE-2026-42766Possible NULL Dereference in Password-Based CMS Decryption
CVE-2026-42764NULL Pointer Dereference in QUIC Server Initial Packet Handling
CVE-2026-42770FFC-DH Peer Validation Uses Attacker-Supplied q
CVE-2026-42765NULL Dereference in Certificate Verification with OCSP Checking

IV. Related Vulnerabilities

V. Comments for CVE-2026-42768

No comments yet


Leave a comment