{"id":"CVE-2022-23594","published":"2022-02-04T22:32:11Z","modified":"2025-04-23T19:08:04Z","title":"Out of bounds read in Tensorflow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00164,"percentile":0.03152,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9x52-887g-fhc2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/tree/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/ir/importexport","tags":["x_refsource_MISC"]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":0.63},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":[">= 2.7.0, < 2.8.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:56:39.810788Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":[">=2.7.0, <2.7.1"],"patched":["2.7.1"],"from":["GHSA-9x52-887g-fhc2","PYSEC-2026-3157"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":[">=2.7.0, <2.7.1"],"patched":["2.7.1"],"from":["GHSA-9x52-887g-fhc2","PYSEC-2026-3309"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":[">=2.7.0, <2.7.1"],"patched":["2.7.1"],"from":["GHSA-9x52-887g-fhc2","PYSEC-2026-752"],"provenance":"source"}],"summary":{"text":"A flaw in TensorFlow's TFG dialect (MLIR) lets the conversion of a GraphDef into MLIR-based IR go out of bounds when the GraphDef's assumptions are violated, which can lead to heap out-of-bounds reads and writes. An attacker with local access who can modify the SavedModel format on disk and get the graph converted can crash the Python interpreter, and under certain scenarios can achieve heap out-of-bounds read/write, requiring low privileges and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:00Z"},"euvd":{"id":"EUVD-2022-0947","exploited":false,"provenance":"source"}}