Read the docs
TI-2020-12037 Aliases CVE-2020-15265GHSA-rrfp-j2mp-hq9c

Segfault in Tensorflow

Priority LOW 35CWE-125Published · Updated

Key facts

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

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

Summary

In Tensorflow before version 2.4.0, an attacker can pass an invalid `axis` value to `tf.quantization.quantize_and_dequantize`. This results in accessing a dimension outside the rank of the input tensor in the C++ kernel implementation. However, dim_size only does a DCHECK to validate the argument and then uses it to access the corresponding element of an array. Since in normal builds, `DCHECK`-like macros are no-ops, this results in segfault and access out of bounds of the array. The issue is patched in eccb7ec454e6617738554a255d77f08e60ee0808 and TensorFlow 2.4.0 will be released containing the patch. TensorFlow nightly packages after this commit will also have the issue resolved.

Why it matters now

EPSS 0.00908 60th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed tensorflow (tensorflow): 2.4.0tensorflow (PyPI): 2.4.0+2 more products

SSVC decision points

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

Affected products

VendorProductAffected versionsFixed inStatusSource
Googletensorflowbefore 2.4.02.4.0Patch availableCNA
—tensorflow (PyPI)before 2.4.02.4.0Patch availableGHSA-rrfp-j2mp-hq9c
—tensorflow-cpu (PyPI)before 2.4.02.4.0Patch availableGHSA-rrfp-j2mp-hq9c
—tensorflow-gpu (PyPI)before 2.4.02.4.0Patch availableGHSA-rrfp-j2mp-hq9c
  • tensorflow VendorGoogle Affected before 2.4.0 Fixed in 2.4.0 Patch available CNA
  • tensorflow (PyPI) Vendor— Affected before 2.4.0 Fixed in 2.4.0 Patch available GHSA-rrfp-j2mp-hq9c
  • tensorflow-cpu (PyPI) Vendor— Affected before 2.4.0 Fixed in 2.4.0 Patch available GHSA-rrfp-j2mp-hq9c
  • tensorflow-gpu (PyPI) Vendor— Affected before 2.4.0 Fixed in 2.4.0 Patch available GHSA-rrfp-j2mp-hq9c

CPE configurations NVD · 1

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

Remediation

  • Fix · CNA tensorflow (tensorflow) Fixed in 2.4.0
  • Fix · GHSA-rrfp-j2mp-hq9c tensorflow (PyPI) Fixed in 2.4.0 Advisory →
  • Fix · GHSA-rrfp-j2mp-hq9c tensorflow-cpu (PyPI) Fixed in 2.4.0 Advisory →
  • Fix · GHSA-rrfp-j2mp-hq9c tensorflow-gpu (PyPI) Fixed in 2.4.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-15265
  2. 2026-10-03 Alias added: GHSA-rrfp-j2mp-hq9c

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