Bug 2481896 (CVE-2026-45445) - CVE-2026-45445 openssl: AES-OCB IV Ignored on EVP_Cipher() Path
Summary: CVE-2026-45445 openssl: AES-OCB IV Ignored on EVP_Cipher() Path
Keywords:
Status: NEW
Alias: CVE-2026-45445
Deadline: 2026-06-09
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-27 14:21 UTC by OSIDB Bzimport
Modified: 2026-06-24 14:37 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2026:26057 0 None None None 2026-06-15 20:24:43 UTC
Red Hat Product Errata RHBA-2026:26059 0 None None None 2026-06-15 20:50:03 UTC
Red Hat Product Errata RHBA-2026:26280 0 None None None 2026-06-16 12:32:34 UTC
Red Hat Product Errata RHBA-2026:26291 0 None None None 2026-06-16 11:56:10 UTC
Red Hat Product Errata RHBA-2026:26303 0 None None None 2026-06-16 12:09:41 UTC
Red Hat Product Errata RHBA-2026:26394 0 None None None 2026-06-16 15:18:39 UTC
Red Hat Product Errata RHBA-2026:26554 0 None None None 2026-06-17 13:40:33 UTC
Red Hat Product Errata RHBA-2026:27072 0 None None None 2026-06-18 10:41:56 UTC
Red Hat Product Errata RHBA-2026:28993 0 None None None 2026-06-24 14:37:23 UTC
Red Hat Product Errata RHSA-2026:25237 0 None None None 2026-06-11 12:32:07 UTC
Red Hat Product Errata RHSA-2026:25239 0 None None None 2026-06-11 12:34:57 UTC

Description OSIDB Bzimport 2026-05-27 14:21:58 UTC
AES-OCB IV Ignored on EVP_Cipher() Path

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

Issue summary: When an application drives an AES-OCB context through the
public EVP_Cipher() 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 (EVP_CipherUpdate / EVP_CipherFinal_ex) and a lower-level
one-shot, EVP_Cipher(), whose documentation explicitly recommends
against use by applications in favour of EVP_CipherUpdate() and
EVP_CipherFinal_ex(). 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 EVP_Cipher() 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 EVP_EncryptFinal_ex() 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 EVP_Cipher() in any case.
Applications that drive AES-OCB through the documented streaming AEAD
API (EVP_CipherUpdate / EVP_CipherFinal_ex) are not affected. Only
applications that combine the AES-OCB cipher with the EVP_Cipher()
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.

Comment 2 errata-xmlrpc 2026-06-11 12:32:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:25237 https://access.redhat.com/errata/RHSA-2026:25237

Comment 3 errata-xmlrpc 2026-06-11 12:34:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:25239 https://access.redhat.com/errata/RHSA-2026:25239


Note You need to log in before you can comment on or make changes to this bug.