CVE-2022-23594
MEDIUM 5.5CVSS 3.1Out of bounds read in Tensorflow
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.
- Published
- 4 Feb 2022
- Last modified
- 13 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-125
- Also known as
- BIT-tensorflow-2022-23594GHSA-9x52-887g-fhc2PYSEC-2026-3157PYSEC-2026-3309PYSEC-2026-752
- Sources
- NVDJSONOSV GHSA-9x52-887g-fhc2JSONOSV PYSEC-2026-3157JSONOSV PYSEC-2026-3309JSONOSV PYSEC-2026-752JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tensorflowcpe:2.3:a:google:tensorflow:2.7.0:*:*:*:*:*:*:* |
= 2.7.0 | ||
| OSV | PyPI | tensorflow | >= 2.7.0, < 2.7.1 | 2.7.1 |
| OSV | PyPI | tensorflow-cpu | >= 2.7.0, < 2.7.1 | 2.7.1 |
| OSV | PyPI | tensorflow-gpu | >= 2.7.0, < 2.7.1 | 2.7.1 |
References
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9x52-887g-fhc2 · Third Party Advisory, WEB
- https://github.com/tensorflow/tensorflow/tree/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/ir/importexport · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-23594 · ADVISORY
- 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
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 4 Feb 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Feb 2022)