All vulnerabilities

Servers and applications

CVE-2025-12343

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…

Severity
Medium 5.5
Published
18 Feb 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
8.1
Exploit chance
0.2% in the next 30 daysHigher than 6% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Double free (CWE-415)
Attack
Needs local access · No login needed · Needs someone to click or open something
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
FFmpegServers and applications · cpe:a:ffmpeg:ffmpeg
  • From 6.1 before 8.1

About FFmpeg

multimedia framework

From Wikidata, CC0 1.0.
GitHub stars
67,332GitHub, 15 Nov 2026
Forks
14,646GitHub, 15 Nov 2026
Developer
Fabrice BellardWikidata
License
GNU Lesser General Public License, version 2.1 or laterWikidata
Written in
C, assembly language, C++Wikidata
First released
20 Dec 2000Wikidata
First published on GitHub
14 Apr 2011GitHub

Release lines

ReleaseLatestSecurity fixes
9.0 'Lei'9.0.2Yes
8.1 'Hoare'8.1.3Yes
8.0 'Huffman'8.0.3Yes
7.1 'Péter' (LTS)LTS7.1.5Yes
7.0 'Dijkstra'7.0.3Ended 22 Jun 2026
6.1 'Heaviside'6.1.6Yes

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-12343
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-12343