Double Free in Ffmpeg
CVE-2025-12343
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.
Vulnerability class: Double Free
EPSS: 0.001 (4.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L.
Affected products
Weakness classification (CWE)
References
- patrick@puiterwijk.org (x_refsource_REDHAT, Third Party Advisory, vdb-entry)
- patrick@puiterwijk.org (x_refsource_REDHAT, issue-tracking, Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2025-12343?
- CVE-2025-12343 is a low-severity vulnerability in Ffmpeg, classified under Double Free. CVSS score: 3.3/10. Published 2026-02-18.
- How severe is CVE-2025-12343?
- Low severity. CVSS v3 base score is 3.3 out of 10.