Security mailing lists by PureSourceCode

CVE-2026-34182

CRITICAL 9.1CVSS 3.1

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.

Published
9 Jun 2026
Last modified
23 Jul 2026
Assigned by
openssl-security@openssl.org
NVD status
Analyzed
Weakness
CWE-354
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD openssl openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.21 3.0.21
NVD openssl openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
>= 3.4.0, < 3.4.6 3.4.6
NVD openssl openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
>= 3.5.0, < 3.5.7 3.5.7
NVD openssl openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
>= 3.6.0, < 3.6.3 3.6.3
NVD openssl openssl
cpe:2.3:a:openssl:openssl:4.0.0:-:*:*:*:*:*:*
= 4.0.0

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 9 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.