REDHAT-BUG-2481884: Input Validation

Published May 27, 2026
·
Updated

CMS AuthEnvelopedData Processing May Accept Forged Messages

CMS AuthEnvelopedData Processing May Accept Forged Messages (CVE-2026-34182) Severity: Moderate

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 CMSdecrypt() 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 CMSdecrypt() to reject modified content.

The FIPS modules are not affected by this issue.

OpenSSL 4.0, 3.6, 3.5, 3.4, and 3.0 are vulnerable to this issue.

OpenSSL 4.0 users should upgrade to OpenSSL 4.0.1. OpenSSL 3.6 users should upgrade to OpenSSL 3.6.3. OpenSSL 3.5 users should upgrade to OpenSSL 3.5.7. OpenSSL 3.4 users should upgrade to OpenSSL 3.4.6. OpenSSL 3.0 users should upgrade to OpenSSL 3.0.21.

OpenSSL 1.1.1 and 1.0.2 are not affected by this issue.

This issue was reported on 12th March 2026 by Asim Viladi Oglu Manizada, and on 17th April 2026 by Alex Gaynor (Anthropic).

The fix has been developed by Neil Horman.

Affected Software

1 affected component
OpenSSL OpenSSL<4.0.1, <3.6.3, <3.5.7, <3.4.6, <3.0.21

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenSSL 3.0 to a version that resolves this vulnerability.

    Fixed in 3.0.21
  2. Upgrade

    Upgrade OpenSSL 3.4 to a version that resolves this vulnerability.

    Fixed in 3.4.6
  3. Upgrade

    Upgrade OpenSSL 3.5 to a version that resolves this vulnerability.

    Fixed in 3.5.7
  4. Upgrade

    Upgrade OpenSSL 3.6 to a version that resolves this vulnerability.

    Fixed in 3.6.3
  5. Upgrade

    Upgrade OpenSSL 4.0 to a version that resolves this vulnerability.

    Fixed in 4.0.1

Event History

May 27, 2026
Data Sourced
via Red Hat·02:00 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2481884?

The severity of REDHAT-BUG-2481884 is medium with a score of 4.

2

What is the nature of the vulnerability identified in REDHAT-BUG-2481884?

REDHAT-BUG-2481884 involves CMS AuthEnvelopedData processing failing to validate cipher and tag length fields correctly, potentially allowing forged messages.

3

How do I fix REDHAT-BUG-2481884?

To fix REDHAT-BUG-2481884, update OpenSSL to the latest version that addresses this vulnerability.

4

What software is affected by REDHAT-BUG-2481884?

The affected software for REDHAT-BUG-2481884 is OpenSSL.

5

What input validation issue is associated with REDHAT-BUG-2481884?

The input validation issue related to REDHAT-BUG-2481884 pertains to insufficient validation on cipher and tag length fields in CMS processing.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203