CVE-2020-15266
Python vulnerability analysis and mitigation

Overview

CVE-2020-15266 affects TensorFlow versions before 2.4.0, specifically related to the tf.image.crop_and_resize function. The vulnerability was discovered on June 25, 2020, and involves a floating-point overflow issue that could lead to undefined behavior and segmentation faults. The issue occurs when the 'boxes' argument contains very large values, causing the CPU kernel implementation to receive it as a C++ nan floating point value (GitHub Advisory).

Technical details

The vulnerability manifests when the boxes argument of tf.image.crop_and_resize contains very large values (e.g., 1.0e+40) or non-finite values (inf or nan). When such values are processed, the CPU kernel implementation incorrectly handles them as C++ nan floating point values, leading to undefined behavior and subsequent segmentation faults (GitHub Issue). The issue was assigned a Low severity rating, indicating limited impact on system security.

Impact

When exploited, this vulnerability results in a segmentation fault, which can cause the application to crash. This primarily affects applications using TensorFlow's image processing capabilities, specifically the tf.image.crop_and_resize function with extreme input values (GitHub Advisory).

Exploitability

The vulnerability can be triggered by providing very large values (such as 1.0e+40) to the 'boxes' argument of the tf.image.crop_and_resize function. A proof-of-concept exploit involves calling the function with zeros for the image and a large value for the boxes parameter (GitHub Issue).

Mitigation and workarounds

The issue has been patched in TensorFlow version 2.4.0. The fix includes additional validation to ensure that box values are finite before processing. Users are recommended to upgrade to TensorFlow 2.4.0 or later versions. The patch was implemented in commit eccb7ec454e6617738554a255d77f08e60ee0808 (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66455CRITICAL9.8
  • Python logoPython
  • lmdeploy
NoYesSep 18, 2026
CVE-2026-63374CRITICAL9.3
  • Python logoPython
  • airflow-3
NoYesSep 18, 2026
CVE-2026-59163CRITICAL9.1
  • Python logoPython
  • mnemosyne-memory
NoYesSep 18, 2026
CVE-2026-33625HIGH8.8
  • Python logoPython
  • lmdeploy
NoYesSep 18, 2026
CVE-2026-64847MEDIUM6.8
  • Python logoPython
  • py3-anyio
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management