| Name | CVE-2026-12706 |
| 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). |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ffmpeg (PTS) | bullseye | 7:4.3.7-0+deb11u1 | vulnerable |
| bullseye (security) | 7:4.3.9-0+deb11u2 | vulnerable | |
| bookworm | 7:5.1.8-0+deb12u1 | vulnerable | |
| bookworm (security) | 7:5.1.9-0+deb12u1 | fixed | |
| trixie | 7:7.1.3-0+deb13u1 | vulnerable | |
| trixie (security) | 7:7.1.4-0+deb13u1 | fixed | |
| forky, sid | 7:8.1.1-4 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ffmpeg | source | bookworm | 7:5.1.9-0+deb12u1 | |||
| ffmpeg | source | trixie | 7:7.1.4-0+deb13u1 | |||
| ffmpeg | source | (unstable) | 7:8.1.1-1 |
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)