CVE-2022-35940
Python vulnerability analysis and mitigation

Overview

CVE-2022-35940 is a low severity vulnerability affecting TensorFlow versions prior to 2.10.0, discovered in September 2022. The vulnerability exists in the RaggedRangeOp function where an integer overflow can occur when converting large float values to int64, potentially causing program crashes (GitHub Advisory).

Technical details

The vulnerability occurs in the RaggedRangeOp function when processing the 'limits' argument. When a very large float value is provided as input, the conversion to int64 for constructing a TensorShape can trigger an integer overflow. While this results in an InvalidArgument error, it also causes an abort signal that crashes the program. The issue was fixed in commit 37cefa91bee4eace55715eeef43720b958a01192 by adding proper overflow checks (GitHub Advisory).

Impact

When exploited, this vulnerability can cause program crashes through an abort signal, even though it triggers an InvalidArgument error. The impact is considered low severity as it primarily affects program stability rather than security (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in TensorFlow versions 2.7.4, 2.8.3, 2.9.2, and 2.10.0. Users are advised to upgrade to these patched versions. The fix includes proper overflow checking when converting float values to int64 (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

GHSA-5882-5rx9-xgxpCRITICAL10
  • PythonPython
  • crawl4ai
NoYesJan 16, 2026
GHSA-vx9w-5cx4-9796HIGH8.6
  • PythonPython
  • crawl4ai
NoYesJan 16, 2026
CVE-2026-23535HIGH8
  • PythonPython
  • wlc
NoYesJan 16, 2026
CVE-2026-23490HIGH7.5
  • PythonPython
  • pyasn1
NoYesJan 16, 2026
CVE-2026-23528MEDIUM5.3
  • PythonPython
  • distributed
NoYesJan 16, 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