# CVE-2022-2097: AES OCB fails to encrypt some bytes

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.94%, higher than 92% of CVEs (2026-12-01)
- Published: 2022-07-05T10:30:13.658Z
- Modified: 2026-10-14T13:17:20.523Z
- Also known as: GHSA-3wx7-46ch-7rq2, RUSTSEC-2022-0032
- Weaknesses: CWE-311, CWE-326, CWE-327
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: openssl

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

(As written by CVE List.)

## Affected

- OpenSSL OpenSSL: 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); from 1.1.1 before 1.1.1q; from 3.0.0 before 3.0.5
- netapp ontap_antivirus_connector: 0
- netapp ontap_select_deploy_administration_utility: 0
- fedoraproject fedora: 35; 36
- netapp active_iq_unified_manager_for_vmware_vsphere: 0
- netapp hci_baseboard_management_controller: h300s; h410c; h410s; h500s; h700s
- netapp brocade_fabric_operating_system_firmware: 0
- netapp snapcenter: 0
- netapp oncommand_insight: 0
- netapp smi-s_provider: 0
- siemens sinec_ins: before 1.0_sp2_update_1; before 1.0; 1.0
- debian debian_linux: 10.0; 11.0
- openssl-src (crates.io): before 111.22.0; from 300.0.0 before 300.0.9; from 0.0.0-0 before 111.22.0
- netapp active_iq_unified_manager: no versions given
- netapp clustered_data_ontap_antivirus_connector: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://www.openssl.org/news/secadv/20220705.txt> (vendor-advisory, web)
- <https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=a98f339ddd7e8f487d6e0088d4a9a42324885a93> (web)
- <https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=919925673d6c9cfed3c1085497f5dfbbed5fc431> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6567JERRHHJW2GNGJGKDRNHR7SNPZK7/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R6CK57NBQFTPUMXAPJURCGXUYT76NQAK/> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20220715-0011/> (third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202210-02> (third-party-advisory, vendor-advisory, web)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-332410.pdf> (third-party-advisory, web)
- <https://www.debian.org/security/2023/dsa-5343> (third-party-advisory, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2023/02/msg00019.html> (mailing-list, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20230420-0008/>
- <https://security.netapp.com/advisory/ntap-20240621-0006/>
- <https://cert-portal.siemens.com/productcert/html/ssa-332410.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-794697.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-879734.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-625862.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2097> (advisory)
- <https://security.netapp.com/advisory/ntap-20240621-0006> (web)
- <https://security.netapp.com/advisory/ntap-20230420-0008> (web)
- <https://security.netapp.com/advisory/ntap-20220715-0011> (web)
- <https://rustsec.org/advisories/RUSTSEC-2022-0032.html> (advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V6567JERRHHJW2GNGJGKDRNHR7SNPZK7> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R6CK57NBQFTPUMXAPJURCGXUYT76NQAK> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6567JERRHHJW2GNGJGKDRNHR7SNPZK7> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R6CK57NBQFTPUMXAPJURCGXUYT76NQAK> (web)
- <https://github.com/alexcrichton/openssl-src-rs> (package)
- <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=a98f339ddd7e8f487d6e0088d4a9a42324885a93> (web)
- <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=919925673d6c9cfed3c1085497f5dfbbed5fc431> (web)
- <https://crates.io/crates/openssl-src> (package)

## Sources

- CVE List: [CVE-2022-2097](https://www.cve.org/CVERecord?id=CVE-2022-2097), CVE Terms of Use, modified 2026-10-14
- GitHub Advisory Database: [GHSA-3wx7-46ch-7rq2](https://github.com/advisories/GHSA-3wx7-46ch-7rq2), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2022-0032](https://rustsec.org/advisories/RUSTSEC-2022-0032.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2022-2097](https://nvd.nist.gov/vuln/detail/CVE-2022-2097), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2022-2097 · Whole record: https://cve.day/CVE-2022-2097.json · Rebuilt by cve.day 2026-11-25T22:58:12.707Z
