CVE-2021-29618
Python vulnerability analysis and mitigation

Overview

TensorFlow, an end-to-end open source platform for machine learning, was found to contain a vulnerability identified as CVE-2021-29618. The vulnerability was discovered when passing a complex argument to tf.transpose function simultaneously with the conjugate=True parameter, which results in a system crash. The issue was reported on March 30, 2021, and affects multiple versions of TensorFlow prior to version 2.5.0 (GitHub Advisory).

Technical details

The vulnerability occurs specifically in the transpose functionality of TensorFlow when handling complex inputs. The issue manifests when attempting to use the tf.transpose function with both a complex argument and the conjugate=True parameter, leading to a crash in the application. The vulnerability affects TensorFlow versions below 2.5.0, including versions 2.4.x, 2.3.x, 2.2.x, and 2.1.x that were still in the supported range (CVE Mitre).

Impact

The impact of this vulnerability is considered Low severity. When exploited, it results in a crash of the TensorFlow application, potentially causing service interruption for systems utilizing the affected transpose functionality (GitHub Advisory).

Mitigation and workarounds

The fix for this vulnerability was implemented in TensorFlow 2.5.0. Additionally, the patch was backported to earlier supported versions: TensorFlow 2.4.2, 2.3.3, 2.2.3, and 2.1.4. Users are advised to upgrade to these patched versions to resolve the vulnerability. The fix was implemented through GitHub commit 1dc6a7ce6e0b3e27a7ae650bfc05b195ca793f88 (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-66423HIGH7.1
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-66454MEDIUM6.5
  • PythonPython
  • arcade-mcp-server
NoYesDec 02, 2025
CVE-2025-66424MEDIUM6.5
  • PythonPython
  • trytond
NoYesNov 30, 2025
CVE-2025-66422MEDIUM4.3
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-65858LOW3.5
  • PythonPython
  • calibreweb
NoNoDec 02, 2025

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