Read the docs
TI-2020-12038 Aliases CVE-2020-15266GHSA-xwhf-g6j5-j5gc

Undefined behavior in Tensorflow

Priority LOW 35CWE-119Published · 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-119 and the CVSS impact.

Summary

In Tensorflow before version 2.4.0, when the `boxes` argument of `tf.image.crop_and_resize` has a very large value, the CPU kernel implementation receives it as a C++ `nan` floating point value. Attempting to operate on this is undefined behavior which later produces a segmentation fault. 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.0094 61st 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-xwhf-g6j5-j5gc
—tensorflow-cpu (PyPI)before 2.4.02.4.0Patch availableGHSA-xwhf-g6j5-j5gc
—tensorflow-gpu (PyPI)before 2.4.02.4.0Patch availableGHSA-xwhf-g6j5-j5gc
  • 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-xwhf-g6j5-j5gc
  • tensorflow-cpu (PyPI) Vendor— Affected before 2.4.0 Fixed in 2.4.0 Patch available GHSA-xwhf-g6j5-j5gc
  • tensorflow-gpu (PyPI) Vendor— Affected before 2.4.0 Fixed in 2.4.0 Patch available GHSA-xwhf-g6j5-j5gc

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-xwhf-g6j5-j5gc tensorflow (PyPI) Fixed in 2.4.0 Advisory →
  • Fix · GHSA-xwhf-g6j5-j5gc tensorflow-cpu (PyPI) Fixed in 2.4.0 Advisory →
  • Fix · GHSA-xwhf-g6j5-j5gc tensorflow-gpu (PyPI) Fixed in 2.4.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-15266
  2. 2026-10-03 Alias added: GHSA-xwhf-g6j5-j5gc

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