CVE-2025-12343

published 18 Feb 2026 · updated 25 Feb 2026

Ffmpeg: double-free vulnerability in ffmpeg tensorflow dnn backend

3.3LowCVSS 3.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 8.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=6.1 <8.18.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-12343 severity on Zeptric[![CVE-2025-12343](https://zeptric.io/badge/cve/CVE-2025-12343.svg)](https://zeptric.io/cve/CVE-2025-12343)