# CVE-2025-12343: ffmpeg: A flaw was found in FFmpeg’s TensorFlow backend within the libavfilter/dnn_backend_tf.c source file

CVE-2025-12343 is fixed in 15 products on 1 platform, first by DEBIAN-CVE-2025-12343, released February 18, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-12343
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0017
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 18, 2026

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ffmpeg Debian 13.5 (trixie) | 7:7.1.2-0+deb13u1 | [DEBIAN-CVE-2025-12343](https://patchblox.com/security/data/fix/linux/debian-cve-2025-12343.md) | Feb 18, 2026 |
| Linux | ffmpeg Debian 14 | 7:7.1.2-1 | [DEBIAN-CVE-2025-12343](https://patchblox.com/security/data/fix/linux/debian-cve-2025-12343.md) | Feb 18, 2026 |
| Linux | ffmpeg Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [ffmpeg 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ffmpeg-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |
| Linux | libavcodec-extra Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [libavcodec-extra 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libavcodec-extra-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |
| Linux | libavcodec-extra60 Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [libavcodec-extra60 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libavcodec-extra60-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |
| Linux | libavcodec60 Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [libavcodec60 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libavcodec60-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |
| Linux | libavdevice60 Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [libavdevice60 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libavdevice60-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |
| Linux | libavfilter-extra Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [libavfilter-extra 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libavfilter-extra-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |
| Linux | libavfilter-extra9 Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [libavfilter-extra9 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libavfilter-extra9-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |
| Linux | libavfilter9 Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [libavfilter9 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libavfilter9-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |
| Linux | libavformat-extra Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [libavformat-extra 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libavformat-extra-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |
| Linux | libavformat-extra60 Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [libavformat-extra60 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libavformat-extra60-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |
| Linux | libavformat60 Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [libavformat60 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libavformat60-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |
| Linux | libavutil58 Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [libavutil58 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libavutil58-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |
| Linux | libpostproc57 Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [libpostproc57 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libpostproc57-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |
| Linux | libswresample4 Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [libswresample4 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libswresample4-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |
| Linux | libswscale7 Ubuntu 24.04.5 LTS (noble) | 7:6.1.1-3ubuntu5+esm10 | [libswscale7 7:6.1.1-3ubuntu5+esm10](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libswscale7-7-6.1.1-3ubuntu5-esm10.md) | Apr 15, 2026 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
