Skip to main content
← All vulnerabilities
CVE-2025-12343

Ffmpeg: double-free vulnerability in ffmpeg tensorflow dnn backend

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ffmpeg

    From 6.1 · fixed in 8.1

References 2

access.redhat.com

bugzilla.redhat.com