Vulnerability · Published Jun 19, 2026 · Assigned by redhat

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

Medium 6.5

In plain English

A medium-severity use-after-free in Red Hat Enterprise Linux AI (RHEL AI) 3 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.5%top 60.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ffmpeg7:5.1.9-0+deb12u1DEBIAN-CVE-2026-12706
Debian:13ffmpeg7:7.1.4-0+deb13u1DEBIAN-CVE-2026-12706
Debian:14ffmpeg7:8.1.1-1DEBIAN-CVE-2026-12706
Ubuntu:25.10ffmpegno fix listedUBUNTU-CVE-2026-12706
Ubuntu:26.10ffmpegno fix listedUBUNTU-CVE-2026-12706

Affected products (as reported)

Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References