CVE-2022-23562
Python vulnerability analysis and mitigation

Overview

The CVE-2022-23562 vulnerability affects TensorFlow, an Open Source Machine Learning Framework. The vulnerability was discovered in the implementation of the Range function, which suffers from integer overflows that can trigger undefined behavior or extremely large allocations. The issue affects TensorFlow versions prior to 2.8.0, including versions 2.5.x, 2.6.x, and 2.7.x (GitHub Advisory).

Technical details

The vulnerability stems from integer overflows in the Range function implementation. When handling large values, the function could produce undefined behavior due to improper handling of size calculations during memory allocation. The issue received a CVSS v3.1 base score of 8.8 (HIGH) from NVD with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, while GitHub assessed it with a score of 7.6 (HIGH) with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H (NVD).

Impact

The vulnerability can lead to undefined behavior in the system or trigger extremely large memory allocations that could result in out-of-memory conditions. This could potentially affect the stability and security of applications using the TensorFlow framework (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in TensorFlow 2.8.0. Additionally, the fix was backported to TensorFlow versions 2.7.1, 2.6.3, and 2.5.3. Users are advised to upgrade to these patched versions. The fix involves proper validation of size calculations before memory allocation (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-2026-22612HIGH8.9
  • PythonPython
  • fickling
NoYesJan 10, 2026
CVE-2026-22609HIGH8.9
  • PythonPython
  • fickling
NoYesJan 10, 2026
CVE-2026-22608HIGH8.9
  • PythonPython
  • fickling
NoYesJan 10, 2026
CVE-2026-22691LOW2.7
  • PythonPython
  • pypdf
NoYesJan 10, 2026
CVE-2026-22690LOW2.7
  • PythonPython
  • pypdf
NoYesJan 10, 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