Vulnerability · Published Feb 18, 2026 · Assigned by fedora

CVE-2025-12343Ffmpeg: double-free vulnerability in ffmpeg tensorflow dnn backend

Low 3.3

In plain English

A low-severity double free in ffmpeg. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.3Low
Exploit odds (30 days)0.2%top 93.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13ffmpeg7:7.1.2-0+deb13u1DEBIAN-CVE-2025-12343
Debian:13ffmpeg7:7.1.2-0+deb13u1DSA-6007-1
Debian:14ffmpeg7:7.1.2-1DEBIAN-CVE-2025-12343
Ubuntu:25.10ffmpegno fix listedUBUNTU-CVE-2025-12343
Ubuntu:26.10ffmpegno fix listedUBUNTU-CVE-2025-12343

Affected products (as reported)

VendorProductVersions
ffmpeg 6.1 – before 8.1

Weakness: CWE-415 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

References