All reports
High

AES OCB fails to encrypt some bytes

Affected versions

Version ranges need review.

Rust / Cargoopenssl-src
Affected versions
>= 300.0.0, < 300.0.9
Fixed version
300.0.9
Rust / Cargoopenssl-src
Affected versions
< 111.22.0
Fixed version
111.22.0
Rust / Cargoopenssl-src
Affected versions
>=0.0.0-0 <111.22.0 || >=300.0.0 <300.0.9
Fixed version
111.22.0 · 300.0.9
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-2097

Probability of exploitation in the next 30 days: 4.90%

FIRST EPSS · 2026-11-23

Description

AES OCB mode for 32-bit x86 platforms using the AES-NI assembly optimized implementation will not encrypt the entirety of the data under some circumstances. This could reveal sixteen bytes of data that was pre-existing 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.

Links

Credits

  • another-rex