CVE-2023-25666: TensorFlow AudioSpectrogram Floating Point Exception

tensorflow Updated 02 Oct 2025

Summary

06/03/2024
Yes i
High
Not published

CVE-2023-25666: TensorFlow has Floating Point Exception in AudioSpectrogram. Affects tensorflow versions < 2.12.0. Fixed in 2.12.0. How to fix ↓

Also tracked for

The same CVE-2023-25666 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

TensorFlow is an open source platform for machine learning. It provides a comprehensive ecosystem of tools, libraries, and resources for developing and deploying machine learning models. TensorFlow is widely used in various domains, including research, industry, and academia. The AudioSpectrogram module in TensorFlow is responsible for generating spectrograms from audio data. Spectrograms are visual representations of the frequency content of audio signals over time. They are commonly used in tasks such as speech recognition and audio classification. However, prior to versions 2.12.0 and 2.11.1, there is a floating point exception vulnerability in the AudioSpectrogram module.

Vulnerability Detail

The floating point exception vulnerability in TensorFlow's AudioSpectrogram module can lead to unexpected program termination or crashes when processing certain audio data. This vulnerability arises due to improper handling of floating point calculations, which can result in division by zero or other undefined operations. An attacker could potentially exploit this vulnerability to cause a denial of service (DoS) condition or execute arbitrary code on a vulnerable system. The impact of this vulnerability depends on the context in which TensorFlow is used and the privileges of the user running the affected application. It is important to note that this vulnerability has been addressed in TensorFlow versions 2.12.0 and 2.11.1.

How To Fix

Minimum fixed version

2.12.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The floating point exception vulnerability in TensorFlow's AudioSpectrogram module can have serious consequences, including unexpected program termination, crashes, denial of service (DoS) conditions, and potential arbitrary code execution. It is crucial to update TensorFlow to version 2.12.0 or 2.11.1 to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for tensorflow →

Share this vulnerability

FAQ

TensorFlow is an open source platform for machine learning that provides a comprehensive ecosystem of tools, libraries, and resources for developing and deploying machine learning models.

The AudioSpectrogram module in TensorFlow is responsible for generating spectrograms from audio data. Spectrograms are visual representations of the frequency content of audio signals over time.

A floating point exception occurs when a floating point operation, such as division by zero or other undefined operations, leads to an invalid result or an exceptional condition.

The impact of this vulnerability depends on the context in which TensorFlow is used and the privileges of the user running the affected application. It can lead to unexpected program termination or crashes, potentially causing a denial of service (DoS) condition or enabling arbitrary code execution.

To mitigate this vulnerability, it is recommended to update TensorFlow to version 2.12.0 or 2.11.1, which include a fix for the floating point exception in the AudioSpectrogram module.

Related vulnerabilities

Recent vulnerabilities recorded for tensorflow.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

2.12.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback