CVE-2022-35986
Python vulnerability analysis and mitigation

Overview

TensorFlow, an open source platform for machine learning, was found to contain a vulnerability in its RaggedBincount operation (CVE-2022-35986). The vulnerability was discovered when RaggedBincount was given an empty input tensor 'splits', which resulted in a segmentation fault. This issue was identified in versions prior to 2.10.0 and was patched in versions 2.7.4, 2.8.3, 2.9.2, and 2.10.0 (GitHub Advisory).

Technical details

The vulnerability occurs when RaggedBincount receives an empty input tensor for its 'splits' parameter, leading to a segmentation fault. The issue can be triggered by providing an empty array to the splits parameter while passing random values to other parameters including values, size, and weights. The vulnerability was fixed by adding a validation check that requires the splits parameter to be non-empty (GitHub Commit).

Impact

The vulnerability can be exploited to trigger a denial of service attack by causing the application to crash through a segmentation fault (GitHub Advisory).

Mitigation and workarounds

Users should upgrade to the patched versions: TensorFlow 2.7.4, 2.8.3, 2.9.2, or 2.10.0. The fix implements a validation check that prevents empty splits arrays from being processed (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