Read the docs
TI-2019-12558 Aliases CVE-2019-16778GHSA-844w-j86r-4x2j

Heap buffer overflow in `UnsortedSegmentSum` in TensorFlow

Priority MEDIUM 43CWE-122Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-122 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.00788 56th percentileScored 2026-11-07
Fix Fixed tensorflow (tensorflow): 1.15tensorflow (PyPI): 1.15.0+2 more products

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Googletensorflow< 1.15 to before 1.151.15Patch availableCNA
—tensorflow (PyPI)before 1.15.01.15.0Patch availableGHSA-844w-j86r-4x2j
—tensorflow-cpu (PyPI)before 1.15.01.15.0Patch availableGHSA-844w-j86r-4x2j
—tensorflow-gpu (PyPI)before 1.15.01.15.0Patch availableGHSA-844w-j86r-4x2j
  • tensorflow VendorGoogle Affected < 1.15 to before 1.15 Fixed in 1.15 Patch available CNA
  • tensorflow (PyPI) Vendor— Affected before 1.15.0 Fixed in 1.15.0 Patch available GHSA-844w-j86r-4x2j
  • tensorflow-cpu (PyPI) Vendor— Affected before 1.15.0 Fixed in 1.15.0 Patch available GHSA-844w-j86r-4x2j
  • tensorflow-gpu (PyPI) Vendor— Affected before 1.15.0 Fixed in 1.15.0 Patch available GHSA-844w-j86r-4x2j

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*1.0.0 to before 1.15.0VulnerableGoogle
  • cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* Versions 1.0.0 to before 1.15.0 Vulnerable ·Google

Remediation

  • Fix · CNA tensorflow (tensorflow) Fixed in 1.15
  • Fix · GHSA-844w-j86r-4x2j tensorflow (PyPI) Fixed in 1.15.0 Advisory →
  • Fix · GHSA-844w-j86r-4x2j tensorflow-cpu (PyPI) Fixed in 1.15.0 Advisory →
  • Fix · GHSA-844w-j86r-4x2j tensorflow-gpu (PyPI) Fixed in 1.15.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-16778
  2. 2026-10-03 Alias added: GHSA-844w-j86r-4x2j

References

  • TI-2022-20241 FractionalMaxPool and FractionalAVGPool heap out-of-bounds acess in Tensorflow CVSS 3.1CRITICAL 9.8
  • TI-2022-07640 Integer overflow in Tensorflow CVSS 3.1CRITICAL 9.8
  • TI-2022-07627 Out of bounds read and write in Tensorflow CVSS 3.1HIGH 8.8
  • TI-2022-07619 Out of bounds write in Tensorflow CVSS 3.1HIGH 8.8
  • TI-2022-07613 Read and Write outside of bounds in TFLite CVSS 3.1HIGH 8.8
  • TI-2022-07612 Integer overflow in TFLite CVSS 3.1HIGH 8.8
See all 430 →

Sources