SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityAnalyzed

CVE-2025-12343

The issue occurs in the dnn_execute_model_tf() function, where a task object is freed multiple times in certain error-handling paths.

MEDIUM 5.5EPSS 0.15%

Does this matter?

Lower severity and a low EPSS score (0.15%). Track it; it rarely justifies an emergency change on its own.

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.

CVSS 3.1
5.5 MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.15% probability · 4th percentile
CISA KEV
Not listed
Weakness
CWE-415
Affected
ffmpeg/ffmpeg
Source
patrick@puiterwijk.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.