REDHAT-BUG-2481896: Medium severity OpenSSL OpenSSL vulnerability

Published May 27, 2026
·
Updated

AES-OCB IV Ignored on EVPCipher() Path

AES-OCB IV Ignored on EVPCipher() Path (CVE-2026-45445) Severity: Moderate

Issue summary: When an application drives an AES-OCB context through the public EVPCipher() one-shot interface, the application-supplied initialisation vector (IV) is silently discarded.

Impact summary: Every message encrypted under the same key uses the same effective nonce regardless of the IV supplied by the caller, resulting in (key, nonce) reuse and loss of confidentiality. If the same code path is used to compute the authentication tag, the tag depends only on the (key, IV) pair and not on the plaintext or ciphertext, allowing universal forgery of arbitrary ciphertext from a single captured message.

OpenSSL provides two ways to drive a cipher: the documented streaming interface (EVPCipherUpdate / EVPCipherFinalex) and a lower-level one-shot, EVPCipher(), whose documentation explicitly recommends against use by applications in favour of EVPCipherUpdate() and EVPCipherFinalex(). The OCB provider's streaming handler flushes the application-supplied IV into the OCB context before processing data; the one-shot handler did not. Every call to EVPCipher() on an AES-OCB context therefore ran with the all-zero key-derived offset state left by cipher initialisation, regardless of the caller's IV.

If EVPEncryptFinalex() is subsequently used to obtain the authentication tag, the deferred IV setup runs at that point and clears the running checksum that should have been accumulated over the plaintext. The resulting tag is a function of (key, IV) only and verifies against any ciphertext produced under the same (key, IV) pair.

The OpenSSL SSL/TLS implementation is not affected: AES-OCB is not a TLS cipher suite, and libssl does not call EVPCipher() in any case. Applications that drive AES-OCB through the documented streaming AEAD API (EVPCipherUpdate / EVPCipherFinalex) are not affected. Only applications that combine the AES-OCB cipher with the EVPCipher() one-shot API are vulnerable.

The FIPS modules in 4.0, 3.6, 3.5, 3.4 and 3.0 are not affected by this issue, as AES-OCB is outside the OpenSSL FIPS module boundary.

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

OpenSSL 1.1.1 and 1.0.2 are not affected by this issue: in those releases the IV is applied synchronously during cipher initialisation and the AES-OCB one-shot rejects data submitted before the IV is set.

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.

This issue was reported on 16th April 2026 by Alex Gaynor (Anthropic). The fix was developed by Viktor Dukhovni.

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:21 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2481896?

The severity of REDHAT-BUG-2481896 is classified as medium with a score of 4.

2

How does the REDHAT-BUG-2481896 vulnerability affect OpenSSL?

REDHAT-BUG-2481896 affects OpenSSL by causing the application-supplied initialization vector (IV) to be silently ignored when using the EVP_Cipher() one-shot interface.

3

What are the potential risks associated with REDHAT-BUG-2481896?

The risks associated with REDHAT-BUG-2481896 include potential weaknesses in the security of encrypted data due to improper handling of the IV.

4

What versions of OpenSSL are affected by REDHAT-BUG-2481896?

OpenSSL versions that utilize the public EVP_Cipher() one-shot interface can be affected by REDHAT-BUG-2481896.

5

How do I mitigate the risks of REDHAT-BUG-2481896?

To mitigate the risks of REDHAT-BUG-2481896, update your OpenSSL implementation to the patched version provided in the latest security advisories.

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