# CVE-2026-45445: AES-OCB IV Ignored on EVP\_Cipher() Path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.40% (percentile 25, 2026-11-26)
- **CWE:** CWE-325
- **Published:** 2026-06-09T16:03:31.338Z
- **Modified:** 2026-07-23T08:10:00.137Z

## Who should check

- Anyone running OpenSSL \>= 4.0.0, \< 4.0.1; \>= 3.6.0, \< 3.6.3; \>= 3.5.0, \< 3.5.7; \>= 3.4.0, \< 3.4.6; \>= 3.0.0, \< 3.0.21

## 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.

## Affected and fixed versions

- OpenSSL: \>= 4.0.0, \< 4.0.1; \>= 3.6.0, \< 3.6.3; \>= 3.5.0, \< 3.5.7; \>= 3.4.0, \< 3.4.6; \>= 3.0.0, \< 3.0.21 (cvelist)

## Mitigation

- Upgrade OpenSSL to 3.0.21 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-45445. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45445.md
Affected: OpenSSL >= 4.0.0, < 4.0.1; >= 3.6.0, < 3.6.3; >= 3.5.0, < 3.5.7; >= 3.4.0, < 3.4.6; >= 3.0.0, < 3.0.21
Fixed in: OpenSSL 4.0.1, OpenSSL 3.6.3, OpenSSL 3.5.7, OpenSSL 3.4.6, OpenSSL 3.0.21

Steps:
1. Search this machine and project for OpenSSL: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-45445 being exploited?

There is no confirmed exploitation: CVE-2026-45445 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-45445?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-45445?

OpenSSL \>= 4.0.0, \< 4.0.1; \>= 3.6.0, \< 3.6.3; \>= 3.5.0, \< 3.5.7; \>= 3.4.0, \< 3.4.6; \>= 3.0.0, \< 3.0.21.

### Is there a fix for CVE-2026-45445?

Yes. Fixed in OpenSSL 4.0.1, OpenSSL 3.6.3, OpenSSL 3.5.7, OpenSSL 3.4.6, OpenSSL 3.0.21. Upgrade OpenSSL to 3.0.21 or later.

### How do I check if I'm affected by CVE-2026-45445?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://openssl-library.org/news/secadv/20260609.txt>
- patch: <https://github.com/openssl/openssl/commit/843c9b94ca9c2ed248bb30127bb4f3d7af0d607c>
- patch: <https://github.com/openssl/openssl/commit/787a6dfba81b7b09c1e05ab31396c0cd7c36b3f7>
- patch: <https://github.com/openssl/openssl/commit/983d54b5cce8d16147548ed1a37892d1720bbab6>
- patch: <https://github.com/openssl/openssl/commit/7ac4715234ee72d9f3c93426a2c08554b5b771af>
- patch: <https://github.com/openssl/openssl/commit/323f0b6e7d530a4cb4336d50c88cb70f3ac2a451>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45445>

HTML: <https://flawdb.com/CVE-2026-45445> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45445>
