CVE-2020-26267
Python vulnerability analysis and mitigation

Overview

In affected versions of TensorFlow, the tf.raw_ops.DataFormatVecPermute API contained a vulnerability (CVE-2020-26267) where it failed to validate the src_format and dst_format attributes. The vulnerability affected TensorFlow versions prior to 2.4.0 and was patched in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0 (GitHub Advisory).

Technical details

The vulnerability stems from the code's assumption that the src_format and dst_format arguments define a permutation of NHWC without proper validation. This lack of validation could lead to uninitialized memory accesses, out-of-bounds reads, and potential system crashes. The issue was classified with CWE-125 (Out-of-bounds Read) (NVD CNA Status).

Impact

When exploited, this vulnerability could result in uninitialized memory accesses, reads outside of bounds, and system crashes. The vulnerability affected both the tf.raw_ops.DataFormatVecPermute and tf.raw_ops.DataFormatDimMap APIs (GitHub Advisory).

Exploitability

The vulnerability could be triggered through the manipulation of src_format and dst_format attributes in the DataFormatVecPermute and DataFormatDimMap APIs. Examples of triggering inputs include using invalid format strings, mismatched lengths, and improper permutations (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in GitHub commit ebc70b7a592420d3d2f359e4b1694c236b82c7ae and released in TensorFlow versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0. Users should upgrade to these patched versions to resolve the vulnerability (GitHub Advisory).

Community reactions

The vulnerability was reported by members of the Aivul Team from Qihoo 360 and was assigned a Low severity rating (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