{"id":"CVE-2022-23561","published":"2022-02-04T22:32:46Z","modified":"2025-04-23T19:07:29Z","title":"Out of bounds write in TFLite","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would cause a write outside of bounds of an array in TFLite. In fact, the attacker can override the linked list used by the memory allocator. This can be leveraged for an arbitrary write primitive under certain conditions. 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.00544,"percentile":0.46596,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9c78-vcq7-7vxq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/6c0b2b70eeee588591680f5b7d5d38175fd7cdf6","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":9.32},{"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":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:56:28.819372Z","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-9c78-vcq7-7vxq","PYSEC-2026-3148"],"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-9c78-vcq7-7vxq","PYSEC-2022-70"],"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-9c78-vcq7-7vxq","PYSEC-2022-125"],"provenance":"source"}],"summary":{"text":"The flaw is an out-of-bounds write in TensorFlow's TFLite component, where a crafted TFLite model can write past the bounds of an array and overwrite the linked list used by the memory allocator. An attacker with network access and low privileges can exploit this without user interaction by supplying such a model, and under certain conditions this can be leveraged into an arbitrary write primitive.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:32Z"},"euvd":{"id":"EUVD-2022-0309","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2021-37680","parents":[{"from":"CVE-2021-37680","to":"CVE-2022-23561","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/lite/kernels/fully_connected.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/718721986aa137691ee23f03638867151f74935f","https://github.com/tensorflow/tensorflow/commit/6c0b2b70eeee588591680f5b7d5d38175fd7cdf6"],"basis":"rarely changed file"}]}]}}