3.3low
Ffmpeg: double-free vulnerability in ffmpeg tensorflow dnn backend
- Severity
- 3.3low CVSS:3.1 by fedora
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ffmpeg | from 6.1 before 8.1 | CVE List |
| ffmpeg ffmpeg | from 6.1 before 8.1 | NVD |
All scores
| fedora | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Se encontró una vulnerabilidad en el backend de TensorFlow de FFmpeg dentro del archivo fuente libavfilter/dnn_backend_tf.c. El problema ocurre en la función dnn_execute_model_tf(), donde un objeto de tarea se libera múltiples veces en ciertas rutas de manejo de errores. Esta desasignación de memoria redundante puede llevar a una condición de doble liberación, lo que podría causar que FFmpeg o cualquier aplicación que lo use se bloquee al procesar modelos DNN basados en TensorFlow. Esto resulta en un escenario de denegación de servicio, pero no permite la ejecución de código arbitrario bajo condiciones normales.
References
| https://access.redhat.com/security/cve/CVE-2025-12343 | third-party-advisory, vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2406533 | issue-tracking, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-12343 changed 2026-02-25 | CVE Terms of Use |
| NVD | CVE-2025-12343 changed 2026-06-17 | Public domain |