Description
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.
Published: 2026-06-09
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OpenSSL's one‑shot EVP_Cipher API silently discards the caller‑supplied IV for AES‑OCB, causing every message to use the same nonce. The reuse of (key, nonce) breaks confidentiality and allows an attacker to create matching authentication tags for arbitrary ciphertext. The flaw arises from improper handling of the IV in the AEAD implementation, categorized as improper key/IV usage.

Affected Systems

Any installation of OpenSSL that enables the AES‑OCB provider and that uses EVP_Cipher to encrypt or decrypt data is affected. The vulnerability is present regardless of the OpenSSL version, as long as AES‑OCB is supported; no specific version range is listed. Applications that rely solely on the documented streaming API (EVP_CipherUpdate/EVP_CipherFinal_ex) or that use libssl/TLS are not impacted. The FIPS module versions are not affected because AES‑OCB falls outside the FIPS boundary.

Risk and Exploitability

The vulnerability is severe because a compromised or intentionally malicious application can reuse the same key and generate a deterministic tag that accepts any ciphertext for that key/IV pair. An attacker can read multiple cipher texts and forge new ones, effectively breaking confidentiality. There is no current EPSS score, and it is not listed in CISA's KEV catalog, but the unchecked IV handling and key/nonce reuse make it a high‑risk flaw. The attack requires code that uses the EVP_Cipher API with AES‑OCB; local or privileged application access is enough to exploit. The risk is mitigated if the application never uses the vulnerable API path.

Generated by OpenCVE AI on June 9, 2026 at 22:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Obtain and install the latest OpenSSL release containing the fix for AES-OCB IV handling in EVP_Cipher.
  • Audit applications to ensure they do not call EVP_Cipher() with AES-OCB; switch to the streaming AEAD API (EVP_CipherUpdate/EVP_CipherFinal_ex).
  • Disable the AES-OCB provider if AES-OCB is not required by the application, or remove the EVP_Cipher calls from code paths that use this cipher.

Generated by OpenCVE AI on June 9, 2026 at 22:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6335-1 openssl security update
Ubuntu USN Ubuntu USN USN-8414-1 OpenSSL vulnerabilities
History

Tue, 09 Jun 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 09 Jun 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Openssl
Openssl openssl
Vendors & Products Openssl
Openssl openssl

Tue, 09 Jun 2026 16:30:00 +0000

Type Values Removed Values Added
Description 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.
Title AES-OCB IV Ignored on EVP_Cipher() Path
Weaknesses CWE-325
References

cve-icon MITRE

Status: PUBLISHED

Assigner: openssl

Published:

Updated: 2026-06-09T19:23:02.138Z

Reserved: 2026-05-12T14:34:06.276Z

Link: CVE-2026-45445

cve-icon Vulnrichment

Updated: 2026-06-09T19:22:42.527Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-06-09T17:17:18.993

Modified: 2026-06-09T20:16:57.653

Link: CVE-2026-45445

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-09T22:15:15Z

Weaknesses