CVE-2022-41896
Python vulnerability analysis and mitigation

Overview

TensorFlow, an open source platform for machine learning, was found to contain a vulnerability (CVE-2022-41896) where if ThreadUnsafeUnigramCandidateSampler is given input filterbank_channel_count greater than the allowed max size, the application would crash. The vulnerability was discovered by Yu Tian from Qihoo 360 AIVul Team and was disclosed on November 18, 2022. The affected versions include TensorFlow versions below 2.11.0 (GitHub Advisory).

Technical details

The vulnerability occurs when the MfccMelFilterbank initialization fails due to the number of requested channels being greater than or equal to the maximum value an integer can take. The issue was addressed in GitHub commit 39ec7eaf1428e90c37787e5b3fbd68ebd3c48860, which added checks to fail initialization when the number of channels exceeds the vector's maximum size (GitHub Commit).

Impact

When exploited, this vulnerability causes TensorFlow to crash when processing input with filterbankchannelcount greater than the allowed maximum size. This could potentially lead to denial of service in applications utilizing the affected TensorFlow components (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in multiple TensorFlow versions: 2.11.0, 2.10.1, 2.9.3, and 2.8.4. Users are advised to upgrade to these patched versions to mitigate the vulnerability (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
  • pgadmin4
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