Vulnerability 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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ffmpeg | Ffmpeg | >= 6.1, < 8.1 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/security/cve/CVE-2025-12343Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2406533Issue TrackingThird Party Advisory
FAQ
What is CVE-2025-12343?
CVE-2025-12343 is a vulnerability with a CVSS score of 3.3 (LOW). 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 time...
How severe is CVE-2025-12343?
CVE-2025-12343 has been rated LOW with a CVSS base score of 3.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-12343?
Check the references section above for vendor advisories and patch information. Affected products include: Ffmpeg Ffmpeg.