{"id":"CVE-2022-23566","published":"2022-02-04T22:32:33Z","modified":"2025-04-22T18:23:48Z","title":"Out of bounds write in Tensorflow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"Tensorflow is an Open Source Machine Learning Framework. TensorFlow is vulnerable to a heap OOB write in `Grappler`. The `set_output` function writes to an array at the specified index. Hence, this gives a malicious user a write primitive. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00932,"percentile":0.61559,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-5qw5-89mw-wcg2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/97282c6d0d34476b6ba033f961590b783fa184cd","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/framework/shape_inference.h#L394","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/blob/a1320ec1eac186da1d03f033109191f715b2b130/tensorflow/core/grappler/costs/graph_properties.cc#L1132-L1141","tags":["x_refsource_MISC"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":12.31},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":[">= 2.7.0, < 2.7.1",">= 2.6.0, < 2.6.3","< 2.5.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-22T15:44:54.464785Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<2.5.3",">=2.6.0, <2.6.3",">=2.7.0, <2.7.1"],"patched":["2.5.3","2.6.3","2.7.1"],"from":["GHSA-5qw5-89mw-wcg2","PYSEC-2026-3109"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<2.5.3",">=2.6.0, <2.6.3",">=2.7.0, <2.7.1"],"patched":["2.5.3","2.6.3","2.7.1"],"from":["GHSA-5qw5-89mw-wcg2","PYSEC-2022-75"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<2.5.3",">=2.6.0, <2.6.3",">=2.7.0, <2.7.1"],"patched":["2.5.3","2.6.3","2.7.1"],"from":["GHSA-5qw5-89mw-wcg2","PYSEC-2022-130"],"provenance":"source"}],"summary":{"text":"An out-of-bounds write in the Grappler component of TensorFlow, the open source machine learning framework, lies in the set_output function, which writes to an array at a specified index without proper bounds checking on the heap. An attacker with low-privileged network access to a vulnerable TensorFlow deployment can exploit this to obtain a write primitive, without needing user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:46Z"},"euvd":{"id":"EUVD-2022-0314","exploited":false,"provenance":"source"}}