CVE-2025-12343 Affecting ffmpeg package, versions <7:7.1.2-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.15% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-FFMPEG-13733874
  • published29 Oct 2025
  • disclosed18 Feb 2026

Introduced: 29 Oct 2025

CVE-2025-12343  (opens in a new tab)

How to fix?

Upgrade Debian:unstable ffmpeg to version 7:7.1.2-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ffmpeg package and not the ffmpeg package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1