Security mailing lists by PureSourceCode

CVE-2019-16778

CRITICAL 9.8CVSS 3.1

Heap buffer overflow in `UnsortedSegmentSum` in TensorFlow

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.

Published
16 Dec 2019
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-122CWE-681
Also known as
GHSA-844w-j86r-4x2jPYSEC-2019-209PYSEC-2019-227PYSEC-2019-234
Sources
NVDJSONOSV GHSA-844w-j86r-4x2jJSONOSV PYSEC-2019-209JSONOSV PYSEC-2019-227JSONOSV PYSEC-2019-234JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 2.6 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 LOW 2.6 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD google tensorflow
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
>= 1.0.0, < 1.15.0 1.15.0
OSV PyPI tensorflow < 1.15.0 1.15.0
OSV PyPI tensorflow-cpu < 1.15.0 1.15.0
OSV PyPI tensorflow-gpu < 1.15.0 1.15.0
OSV PyPI tensorflow >= 1.0.0, < 1.15.0 1.15.0
OSV PyPI tensorflow-cpu >= 1.0.0, < 1.15.0 1.15.0
OSV PyPI tensorflow-gpu >= 1.0.0, < 1.15.0 1.15.0

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 16 Dec 2019)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Dec 2019)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Dec 2019)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Dec 2019)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Dec 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.