CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-34182

Critical · CVSS 9.1

OpenSSL — Insufficient input validation on AuthEnvelopedData cipher and tag length fields leading to authentication bypass and decryption oracle (CWE-354)

CVSS
9.1
nvd
EPSS
KEV
No
Class
other
CWE-354

Description

Issue Summary: Cryptographic Message Services (CMS) processing fails to perform sufficient input validation on the cipher and tag length fields of AuthEnvelopedData containers, leading to various potential compromises. Impact Summary: Attackers making use of these vulnerabilities may achieve key-equivalent functionality for a given CMS recipient and/or bypass integrity validation for a given message. In one use case, an attacker may send a CMS message containing AuthEnvelopedData with the cipher specified as a non-AEAD cipher. OpenSSL erroneously allows this selection, and attempts to decrypt and validate the message. An on-path attacker who captures one legitimate AES-GCM AuthEnvelopedData addressed to the victim can re-emit it with the recipientInfos set left byte-for-byte intact, so the victim's private key still unwraps the genuine CEK (the content-encryption key), but with the inner OID rewritten to AES-256-OFB (Output Feedback Mode, an unauthenticated keystream mode) and with an attacker-chosen IV and ciphertext. The victim initializes AES-256-OFB under the real CEK, never consults the MAC field, and CMS_decrypt() returns success. If the application under attack responds to the attacker with any indicator showing success or failure of the decryption effort, it is possible for the attacker to use this as an oracle to obtain key equivalent functionality for the CEK used for the chosen recipient of the message. In another use case, an attacker can reduce the tag length of the chosen AEAD cipher for a given AuthEnvelopedData container to be a single byte long, allowing an attacker to brute force CMS decryption, producing an integrity bypass for applications that trust CMS_decrypt() to reject modified content. The FIPS modules are not affected by this issue.

Search profile — drives PoC discovery

Symbols CMS_decryptAuthEnvelopedDatarecipientInfosAES-256-OFBAES-GCMCEKCMS_AuthEnvelopedDataciphertag lengthCMS_decrypt()OIDcontentEncryptionAlgorithmaes-256-ofbnon-AEADGCM tag truncation
Keywords CVE-2026-34182OpenSSLAuthEnvelopedDataCMS decrypt oracleAES-GCM downgrade OFBtag length bypassCMS_decrypt authentication bypassOpenSSL CMS non-AEADOpenSSL CMS integrity bypassOpenSSL AuthEnvelopedData PoCOpenSSL AEAD tag truncation
Versions: Affected versions prior to fixes in commits: 03c1f4d45f, 439ed7d2c0, 7947e6a81e, 9fd97f8cfd, d2ca86bcd4

References

Status: enriched · ingested 2026-06-16T00:00:58.000Z · profiled 2026-06-16T18:20:23.035Z