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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.002 (4.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 4th percentile — 4.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.002 · change: +0.000
Affected products
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2025-12343 (Third Party Advisory, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (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.