CVE-2023-25671
Python vulnerability analysis and mitigation

Overview

TensorFlow, an open source platform for machine learning, was found to contain a vulnerability identified as CVE-2023-25671. The vulnerability involves an out-of-bounds access issue caused by mismatched integer type sizes in ValueMap::Manager::GetValueOrCreatePlaceholder. This security flaw was discovered by r3pwnx from 360 AIVul and was publicly disclosed on March 24, 2023. The vulnerability affects TensorFlow versions prior to 2.12.0 and 2.11.1 (GitHub Advisory).

Technical details

The vulnerability stems from a bug in tfg-translate's handling of generic functions, specifically in the ValueMap::Manager::GetValueOrCreatePlaceholder component. The issue occurs because generic functions use the "old importer" unlike non-generic functions, which leads to potential out-of-bounds access due to mismatched integer type sizes. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating a high-severity issue with potential for significant impact (NVD).

Impact

The vulnerability could lead to out-of-bounds access in the TensorFlow system, potentially causing segmentation faults and system crashes. This could affect the availability of services running TensorFlow implementations (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in TensorFlow versions 2.12.0 and 2.11.1. The fix was implemented through two commits: 760322a71ac9033e122ef1f4b1c62813021e5938 and 2eedc8f676d2c3b8be9492e547b2bc814c10b367. 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-2026-22871HIGH8.7
  • PythonPython
  • guarddog
NoYesJan 13, 2026
GHSA-58pv-8j8x-9vj2HIGH8.6
  • PythonPython
  • jaraco.context
NoYesJan 13, 2026
CVE-2026-22779MEDIUM6.3
  • PythonPython
  • blacksheep
NoYesJan 14, 2026
CVE-2026-21889LOW2.3
  • PythonPython
  • weblate
NoYesJan 14, 2026
CVE-2025-68492LOW2.3
  • PythonPython
  • chainlit
NoYesJan 14, 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