CVE-2022-41898
Python vulnerability analysis and mitigation

Overview

TensorFlow, an open source platform for machine learning, was found to contain a vulnerability (CVE-2022-41898) where if SparseFillEmptyRowsGrad is given empty inputs, it would cause the application to crash. This vulnerability was discovered by Jiawei Liu, a PhD student at University of Illinois, Urbana-Champaign, and affects versions prior to 2.11.0 (GitHub Advisory).

Technical details

The vulnerability exists in the SparseFillEmptyRowsGrad operation when processing empty inputs. The issue can be triggered by calling the operation with empty reverseindexmap and grad_values parameters. The vulnerability has been assigned a CVSS score of 7.5 HIGH (NVD).

Impact

When exploited, this vulnerability causes TensorFlow to crash, resulting in a denial of service condition. This could affect applications and systems that rely on TensorFlow for machine learning operations, particularly those that process sparse tensors (GitHub Advisory).

Mitigation and workarounds

The issue has been patched in GitHub commit af4a6a3c8b95022c351edae94560acc61253a1b8. The fix is included in TensorFlow 2.11.0, and has been backported to versions 2.10.1, 2.9.3, and 2.8.4. Users are advised to upgrade to these patched versions (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-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 11, 2025
CVE-2025-13780CRITICAL9.1
  • PythonPython
  • cpe:2.3:a:pgadmin:pgadmin
NoYesDec 11, 2025
CVE-2025-67644HIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 11, 2025
CVE-2025-67720MEDIUM6.5
  • PythonPython
  • pyrofork
NoYesDec 11, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 10, 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