CVE-2025-12343 Affecting ffmpeg package, versions <7:6.1.1-3ubuntu5+esm10


Severity

Recommended
low

Based on Ubuntu security rating.

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-UBUNTU2404-FFMPEG-15010929
  • published23 Jun 2026
  • disclosed18 Feb 2026

Introduced: 18 Feb 2026

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

How to fix?

Upgrade Ubuntu:24.04 ffmpeg to version 7:6.1.1-3ubuntu5+esm10 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 Ubuntu. See How to fix? for Ubuntu:24.04 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