CVE-2025-12343

ffmpeg: A flaw was found in FFmpeg’s TensorFlow backend within the libavfilter/dnn_backend_tf.c source file

CVE-2025-12343 is fixed in 15 products on 1 platform, first by DEBIAN-CVE-2025-12343, released February 18, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.5
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0017
6th percentile

A flaw was found in FFmpeg’s TensorFlow backend within the libavfilter/dnn_backend_tf.c source file. The issue occurs in the dnn_execute_model_tf() function, where a task object is freed multiple times in certain error-handling paths. This redundant memory deallocation can lead to a double-free condition, potentially causing FFmpeg or any application using it to crash when processing TensorFlow-based DNN models. This results in a denial-of-service scenario but does not allow arbitrary code execution under normal conditions.

Where it's fixed

ProductFixed inFixReleased
Linux
ffmpeg · Debian 13.5 (trixie) 7:7.1.2-0+deb13u1 DEBIAN-CVE-2025-12343 Feb 18, 2026
ffmpeg · Debian 14 7:7.1.2-1 DEBIAN-CVE-2025-12343 Feb 18, 2026
ffmpeg · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 ffmpeg 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026
libavcodec-extra · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 libavcodec-extra 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026
libavcodec-extra60 · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 libavcodec-extra60 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026
libavcodec60 · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 libavcodec60 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026
libavdevice60 · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 libavdevice60 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026
libavfilter-extra · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 libavfilter-extra 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026
libavfilter-extra9 · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 libavfilter-extra9 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026
libavfilter9 · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 libavfilter9 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026
libavformat-extra · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 libavformat-extra 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026
libavformat-extra60 · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 libavformat-extra60 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026
libavformat60 · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 libavformat60 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026
libavutil58 · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 libavutil58 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026
libpostproc57 · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 libpostproc57 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026
libswresample4 · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 libswresample4 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026
libswscale7 · Ubuntu 24.04.5 LTS (noble) 7:6.1.1-3ubuntu5+esm10 libswscale7 7:6.1.1-3ubuntu5+esm10 Apr 15, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.