ADVISORIES

Vulnerability

CVE-2019-16778

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.

4 advisories report this vulnerability, across 1 ecosystem.

Low severity PyPI 4

Advisories in PyPI

  • GHSA-844w-j86r-4x2j

    Heap buffer overflow in `UnsortedSegmentSum` in TensorFlow

    Low CVE-2019-16778 PyPI Updated 8 July 2026
  • PYSEC-2019-209

    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…

    CVE-2019-16778 PyPI Updated 8 November 2023
  • PYSEC-2019-227

    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…

    CVE-2019-16778 PyPI Updated 8 November 2023
  • PYSEC-2019-234

    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…

    CVE-2019-16778 PyPI Updated 8 November 2023

References