CVE-2025-12343
CVE-2025-12343 · Ffmpeg: double-free vulnerability in ffmpeg tensorflow dnn backend
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 3.3 · Low · EPSS 0.2% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
ffmpeg Debian:13
- Versions
- 7:7.1.1-1
- Affected ranges
- ECOSYSTEM: < 7:7.1.2-0+deb13u1
Update to 7:7.1.2-0+deb13u1
ffmpeg Debian:14
- Versions
- 7:7.1.1-1
- Affected ranges
- ECOSYSTEM: < 7:7.1.2-1
Update to 7:7.1.2-1
ffmpeg Ubuntu:Pro:24.04:LTS
- Versions
- 7:6.0-6ubuntu1
- 7:6.0-9ubuntu1
- 7:6.1-2ubuntu1
- 7:6.1-3ubuntu1
- 7:6.1-4ubuntu1
- 7:6.1-5ubuntu1
- 7:6.1.1-1ubuntu1
- 7:6.1.1-3ubuntu1
- 7:6.1.1-3ubuntu5
- 7:6.1.1-3ubuntu5+esm1
- 7:6.1.1-3ubuntu5+esm2
- 7:6.1.1-3ubuntu5+esm3
- 7:6.1.1-3ubuntu5+esm4
- 7:6.1.1-3ubuntu5+esm5
- 7:6.1.1-3ubuntu5+esm6
- 7:6.1.1-3ubuntu5+esm7
- 7:6.1.1-3ubuntu5+esm8
- Affected ranges
- ECOSYSTEM: < 7:6.1.1-3ubuntu5+esm10
Update to 7:6.1.1-3ubuntu5+esm10
ffmpeg Ubuntu:25.10
- Versions
- 7:7.1.1-1ubuntu1
- 7:7.1.1-1ubuntu2
- 7:7.1.1-1ubuntu3
- 7:7.1.1-1ubuntu4
- 7:7.1.1-1ubuntu4.1
- 7:7.1.1-1ubuntu4.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ffmpeg Ubuntu:26.10
- Versions
- 7:8.0.1-3ubuntu2
- 7:8.1-3ubuntu3
- 7:8.1.2-2ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published