CVE-2025-12343

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.
References
Link Resource
https://access.redhat.com/security/cve/CVE-2025-12343 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2406533 Issue Tracking Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

History

17 Jun 2026, 08:32

Type Values Removed Values Added
Summary
  • (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.

26 Feb 2026, 22:32

Type Values Removed Values Added
CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
References () https://access.redhat.com/security/cve/CVE-2025-12343 - () https://access.redhat.com/security/cve/CVE-2025-12343 - Third Party Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2406533 - () https://bugzilla.redhat.com/show_bug.cgi?id=2406533 - Issue Tracking, Third Party Advisory
First Time Ffmpeg
Ffmpeg ffmpeg

18 Feb 2026, 21:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-18 21:16

Updated : 2026-06-17 08:32


NVD link : CVE-2025-12343

Mitre link : CVE-2025-12343

CVE.ORG link : CVE-2025-12343


JSON object : View

Products Affected

ffmpeg

  • ffmpeg
CWE
CWE-415

Double Free