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
History
No history.
Information
Published : 2026-02-18 21:16
Updated : 2026-02-26 22: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
