CVE-2025-12343 json
Ffmpeg: double-free vulnerability in ffmpeg tensorflow dnn backend
published 2026-02-18 8 mo ago modified 2026-07-25 3 mo ago also EUVD-2025-207797 , JLSEC-2026-642
- cvss
- 3.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
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.
Patch / fix
- julia FFMPEG_jll 8.1.0+0
- julia FFMPEG_nogpl_jll 8.1.0+0
- julia FFplay_jll 8.1.2+0
- ffmpeg ffmpeg 8.1
- ffmpeg Debian 13 7:7.1.2-0+deb13u1
- ffmpeg Debian 14 7:7.1.2-1
debian advisories DEBIAN-CVE-2025-12343
- ffmpeg Ubuntu Pro 24.04 LTS 7:6.1.1-3ubuntu5+esm10
ubuntu advisories UBUNTU-CVE-2025-12343
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-12343 updated cvss 3.3
FFmpeg: Double-Free Vulnerability in FFmpeg TensorFlow DNN Backend
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | FFMPEG_jll | >=6.1.1+0, <8.1.0+0 |
8.1.0+0 |
| julia | FFMPEG_nogpl_jll | <8.1.0+0 |
8.1.0+0 |
| julia | FFplay_jll | >=7.1.0+0, <8.1.2+0 |
8.1.2+0 |
Classification
- Weakness
-
- CWE-415 Double Free
References
-
access.redhat.com
/security/cve/CVE-2025-12343
vdb-entry, third-party-advisory, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2406533
issue-tracking, third-party-advisory, web
Sources
- CVE List CVE-2025-12343
- NVD CVE-2025-12343
- OSV JLSEC-2026-642
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.