CVE-2019-16778
LOWTensorFlow < 1.15.0 - Heap Buffer Overflow in UnsortedSegmentSum
Title source: llmDescription
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.
References (3)
Core 3
Core References
Patch, Third Party Advisory x_refsource_confirm
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-844w-j86r-4x2j
Patch x_refsource_misc
https://github.com/tensorflow/tensorflow/commit/db4f9717c41bccc3ce10099ab61996b246099892
Third Party Advisory x_refsource_misc
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2019-002.md
Scores
CVSS v3
2.6
EPSS
0.0078
EPSS Percentile
50.9%
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