High severityNVD Advisory· Published Feb 4, 2022· Updated Apr 23, 2025
Out of bounds read in Tensorflow
CVE-2022-23594
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
tensorflowPyPI | >= 2.7.0, < 2.7.1 | 2.7.1 |
tensorflow-cpuPyPI | >= 2.7.0, < 2.7.1 | 2.7.1 |
tensorflow-gpuPyPI | >= 2.7.0, < 2.7.1 | 2.7.1 |
Affected products
5- osv-coords4 versions
>= 2.7.0, < 2.7.1+ 3 more
- (no CPE)range: >= 2.7.0, < 2.7.1
- (no CPE)range: >= 2.7.0, < 2.7.1
- (no CPE)range: >= 2.7.0, < 2.7.1
- (no CPE)range: >= 2.7.0, < 2.7.1
- Range: >= 2.7.0, < 2.8.0
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-9x52-887g-fhc2ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-23594ghsaADVISORY
- github.com/tensorflow/tensorflow/security/advisories/GHSA-9x52-887g-fhc2ghsax_refsource_CONFIRMWEB
- github.com/tensorflow/tensorflow/tree/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/ir/importexportghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.