CVE-2023-25666
Python vulnerability analysis and mitigation

Overview

TensorFlow, an open source platform for machine learning, disclosed a floating point exception vulnerability (CVE-2023-25666) in its AudioSpectrogram component. The vulnerability was present in versions prior to 2.12.0 and 2.11.1, with the disclosure made on March 24, 2023. The issue was discovered by security researcher r3pwnx (GitHub Advisory).

Technical details

The vulnerability stems from insufficient input validation in the AudioSpectrogram component's shape function. Specifically, in the //core/ops/audio_ops.cc file, the code failed to properly validate the stride parameter, allowing it to be set to zero, which could lead to a floating point exception. The issue occurs when processing the output length calculation where a division by the stride value is performed without proper validation (GitHub Commit). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 HIGH (NVD).

Impact

When exploited, this vulnerability could cause a floating point exception in the AudioSpectrogram component, potentially leading to application crashes. This could affect the stability and availability of machine learning applications built using TensorFlow that utilize the AudioSpectrogram functionality (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in TensorFlow versions 2.12.0 and 2.11.1. The fix includes additional input validation in the shape function to ensure the stride parameter is strictly positive and the window size is greater than 1. 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