Vulnerabilities / CVE-2020-15208

critical

CVE-2020-15208

Data corruption in tensorflow-lite

Published Modified CWE 125, 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.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA8.6CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Bitnami9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

Description

In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, when determining the common dimension size of two tensors, TFLite uses a `DCHECK` which is no-op outside of debug compilation modes. Since the function always returns the dimension of the first tensor, malicious attackers can craft cases where this is larger than that of the second tensor. In turn, this would result in reads/writes outside of bounds since the interpreter will wrongly assume that there is enough data in both tensors. The issue is patched in commit 8ee24e7949a203d234489f9da2c5bf45a7d5157d, 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.