CVE-2025-12343

Ffmpeg: double-free vulnerability in ffmpeg tensorflow dnn backend

State
Published
Severity
3.3 Low
Published
Feb 18, 2026
Updated
Feb 25, 2026
Reserved
Oct 27, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.13.3 LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:Lfedora

Weaknesses

Affected Products

ProductVersions
ffmpeg
  • 6.1 to before 8.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.