CVE-2026-12706

NameCVE-2026-12706
DescriptionA 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).
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ffmpeg (PTS)bullseye7:4.3.7-0+deb11u1vulnerable
bullseye (security)7:4.3.9-0+deb11u2vulnerable
bookworm7:5.1.8-0+deb12u1vulnerable
bookworm (security)7:5.1.9-0+deb12u1fixed
trixie7:7.1.3-0+deb13u1vulnerable
trixie (security)7:7.1.4-0+deb13u1fixed
forky, sid7:8.1.1-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ffmpegsourcebookworm7:5.1.9-0+deb12u1
ffmpegsourcetrixie7:7.1.4-0+deb13u1
ffmpegsource(unstable)7:8.1.1-1

Notes

https://bugzilla.redhat.com/show_bug.cgi?id=2490710
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22992
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/102c590a5f5c38fdbb2368672abda608727874dc (n8.1.1)
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/969e4ddf34f36d93d9b1dbafc5fec44e0e08e494 (n7.1.4)
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/0db9de2219a46884777576a7a40037489be986b4 (n5.1.9)

Search for package or bug name: Reporting problems