CVE-2023-25662
Python vulnerability analysis and mitigation

Overview

TensorFlow, an open source platform for machine learning, was found to contain a vulnerability (CVE-2023-25662) in versions prior to 2.12.0 and 2.11.1. The vulnerability involves an integer overflow issue in the EditDistance operation. The issue was discovered and disclosed in March 2023, affecting all versions of TensorFlow before the patched versions (GitHub Advisory).

Technical details

The vulnerability occurs in the EditDistance operation within TensorFlow's core functionality. Specifically, in the file //tensorflow/core/ops/arrayops.cc:1067, when hypothesisshapet is empty, hypothesisshape_t->NumElements() - 1 results in an integer overflow, leading to a deadlock condition. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can cause a deadlock in the affected system. The high CVSS score primarily reflects the potential for availability impact, as indicated by the vector string showing high availability impact (A:H) (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in TensorFlow versions 2.12.0 and 2.11.1. The fix was implemented in GitHub commit 08b8e18643d6dcde00890733b270ff8d9960c56c. 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-66471HIGH8.9
  • PythonPython
  • urllib3
NoYesDec 05, 2025
CVE-2025-66418HIGH8.9
  • PythonPython
  • python-urllib3
NoYesDec 05, 2025
CVE-2025-65958HIGH8.5
  • PythonPython
  • cpe:2.3:a:openwebui:open_webui
NoYesDec 04, 2025
CVE-2025-56427HIGH7.5
  • PythonPython
  • composio
NoNoDec 04, 2025
CVE-2025-63681MEDIUM4.3
  • PythonPython
  • open-webui
NoNoDec 04, 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