Vulnerability in OpenSSL AES OCB Mode on 32-bit x86 Platforms

openssl Updated 02 Oct 2025

Summary

05/07/2022
N/A
Yes i
Medium
5.3

CVE-2022-2097: 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. Affects openssl across 2 version ranges.

< 1.1.1q-r0 >= 89cd17a031e022211684eb7eb41190cf1910f9fa, < ad4910fad22d57c6d685b0ca83bdb7b2bf69d8fd

Fixed in 1.1.1q-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

OpenSSL is an open-source cryptographic library that provides various cryptographic functions, including encryption, decryption, and secure communication protocols. It is widely used in many applications and systems to ensure data security. However, a vulnerability has been discovered in the AES OCB mode implementation for 32-bit x86 platforms using the AES-NI assembly optimization in OpenSSL.

Vulnerability Detail

The vulnerability (CVE-2022-2097) in OpenSSL AES OCB mode on 32-bit x86 platforms allows for the potential exposure of sixteen bytes of preexisting memory data that was not written. In certain circumstances, this can result in the revelation of plaintext data during 'in place' encryption. It is important to note that this vulnerability does not affect OpenSSL's support for OCB-based cipher suites for TLS and DTLS. The vulnerability has been fixed in OpenSSL versions 3.0.5 and 1.1.1q.

How To Fix

Minimum fixed version

1.1.1q-r0

This is the first release that contains the fix.

sudo apk add --upgrade openssl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is advised to update OpenSSL to the fixed versions as mentioned in the 'how_to_fix' section.

Conclusion

The vulnerability in OpenSSL AES OCB mode on 32-bit x86 platforms can potentially expose preexisting memory data during 'in place' encryption. It is crucial to update OpenSSL to the fixed versions to mitigate the risk of data exposure. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for openssl →

Share this vulnerability

FAQ

OpenSSL is an open-source cryptographic library used for encryption, decryption, and secure communication protocols.

The vulnerability could potentially expose sixteen bytes of preexisting memory data during 'in place' encryption.

OpenSSL versions 3.0.0 to 3.0.4 and 1.1.1 to 1.1.1p are affected by this vulnerability.

No, this vulnerability does not affect OpenSSL's support for OCB-based cipher suites for TLS and DTLS.

To fix this vulnerability, update OpenSSL to the fixed versions: 3.0.5 or 1.1.1q.

Related vulnerabilities

Recent vulnerabilities recorded for openssl.

How To Fix

Minimum fixed version

1.1.1q-r0

This is the first release that contains the fix.

sudo apk add --upgrade openssl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback