CVE-2020-15214: TensorFlow Lite out of bounds write in segment sum with unsorted segment ids
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2020-15214
- Published
- Record updated
- Affected
- tensorflow = 2.2.0, fixed in 2.2.1, released September 24, 2020, 1 day before disclosure
- tensorflow = 2.3.0, fixed in 2.3.1, released September 24, 2020, 1 day before disclosure
- tensorflow-cpu = 2.2.0, fixed in 2.2.1, released September 24, 2020, 1 day before disclosure
- and 3 more
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.7%
Summary
In TensorFlow Lite before versions 2.2.1 and 2.3.1, models using segment sum can trigger a write out of bounds or a segmentation fault when segment ids are not sorted. The code assumes increasing order and sizes the output tensor from the last element, so it allocates too little memory and writes past the output array. The write can serve as a write gadget in future memory corruption exploits.
Mitigation
Fixed in TensorFlow versions 2.2.1 and 2.3.1 (patch commit 204945b19e44b57906c9344c0d00120eeeae178a). Workaround for statically stored segment ids: add a custom `Verifier` to the model loading code to ensure the segment ids are sorted. A similar validation can be run on segment ids generated at runtime between inference steps. If segment ids are generated as outputs of a tensor during inference, there is no workaround and users should upgrade to patched code.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- tensorflowPyPINo LLM dependency detected · 26 tracked dependents
- tensorflow-gpuPyPINo LLM dependency detected · 2 tracked dependents
Related items
- MediumCVE-2026-111372: AI ChatBot for WooCommerce WoowBot plugin authorization bypass in RAG syncSame vendor · NVD/CVE Database
- HighCVE-2026-117560: ATXP Gemini CLI extension OS command injection in runAtxp() via MCP parametersSame vendor · NVD/CVE Database
- CriticalCVE-2026-90970: GitLab AI Gateway prompt template sandbox escape via crafted flow configurationSame vendor · NVD/CVE Database
- MediumCVE-2026-89278: GPTranslate WordPress plugin exposes plaintext API key to unauthenticated usersSame vendor · NVD/CVE Database
- CriticalCVE-2026-19407: Google Cloud Gemini Enterprise Agent Platform SDK for Python bucket squattingSame vendor · NVD/CVE Database