Skip to main content
← All vulnerabilities
CVE-2019-16778GHSA-844W-J86R-4X2JPYSEC-2019-209PYSEC-2019-227PYSEC-2019-234

Heap buffer overflow in `UnsortedSegmentSum` in TensorFlow

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.15, 1.15.0
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • tensorflow tensorflow

    fixed in 1.15

  • tensorflowPyPI

    fixed in 1.15.0

  • tensorflow-cpuPyPI

    fixed in 1.15.0

  • tensorflow-gpuPyPI

    fixed in 1.15.0

  • tensorflow-cpuPyPI

    From 1.0.0 · fixed in 1.15.0

  • tensorflowPyPI

    From 1.0.0 · fixed in 1.15.0

  • tensorflow-gpuPyPI

    From 1.0.0 · fixed in 1.15.0

References 3

GitHub · tensorflow/tensorflow