{"id":"CVE-2025-12343","details":"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.","modified":"2026-04-10T05:20:57.022634Z","published":"2026-02-18T21:16:20.453Z","references":[{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-12343"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2406533"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"47ac3e60653da651dfa064b649d0ac297560d8d5"},{"fixed":"638b521c7b09e00514aa13ade43c389b4b40ddfd"}],"database_specific":{"versions":[{"introduced":"6.1"},{"fixed":"8.1"}]}}],"versions":["n6.1-dev","n6.2-dev","n7.1-dev","n7.2-dev"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12343.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}