Skip to content
LowVulnerability

CVE-2025-12343: FFmpeg TensorFlow backend double free in dnn_execute_model_tf

Identifier
CVE-2025-12343
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

CVE-2025-12343 is a flaw in FFmpeg's TensorFlow backend, in libavfilter/dnn_backend_tf.c. In the dnn_execute_model_tf() function, a task object is freed multiple times along certain error-handling paths, causing a double-free. This can crash FFmpeg or any application using it when processing TensorFlow-based DNN models, resulting in a denial-of-service scenario, though the source states it does not allow arbitrary code execution under normal conditions.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.