CVE-2025-12343
published low CVSS 3.1 · 3.3Ffmpeg: double-free vulnerability in ffmpeg tensorflow dnn backend
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | ffmpeg6.1 to < 8.1 · Other versions: unaffected | Affected | Not stated | fedora |
| Debian | trixie | ffmpeg | Advisory build | 7:7.1.2-0+deb13u1 | DSA-6007-1 |
| Ubuntu | noble | ffmpeg | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
| Ubuntu | noble | libavcodec-extra | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
| Ubuntu | noble | libavcodec-extra60 | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
| Ubuntu | noble | libavcodec60 | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
| Ubuntu | noble | libavdevice60 | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
| Ubuntu | noble | libavfilter-extra | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | libavfilter-extra9 | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
| Ubuntu | noble | libavfilter9 | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
| Ubuntu | noble | libavformat-extra | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
| Ubuntu | noble | libavformat-extra60 | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
| Ubuntu | noble | libavformat60 | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
| Ubuntu | noble | libavutil58 | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
| Ubuntu | noble | libpostproc57 | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
| Ubuntu | noble | libswresample4 | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
| Ubuntu | noble | libswscale7 | Advisory build | 7:6.1.1-3ubuntu5+esm10 | USN-8469-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.3 / 10
- Severity
- low
- Provider
- fedora · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ffmpeg | 6.1 to < 8.1 (affected · semver)Default: unaffected | fedora · cna |
Weaknesses
1- CWE-415 Double Free
References
2- https://access.redhat.com/security/cve/CVE-2025-12343
- RHBZ#2406533 https://bugzilla.redhat.com/show_bug.cgi?id=2406533
Provider assertions
2fedora · cna
Ffmpeg: double-free vulnerability in ffmpeg tensorflow dnn backend
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9947d3f0483e9635a6823352dba75914cc1f0f2ff636c90d03fbe2b2321ad6f5
- Ingested
- 23 Sep 2026, 08:36:37 UTC
- Source record
- Official CVE record