{"id":"CVE-2022-23594","aliases":["BIT-tensorflow-2022-23594","GHSA-9x52-887g-fhc2","PYSEC-2026-3157","PYSEC-2026-3309","PYSEC-2026-752"],"url":"https://o3.security/vulnerability/CVE-2022-23594","summary":"Out of bounds read in Tensorflow","details":"### Impact\nThe [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.\n\nIf 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.\n    \nThese issues have been discovered via fuzzing and it is possible that more weaknesses exist. We will patch them as they are discovered.\n        \n### Patches\nWe 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.\n      \n### For more information\nPlease 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.","published":"2022-02-04T22:32:11Z","modified":"2026-08-12T03:51:37.322827922Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"tensorflow","fixedVersion":"2.7.1"},{"ecosystem":"PyPI","name":"tensorflow-cpu","fixedVersion":"2.7.1"},{"ecosystem":"PyPI","name":"tensorflow-gpu","fixedVersion":"2.7.1"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/tensorflow/tensorflow/tree/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/ir/importexport"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23594.json"},{"type":"ADVISORY","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9x52-887g-fhc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23594"},{"type":"WEB","url":"https://github.com/tensorflow/tensorflow"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:37.322827922Z"}}