Read the docs
TI-2020-11972 Aliases CVE-2020-15200GHSA-x7rp-74x2-mjf3

Segfault in Tensorflow

Priority LOW 28CWE-122Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-122 and the CVSS impact.

Summary

In Tensorflow before version 2.3.1, the `RaggedCountSparseOutput` implementation does not validate that the input arguments form a valid ragged tensor. In particular, there is no validation that the values in the `splits` tensor generate a valid partitioning of the `values` tensor. Thus, the code sets up conditions to cause a heap buffer overflow. A `BatchedMap` is equivalent to a vector where each element is a hashmap. However, if the first element of `splits_values` is not 0, `batch_idx` will never be 1, hence there will be no hashmap at index 0 in `per_batch_counts`. Trying to access that in the user code results in a segmentation fault. The issue is patched in commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02 and is released in TensorFlow version 2.3.1.

Why it matters now

EPSS 0.00851 58th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed tensorflow (PyPI): 2.3.1tensorflow-cpu (PyPI): 2.3.1+1 more product

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Googletensorflow= 2.3.0—No fix listedCNA
—tensorflow (PyPI)2.3.0 to before 2.3.12.3.1Patch availableGHSA-x7rp-74x2-mjf3
—tensorflow-cpu (PyPI)2.3.0 to before 2.3.12.3.1Patch availableGHSA-x7rp-74x2-mjf3
—tensorflow-gpu (PyPI)2.3.0 to before 2.3.12.3.1Patch availableGHSA-x7rp-74x2-mjf3
  • tensorflow VendorGoogle Affected = 2.3.0 Fixed in — No fix listed CNA
  • tensorflow (PyPI) Vendor— Affected 2.3.0 to before 2.3.1 Fixed in 2.3.1 Patch available GHSA-x7rp-74x2-mjf3
  • tensorflow-cpu (PyPI) Vendor— Affected 2.3.0 to before 2.3.1 Fixed in 2.3.1 Patch available GHSA-x7rp-74x2-mjf3
  • tensorflow-gpu (PyPI) Vendor— Affected 2.3.0 to before 2.3.1 Fixed in 2.3.1 Patch available GHSA-x7rp-74x2-mjf3

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:google:tensorflow:2.3.0:*:*:*:-:*:*:*2.3.0VulnerableGoogle
  • cpe:2.3:a:google:tensorflow:2.3.0:*:*:*:-:*:*:* Versions 2.3.0 Vulnerable ·Google

Remediation

  • Fix · GHSA-x7rp-74x2-mjf3 tensorflow (PyPI) Fixed in 2.3.1 Advisory →
  • Fix · GHSA-x7rp-74x2-mjf3 tensorflow-cpu (PyPI) Fixed in 2.3.1 Advisory →
  • Fix · GHSA-x7rp-74x2-mjf3 tensorflow-gpu (PyPI) Fixed in 2.3.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-15200
  2. 2026-10-03 Alias added: GHSA-x7rp-74x2-mjf3

References

  • TI-2022-20241 FractionalMaxPool and FractionalAVGPool heap out-of-bounds acess in Tensorflow CVSS 3.1CRITICAL 9.8
  • TI-2022-07640 Integer overflow in Tensorflow CVSS 3.1CRITICAL 9.8
  • TI-2022-07627 Out of bounds read and write in Tensorflow CVSS 3.1HIGH 8.8
  • TI-2022-07619 Out of bounds write in Tensorflow CVSS 3.1HIGH 8.8
  • TI-2022-07613 Read and Write outside of bounds in TFLite CVSS 3.1HIGH 8.8
  • TI-2022-07612 Integer overflow in TFLite CVSS 3.1HIGH 8.8
See all 430 →

Sources