Vulnerabilities / CVE-2020-15207

critical

CVE-2020-15207

Segfault and data corruption in tensorflow-lite

Published Modified CWE 119, 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
GHSA6.4CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:H/SA:H
Bitnami9.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami. Rated lower by GHSA (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasetensorflow1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1
pip::GitHub Security Advisory piptensorflow, tensorflow-cpu, tensorflow-gpu1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1
Show all 4 entries from 2 sources
SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasetensorflow1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1
pip::GitHub Security Advisory piptensorflow1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1
pip::GitHub Security Advisory piptensorflow-cpu1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1
pip::GitHub Security Advisory piptensorflow-gpu1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1

References

All 9 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.