Use After Free Affecting ffmpeg package, versions <7:5.1.9-0+deb12u1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.25% (16th 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-ECHOLATEST-FFMPEG-18234756
  • published23 Jul 2026
  • disclosed19 Jun 2026

Introduced: 19 Jun 2026

CVE-2026-12706  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Echo:latest ffmpeg to version 7:5.1.9-0+deb12u1 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 Echo. See How to fix? for Echo:latest relevant fixed versions and status.

A use-after-free vulnerability was found in FFmpeg's RASC video decoder. The decode_move() function initializes a read pointer into a decompressed buffer, but a subsequent reallocation of that same buffer during move-table processing leaves the pointer dangling. An attacker could exploit this by providing a specially crafted AVI file containing a malicious RASC video stream. When a user opens or plays the file, the decoder reads from freed heap memory, which could lead to a denial of service (crash).

CVSS Base Scores

version 3.1