# CVE-2022-23594: Out of bounds read in Tensorflow

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- 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): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2022-02-04T22:32:11.000Z
- Modified: 2026-09-10T16:00:55.085Z
- Also known as: GHSA-9x52-887g-fhc2, BIT-TENSORFLOW-2022-23594, PYSEC-2026-3157, PYSEC-2026-3309, PYSEC-2026-752
- Weaknesses: CWE-125, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Tensorflow is an Open Source Machine Learning Framework. The TFG dialect of TensorFlow (MLIR) makes several assumptions about the incoming `GraphDef` before converting it to the MLIR-based dialect. If an attacker changes the `SavedModel` format on disk to invalidate these assumptions and the `GraphDef` is then converted to MLIR-based IR then they can cause a crash in the Python interpreter. Under certain scenarios, heap OOB read/writes are possible. These issues have been discovered via fuzzing and it is possible that more weaknesses exist. We will patch them as they are discovered.

(As written by CVE List.)

## Affected

- tensorflow tensorflow: >= 2.7.0, < 2.8.0
- tensorflow (PyPI): from 2.7.0 before 2.7.1
- tensorflow-cpu (PyPI): from 2.7.0 before 2.7.1
- tensorflow-gpu (PyPI): from 2.7.0 before 2.7.1
- google tensorflow: 2.7.0
- tensorflow (Bitnami): from 2.7.0 before 2.7.1

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9x52-887g-fhc2> (advisory, third-party-advisory, web)
- <https://github.com/tensorflow/tensorflow/tree/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/ir/importexport> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23594> (advisory, web)
- <https://github.com/tensorflow/tensorflow> (web)
- <https://pypi.org/project/tensorflow> (package)
- <https://github.com/advisories/GHSA-9x52-887g-fhc2> (advisory)
- <https://pypi.org/project/tensorflow-cpu> (package)
- <https://pypi.org/project/tensorflow-gpu> (package)

## Sources

- CVE List: [CVE-2022-23594](https://www.cve.org/CVERecord?id=CVE-2022-23594), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-9x52-887g-fhc2](https://github.com/advisories/GHSA-9x52-887g-fhc2), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2022-23594](https://nvd.nist.gov/vuln/detail/CVE-2022-23594), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-3157](https://osv.dev/vulnerability/PYSEC-2026-3157), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-3309](https://osv.dev/vulnerability/PYSEC-2026-3309), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-752](https://osv.dev/vulnerability/PYSEC-2026-752), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-TENSORFLOW-2022-23594](https://osv.dev/vulnerability/BIT-TENSORFLOW-2022-23594), Apache-2.0, modified 2026-09-10

---

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