# CVE-2020-15207: Segfault and data corruption in tensorflow-lite

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2020-09-25 · Modified: 2024-08-04
- Aliases: GHSA-q4qf-3fc6-8x34, BIT-tensorflow-2020-15207, PYSEC-2020-130, PYSEC-2020-287, PYSEC-2020-322
- Record: https://cvemate.com/vulnerability/CVE-2020-15207 · JSON: https://cvemate.com/vulnerability/CVE-2020-15207/json

## Description

```text
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, to mimic Python's indexing with negative values, TFLite uses `ResolveAxis` to convert negative values to positive indices. However, the only check that the converted index is now valid is only present in debug builds. If the `DCHECK` does not trigger, then code execution moves ahead with a negative index. This, in turn, results in accessing data out of bounds which results in segfaults and/or data corruption. The issue is patched in commit 2d88f470dea2671b430884260f3626b1fe99830a, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.
```

## Signals

- CVSS: 9 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS: 1.243%, percentile 70.242%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- google tensorflow: \< 1.15.4 \| ≥ 2.0.0, \< 2.0.3 \| ≥ 2.1.0, \< 2.1.2 \| ≥ 2.2.0, \< 2.2.1 \| ≥ 2.3.0, \< 2.3.1
- opensuse leap: 15.2
- PyPI tensorflow (PyPI): \< 1.15.4 \| ≥ 2.0.0, \< 2.0.3 \| ≥ 2.1.0, \< 2.1.2 \| ≥ 2.2.0, \< 2.2.1 \| \< 2d88f470dea2671b430884260f3626b1fe99830a \| ≥ 2.3.0, \< 2.3.1
- PyPI tensorflow-cpu (PyPI): \< 1.15.4 \| ≥ 2.0.0, \< 2.0.3 \| ≥ 2.1.0, \< 2.1.2 \| ≥ 2.2.0, \< 2.2.1 \| \< 2d88f470dea2671b430884260f3626b1fe99830a \| ≥ 2.3.0, \< 2.3.1
- PyPI tensorflow-gpu (PyPI): \< 1.15.4 \| ≥ 2.0.0, \< 2.0.3 \| ≥ 2.1.0, \< 2.1.2 \| ≥ 2.2.0, \< 2.2.1 \| \< 2d88f470dea2671b430884260f3626b1fe99830a \| ≥ 2.3.0, \< 2.3.1
- tensorflow tensorflow: \< 1.15.4 \| ≥ 2.0.0, \< 2.0.3 \| ≥ 2.1.0, \< 2.1.2 \| ≥ 2.2.0, \< 2.2.1 \| ≥ 2.3.0, \< 2.3.1

## References

- <https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1>
- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-q4qf-3fc6-8x34>
- <https://github.com/tensorflow/tensorflow/commit/2d88f470dea2671b430884260f3626b1fe99830a>
- <http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15207>
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-287.yaml>
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-322.yaml>
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-130.yaml>
- <https://github.com/tensorflow/tensorflow>

---

Data as of 2026-12-05T13:03:01.622Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
