{"id":"CVE-2025-12343","aliases":["CVE-2025-12343"],"related":[],"kind":"vulnerability","state":"published","title":"Ffmpeg: double-free vulnerability in ffmpeg tensorflow dnn backend","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad en el backend de TensorFlow de FFmpeg dentro del archivo fuente libavfilter/dnn_backend_tf.c. El problema ocurre en la función dnn_execute_model_tf(), donde un objeto de tarea se libera múltiples veces en ciertas rutas de manejo de errores. Esta desasignación de memoria redundante puede llevar a una condición de doble liberación, lo que podría causar que FFmpeg o cualquier aplicación que lo use se bloquee al procesar modelos DNN basados en TensorFlow. Esto resulta en un escenario de denegación de servicio, pero no permite la ejecución de código arbitrario bajo condiciones normales.","source":"nvd"}],"published":"2026-02-18T20:28:08.338Z","modified":"2026-06-17T08:32:12.467Z","severity":{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},"severities":[{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"type":"semver","introduced":"6.1","fixed":"8.1","status":"affected"}],"package":"ffmpeg","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1","fixed":"8.1"}],"vendor":"ffmpeg","product":"ffmpeg","cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-12343","tags":["third-party-advisory","vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2406533","tags":["issue-tracking","third-party-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Jiasheng Jiang for reporting this issue."],"assigner":"fedora","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-25T18:15:43.587Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-12343","url":"https://www.cve.org/CVERecord?id=CVE-2025-12343","licence":"CVE Terms of Use","modified":"2026-02-25T18:15:54.641Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-12343","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12343","licence":"Public domain","modified":"2026-06-17T08:32:12.467Z"}],"updatedAt":"2026-11-25T22:59:11.297Z","epss":{"score":0.0017,"percentile":0.06678,"date":"2026-12-01T12:00:22.000Z"}}