Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-12706 EUVD-2026-38004GHSA-qh4m-69pj-9vc2

Ffmpeg: ffmpeg: heap use-after-free read in rasc decoder decode_move()

Published Jun 19, 2026 · Updated Jun 22, 2026 · Assigned by redhat

Description

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

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 — —
Red Hat Red Hat OpenShift AI (RHOAI) — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ffmpeg 7:8.1.1-1 —
Debian 13 ffmpeg 7:7.1.4-0+deb13u1 —
Debian 12 ffmpeg 7:5.1.9-0+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ffmpeg No fix yet —
Ubuntu 25.10 ffmpeg No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS ffmpeg No fix yet —
Ubuntu Pro 24.04 LTS ffmpeg No fix yet —
Ubuntu Pro 22.04 LTS ffmpeg 7:4.4.2-0ubuntu0.22.04.1+esm16 USN-8750-1
Ubuntu Pro 20.04 LTS ffmpeg 7:4.2.7-0ubuntu0.1+esm17 USN-8750-1
Ubuntu Pro 18.04 LTS ffmpeg No fix yet —
Ubuntu Pro 16.04 LTS ffmpeg No fix yet —
Ubuntu Pro 14.04 LTS libav No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 ffmpeg-4 4.4.8-150600.13.52.1 SUSE-SU-2026:3542-1
SLES 15 SP4 ffmpeg-4 4.4.8-150400.3.72.1 SUSE-SU-2026:3529-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 ffmpeg-4 4.4.8-150400.3.72.1 SUSE-SU-2026:3529-1
SLE HPC 15 SP4 ffmpeg-4 4.4.8-150400.3.72.1 SUSE-SU-2026:3529-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ffmpeg-4 4.4.8-2.1 openSUSE-SU-2026:11360-1
openSUSE Tumbleweed ffmpeg-7 7.1.4-5.1 openSUSE-SU-2026:11361-1
openSUSE Tumbleweed ffmpeg-8 8.1.2-2.1 openSUSE-SU-2026:11347-1
openSUSE Tumbleweed ffmpeg-9 9.0.1-1.1 openSUSE-SU-2026:11515-1
openSUSE Leap 16.0 ffmpeg-7 7.1.5-160000.1.1 openSUSE-SU-2026:21877-1

Advisories 9

References