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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | ffmpeg | 7:7.1.2-0+deb13u1 | DEBIAN-CVE-2025-12343 |
| Debian:13 | ffmpeg | 7:7.1.2-0+deb13u1 | DSA-6007-1 |
| Debian:14 | ffmpeg | 7:7.1.2-1 | DEBIAN-CVE-2025-12343 |
| Ubuntu:25.10 | ffmpeg | no fix listed | UBUNTU-CVE-2025-12343 |
| Ubuntu:26.10 | ffmpeg | no fix listed | UBUNTU-CVE-2025-12343 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://access.redhat.com/security/cve/CVE-2025-12343 vdb-entry, x_refsource_REDHAT
- RHBZ#2406533 issue-tracking, x_refsource_REDHAT