{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2019-16778","published":"2019-12-16T21:15:11.403000Z","last_modified":"2026-06-17T02:22:47.090000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-122","CWE-681"],"cpes":[{"criteria":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","part":"a","vendor":"google","product":"tensorflow","version_start_including":"1.0.0","version_end_excluding":"1.15.0"}],"cpes_truncated":false,"vendors":["google"],"products":["google/tensorflow"],"epss":{"score":0.00788,"percentile":0.57375,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-844w-j86r-4x2j","ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":[{"introduced":"0","fixed":"1.15.0"}],"versions":["0.12.0","0.12.1","1.0.0","1.0.1","1.1.0","1.10.0","1.10.1","1.11.0","1.12.0","1.12.2","1.12.3","1.13.1","1.13.2","1.14.0","1.2.0","1.2.1","1.3.0","1.4.0","1.4.1","1.5.0","1.5.1","1.6.0","1.7.0","1.7.1","1.8.0","1.9.0"],"versions_truncated":false},{"advisory":"PYSEC-2019-209","ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":[{"introduced":"1.0.0","fixed":"1.15.0"}],"versions":["1.0.0","1.0.1","1.1.0","1.1.0rc0","1.1.0rc1","1.1.0rc2","1.10.0","1.10.0rc0","1.10.0rc1","1.10.1","1.11.0","1.11.0rc0","1.11.0rc1","1.11.0rc2","1.12.0","1.12.0rc0","1.12.0rc1","1.12.0rc2","1.12.2","1.12.3","1.13.0rc0","1.13.0rc1","1.13.0rc2","1.13.1","1.13.2","1.14.0","1.14.0rc0","1.14.0rc1","1.15.0rc0","1.15.0rc1","1.15.0rc2","1.15.0rc3","1.2.0","1.2.0rc0","1.2.0rc1","1.2.0rc2","1.2.1","1.3.0","1.3.0rc0","1.3.0rc1","1.3.0rc2","1.4.0","1.4.0rc0","1.4.0rc1","1.4.1","1.5.0","1.5.0rc0","1.5.0rc1","1.5.1","1.6.0","1.6.0rc0","1.6.0rc1","1.7.0","1.7.0rc0","1.7.0rc1","1.7.1","1.8.0","1.8.0rc0","1.8.0rc1","1.9.0","1.9.0rc0","1.9.0rc1","1.9.0rc2"],"versions_truncated":false},{"advisory":"GHSA-844w-j86r-4x2j","ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":[{"introduced":"0","fixed":"1.15.0"}],"versions":[],"versions_truncated":false},{"advisory":"PYSEC-2019-227","ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":[{"introduced":"1.0.0","fixed":"1.15.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-844w-j86r-4x2j","ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":[{"introduced":"0","fixed":"1.15.0"}],"versions":["0.12.0","0.12.1","1.0.0","1.0.1","1.1.0","1.10.0","1.10.1","1.11.0","1.12.0","1.12.2","1.12.3","1.13.1","1.13.2","1.14.0","1.2.0","1.2.1","1.3.0","1.4.0","1.4.1","1.5.0","1.5.1","1.6.0","1.7.0","1.7.1","1.8.0","1.9.0"],"versions_truncated":false},{"advisory":"PYSEC-2019-234","ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":[{"introduced":"1.0.0","fixed":"1.15.0"}],"versions":["1.0.0","1.0.1","1.1.0","1.10.0","1.10.1","1.11.0","1.12.0","1.12.2","1.12.3","1.13.1","1.13.2","1.14.0","1.2.0","1.2.1","1.3.0","1.4.0","1.4.1","1.5.0","1.5.1","1.6.0","1.7.0","1.7.1","1.8.0","1.9.0"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2019-16778/","html_en":"/en/cve/CVE-2019-16778/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-16778","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-16778"},"untrusted":{"vendor_name":"Google","product_name":"Tensorflow","desc_en":"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":[{"untrusted_vendor":"tensorflow","untrusted_product":"tensorflow","versions":[]}],"references":[{"url":"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/advisory/tfsa-2019-002.md","tags":["Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/commit/db4f9717c41bccc3ce10099ab61996b246099892","tags":["Patch"]},{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-844w-j86r-4x2j","tags":["Patch","Third Party Advisory"]}]}}