What’s Vulnerable › Vulnerabilities
CVE-2022-23561: Out of bounds write in TFLite
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-02-04 · updated 2026-06-17
- Weakness: CWE-787
Description
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.
Affected products
- tensorflow: through 2.5.2; from 2.6.0 through 2.6.2; 2.7.0
References
- https://github.com/tensorflow/tensorflow/commit/6c0b2b70eeee588591680f5b7d5d38175fd7cdf6
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9c78-vcq7-7vxq
- https://github.com/tensorflow/tensorflow/commit/6c0b2b70eeee588591680f5b7d5d38175fd7cdf6
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9c78-vcq7-7vxq
Get alerted when CVE-2022-23561 or the next vulnerability affects your stack