CVE-2022-2097

AES OCB fails to encrypt some bytes

State
Published
Severity
Not scored
Published
Jul 5, 2022
Updated
Oct 14, 2026
Reserved
Jun 16, 2022

Read the record on cve.org

Description

AES OCB mode for 32-bit x86 platforms using the AES-NI assembly optimised implementation will not encrypt the entirety of the data under some circumstances. This could reveal sixteen bytes of data that was preexisting in the memory that wasn't written. In the special case of "in place" encryption, sixteen bytes of the plaintext would be revealed. Since OpenSSL does not support OCB based cipher suites for TLS and DTLS, they are both unaffected. Fixed in OpenSSL 3.0.5 (Affected 3.0.0-3.0.4). Fixed in OpenSSL 1.1.1q (Affected 1.1.1-1.1.1p).

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
OpenSSLOpenSSL
  • Fixed in OpenSSL 3.0.5 (Affected 3.0.0-3.0.4)Affected
  • Fixed in OpenSSL 1.1.1q (Affected 1.1.1-1.1.1p)Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.