CVE-2019-16778

published 16 Dec 2019 · updated 5 Aug 2024

Heap buffer overflow in `UnsortedSegmentSum` in TensorFlow

2.6LowCVSS 2.6EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.15.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
TensorFlow>=< 1.15 <1.151.15

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2019-16778 severity on Zeptric[![CVE-2019-16778](https://zeptric.io/badge/cve/CVE-2019-16778.svg)](https://zeptric.io/cve/CVE-2019-16778)