Description
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.
Scores
CVSS v3
2.6
EPSS
0.0032
EPSS Percentile
55.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L
Details
CWE
CWE-681
CWE-122
Status
published
Products (4)
google/tensorflow
1.0.0 - 1.15.0
pypi/tensorflow
0 - 1.15.0PyPI
pypi/tensorflow-cpu
0 - 1.15.0PyPI
pypi/tensorflow-gpu
0 - 1.15.0PyPI
Published
Dec 16, 2019
Tracked Since
Feb 18, 2026