Live threats

All CVEs / Google

CVE-2019-16778Google Tensorflow

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
0.8%
probability of exploitation in 30 days · percentile 57
Auth required
No
Published
Dec 16, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-122, CWE-681
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

In TensorFlow before 1.15, a heap buffer overflow in UnsortedSegmentSum can be produced when the Index template argument is int32. In this case data_size and num_segments fields are truncated from int64 to int32 and can produce negative numbers, resulting in accessing out of bounds heap memory. This is unlikely to be exploitable and was detected and fixed internally in TensorFlow 1.15 and 2.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tensorflow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI tensorflow < 1.15.0 1.15.0 pip install "tensorflow>=1.15.0"
PyPI tensorflow ≥ 1.0.0 < 1.15.0 1.15.0 pip install "tensorflow>=1.15.0"
PyPI tensorflow-cpu < 1.15.0 1.15.0 pip install "tensorflow-cpu>=1.15.0"
PyPI tensorflow-cpu ≥ 1.0.0 < 1.15.0 1.15.0 pip install "tensorflow-cpu>=1.15.0"
PyPI tensorflow-gpu < 1.15.0 1.15.0 pip install "tensorflow-gpu>=1.15.0"
PyPI tensorflow-gpu ≥ 1.0.0 < 1.15.0 1.15.0 pip install "tensorflow-gpu>=1.15.0"

Per OSV / GitHub Advisories (GHSA-844w-j86r-4x2j, PYSEC-2019-209, PYSEC-2019-227, PYSEC-2019-234). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
googletensorflow≥ 1.0.0 < 1.15.0

Official sources

References

Links published by the sources. Open them with care.