Back
CVE-2019-16778
Heap buffer overflow in `UnsortedSegmentSum` in TensorFlow
Low2.6EPSS 0.79%
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Low2.6 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.79% · top 44% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.6.
Weakness
Affected products
- affected < 1.15 – < 1.15
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPItensorflowGHSA-844w-j86r-4x2j (opens in a new tab)
- PyPItensorflow-cpuGHSA-844w-j86r-4x2j (opens in a new tab)
- PyPItensorflow-gpuGHSA-844w-j86r-4x2j (opens in a new tab)
References (3)
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-844w-j86r-4x2j (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/tensorflow/tensorflow/commit/db4f9717c41bccc3ce10099ab61996b246099892 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2019-002.md (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-844w-j86r-4x2j (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-16778)Record last updated .