Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
5.5

FFmpeg can crash when using TensorFlow-based models

CVE-2025-12343
Summary

FFmpeg, a popular media processing tool, has a flaw that can cause it to crash when processing certain types of artificial intelligence models. This is not a security risk, but it can make FFmpeg stop working. To avoid this, upgrade to the latest version of FFmpeg.

What to do

No fix is available yet. Check with your software vendor for updates.

Affected software
VendorProductAffected versionsFix available
ffmpeg ffmpeg > 6.1 , <= 8.1
Original title
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 t...
Original 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.
nvd CVSS3.1 5.5
Vulnerability type
CWE-415
Published: 18 Feb 2026 · Updated: 11 Mar 2026 · First seen: 6 Mar 2026