Skip to content
TensorFlowGHSA-9x52-887g-fhc2

Out of bounds read in Tensorflow

High8.8CVE-2022-23594 · Published Feb 9, 2022 · updated Jul 13, 2026

### Impact The [TFG dialect of TensorFlow (MLIR)](https://github.com/tensorflow/tensorflow/tree/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/ir/importexport) 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. ### Patches We have patched the issue in multiple GitHub commits and these will be included in TensorFlow 2.8.0 and TensorFlow 2.7.1, as both are affected. ### For more information Please consult [our security guide](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) for more information regarding the security model and how to contact us with issues and questions.

GitHub advisory

Affected versions

PackageAffectedFixed in
tensorflow
PyPI
>= 2.7.0, < 2.7.12.7.1
Details and references
CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-125
Also known as
BIT-tensorflow-2022-23594, CVE-2022-23594, PYSEC-2026-3157, PYSEC-2026-3309, PYSEC-2026-752

More TensorFlow advisories

All TensorFlow
Advisory
Use after free in `DecodePng` kernel
High7.6Feb 9, 2022
Out of bounds write in Tensorflow
High8.8Feb 9, 2022
Reachable Assertion in Tensorflow
High6.5Feb 9, 2022
Insecure temporary file in Tensorflow
High7.1Feb 9, 2022
Integer overflow in Tensorflow
High7.6Feb 9, 2022
Out of bounds write in TFLite
High8.8Feb 9, 2022

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.