CVE-2026-45445
CVE-2026-45445 · AES-OCB IV Ignored on EVP_Cipher() Path
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 0.7% · Fix available
- Published
- Updated
Affected products and versions
openssl
- Versions
- ≥ 4.0.0, < 4.0.1: Affected (semver)
- ≥ 3.6.0, < 3.6.3: Affected (semver)
- ≥ 3.5.0, < 3.5.7: Affected (semver)
- ≥ 3.4.0, < 3.4.6: Affected (semver)
- ≥ 3.0.0, < 3.0.21: Affected (semver)
Update to 3.0.21; Update to 3.4.6; Update to 3.5.7; Update to 3.6.3; Update to 4.0.1
openssl Debian:12
- Versions
- 3.0.10-1
- 3.0.10-1~deb12u1
- 3.0.11-1
- 3.0.11-1~deb12u1
- 3.0.11-1~deb12u2
- 3.0.12-1
- 3.0.12-2
- 3.0.13-1~deb12u1
- 3.0.13-1~deb12u2
- 3.0.14-1~deb12u1
- 3.0.14-1~deb12u2
- 3.0.15-1~deb12u1
- 3.0.16-1~deb12u1
- 3.0.17-1~deb12u1
- 3.0.17-1~deb12u2
- 3.0.17-1~deb12u3
- 3.0.18-1~deb12u1
- 3.0.18-1~deb12u2
- 3.0.19-1~deb12u1
- 3.0.19-1~deb12u2
- 3.0.20-1~deb12u1
- 3.0.9-1
- Affected ranges
- ECOSYSTEM: < 3.0.20-1~deb12u2
Update to 3.0.20-1~deb12u2
openssl Debian:13
- Versions
- 3.5.1-1
- 3.5.1-1+deb13u1
- 3.5.2-1
- 3.5.3-1
- 3.5.4-1
- 3.5.4-1~deb13u1
- 3.5.4-1~deb13u2
- 3.5.5-1
- 3.5.5-1~deb13u1
- 3.5.5-1~deb13u2
- 3.5.6-1~deb13u1
- Affected ranges
- ECOSYSTEM: < 3.5.6-1~deb13u2
Update to 3.5.6-1~deb13u2
openssl Debian:14
- Versions
- 3.5.1-1
- 3.5.2-1
- 3.5.3-1
- 3.5.4-1
- 3.5.4-1~deb13u1
- 3.5.4-1~deb13u2
- 3.5.5-1
- 3.5.5-1~deb13u1
- 3.5.5-1~deb13u2
- 3.5.6-1~deb13u1
- 3.5.6-1~deb13u2
- 3.5.7-1~deb13u1
- 3.5.7-1~deb13u2
- 3.5.7-1~deb13u3
- 3.6.0-1
- 3.6.0-2
- 3.6.0~~alpha1-1
- 3.6.0~~beta1-1
- 3.6.1-1
- 3.6.1-2
- 3.6.1-3
- 3.6.2-1
- Affected ranges
- ECOSYSTEM: < 3.6.3-1
Update to 3.6.3-1
openssl Ubuntu:22.04:LTS
- Versions
- 1.1.1l-1ubuntu1
- 3.0.0-1ubuntu1
- 3.0.1-0ubuntu1
- 3.0.2-0ubuntu1
- 3.0.2-0ubuntu1.1
- 3.0.2-0ubuntu1.2
- 3.0.2-0ubuntu1.4
- 3.0.2-0ubuntu1.5
- 3.0.2-0ubuntu1.6
- 3.0.2-0ubuntu1.7
- 3.0.2-0ubuntu1.8
- 3.0.2-0ubuntu1.9
- 3.0.2-0ubuntu1.10
- 3.0.2-0ubuntu1.12
- 3.0.2-0ubuntu1.13
- 3.0.2-0ubuntu1.14
- 3.0.2-0ubuntu1.15
- 3.0.2-0ubuntu1.16
- 3.0.2-0ubuntu1.17
- 3.0.2-0ubuntu1.18
- 3.0.2-0ubuntu1.19
- 3.0.2-0ubuntu1.20
- 3.0.2-0ubuntu1.21
- 3.0.2-0ubuntu1.23
- Affected ranges
- ECOSYSTEM: < 3.0.2-0ubuntu1.25
Update to 3.0.2-0ubuntu1.25
nodejs Ubuntu:Pro:22.04:LTS
- Versions
- 12.22.5~dfsg-5ubuntu1
- 12.22.7~dfsg-2ubuntu1
- 12.22.7~dfsg-2ubuntu3
- 12.22.9~dfsg-1ubuntu2
- 12.22.9~dfsg-1ubuntu3
- 12.22.9~dfsg-1ubuntu3.1
- 12.22.9~dfsg-1ubuntu3.2
- 12.22.9~dfsg-1ubuntu3.3
- 12.22.9~dfsg-1ubuntu3.4
- 12.22.9~dfsg-1ubuntu3.5
- 12.22.9~dfsg-1ubuntu3.6
- 12.22.9~dfsg-1ubuntu3.6+esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openssl Ubuntu:Pro:FIPS-preview:22.04:LTS
- Versions
- 3.0.2-0ubuntu1.10+Fips1
- 3.0.2-0ubuntu1.12+Fips1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openssl-fips Ubuntu:Pro:FIPS-preview:22.04:LTS
- Versions
- 3.0.5-0ubuntu0.1+Fips2.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openssl Ubuntu:Pro:FIPS-updates:22.04:LTS
- Versions
- 3.0.2-0ubuntu1.10+Fips1
- 3.0.2-0ubuntu1.12+Fips1
- 3.0.2-0ubuntu1.14+Fips1
- 3.0.2-0ubuntu1.15+Fips1
- 3.0.2-0ubuntu1.16+Fips1
- 3.0.2-0ubuntu1.17+Fips1
- 3.0.2-0ubuntu1.18+Fips1
- 3.0.2-0ubuntu1.19+Fips1
- 3.0.2-0ubuntu1.20+Fips1
- 3.0.2-0ubuntu1.21+Fips1
- 3.0.2-0ubuntu1.23+Fips1
- Affected ranges
- ECOSYSTEM: < 3.0.2-0ubuntu1.25+Fips1
Update to 3.0.2-0ubuntu1.25+Fips1
openssl-fips Ubuntu:Pro:FIPS-updates:22.04:LTS
- Versions
- 3.0.5-0ubuntu0.1+Fips2.1
- 3.0.5-0ubuntu0.2+Fips1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2 Ubuntu:24.04:LTS
- Versions
- 2023.05-2
- 2023.11-2
- 2023.11-3
- 2023.11-4
- 2023.11-5
- 2023.11-6
- 2023.11-8
- 2024.02-1
- 2024.02-2
- 2024.02-2ubuntu0.1
- 2024.02-2ubuntu0.3
- 2024.02-2ubuntu0.4
- 2024.02-2ubuntu0.5
- 2024.02-2ubuntu0.6
- 2024.02-2ubuntu0.7
- 2024.02-2ubuntu0.8
- 2024.02-2ubuntu0.9
- 2024.02-2ubuntu0.10
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openssl Ubuntu:24.04:LTS
- Versions
- 3.0.10-1ubuntu2
- 3.0.10-1ubuntu2.1
- 3.0.10-1ubuntu3
- 3.0.10-1ubuntu4
- 3.0.13-0ubuntu2
- 3.0.13-0ubuntu3
- 3.0.13-0ubuntu3.1
- 3.0.13-0ubuntu3.2
- 3.0.13-0ubuntu3.3
- 3.0.13-0ubuntu3.4
- 3.0.13-0ubuntu3.5
- 3.0.13-0ubuntu3.6
- 3.0.13-0ubuntu3.7
- 3.0.13-0ubuntu3.9
- Affected ranges
- ECOSYSTEM: < 3.0.13-0ubuntu3.11
Update to 3.0.13-0ubuntu3.11
openssl-fips Ubuntu:Pro:FIPS-updates:24.04:LTS
- Versions
- 3.0.13-0ubuntu3+Fips1
- 3.0.13-0ubuntu3.6+Fips1
- Affected ranges
- ECOSYSTEM: < 3.0.13-0ubuntu3.12+Fips1
Update to 3.0.13-0ubuntu3.12+Fips1
edk2 Ubuntu:25.10
- Versions
- 2025.02-3ubuntu2
- 2025.02-8
- 2025.02-8ubuntu1
- 2025.02-8ubuntu2
- 2025.02-8ubuntu3
- 2025.02-8ubuntu3.1
- 2025.02-8ubuntu3.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openssl Ubuntu:25.10
- Versions
- 3.4.1-1ubuntu3
- 3.5.0-2ubuntu1
- 3.5.2-1ubuntu1
- 3.5.3-1ubuntu2
- 3.5.3-1ubuntu3
- 3.5.3-1ubuntu3.3
- Affected ranges
- ECOSYSTEM: < 3.5.3-1ubuntu3.4
Update to 3.5.3-1ubuntu3.4
edk2 Ubuntu:26.10
- Versions
- 2025.11-3ubuntu7
- 2025.11-3ubuntu8
- 2026.05-2ubuntu1
- 2026.05-2ubuntu2
- 2026.05-2ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2-hwe Ubuntu:26.10
- Versions
- 2025.11-3ubuntu8
- 2025.11-3ubuntu9
- 2026.05-2ubuntu1
- 2026.05-2ubuntu2
- 2026.05-2ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2 Ubuntu:26.04:LTS
- Versions
- 2025.02-8ubuntu3
- 2025.11-3ubuntu6
- 2025.11-3ubuntu7
- 2025.11-3ubuntu7.2
- 2025.11-3ubuntu7.3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
edk2-hwe Ubuntu:26.04:LTS
- Versions
- 2025.11-3ubuntu6
- 2025.11-3ubuntu8
- 2025.11-3ubuntu8.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openssl Ubuntu:26.04:LTS
- Versions
- 3.5.3-1ubuntu2
- 3.5.5-1ubuntu1
- 3.5.5-1ubuntu3
- Affected ranges
- ECOSYSTEM: < 3.5.5-1ubuntu3.2
Update to 3.5.5-1ubuntu3.2
Original sources
- https://openssl-library.org/news/secadv/20260609.txt
- https://github.com/openssl/openssl/commit/843c9b94ca9c2ed248bb30127bb4f3d7af0d607c
- https://github.com/openssl/openssl/commit/787a6dfba81b7b09c1e05ab31396c0cd7c36b3f7
- https://github.com/openssl/openssl/commit/983d54b5cce8d16147548ed1a37892d1720bbab6
- https://github.com/openssl/openssl/commit/7ac4715234ee72d9f3c93426a2c08554b5b771af
- https://github.com/openssl/openssl/commit/323f0b6e7d530a4cb4336d50c88cb70f3ac2a451
- https://nvd.nist.gov/vuln/detail/CVE-2026-45445