A flaw was found in FFmpeg’s TensorFlow backend within the libavfilter/dnnbackendtf.c source file. The issue occurs in the dnnexecutemodel_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.
{
"sources": [
{
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-12343",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-12343",
"modified": "2026-06-17T08:32:12.467Z",
"id": "CVE-2025-12343",
"imported": "2026-07-17T22:18:35.899Z",
"published": "2026-02-18T21:16:20.453Z",
"database_specific": {
"status": "Analyzed"
}
}
],
"license": "CC-BY-4.0"
}