CVE-2023-25667
Python vulnerability analysis and mitigation

Overview

CVE-2023-25667 affects TensorFlow, an open source platform for machine learning. The vulnerability was discovered in versions prior to 2.12.0 and 2.11.1, where an integer overflow occurs when 2^31 <= num_frames * height * width * channels < 2^32, for example when processing a Full HD screencast of at least 346 frames. The issue was disclosed on March 24, 2023 (NVD, GitHub Advisory).

Technical details

The vulnerability is caused by an integer overflow condition in the image processing functionality of TensorFlow. The issue specifically occurs when handling multiframe GIF images where the product of num_frames, height, width, and channels falls between 2^31 and 2^32. This condition can be triggered, for example, with a Full HD screencast containing at least 346 frames. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 HIGH (NVD).

Impact

When exploited, this vulnerability can lead to a segmentation fault when attempting to open multiframe GIF files that meet the specific size conditions. This could potentially result in application crashes and denial of service (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in TensorFlow versions 2.12.0 and 2.11.1. Users are advised to upgrade to these or later versions. The fix was implemented in GitHub commit 8dc723fcdd1a6127d6c970bd2ecb18b019a1a58d (GitHub Commit).

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