# CVE-2026-12706: Ffmpeg: ffmpeg: heap use-after-free read in rasc decoder decode\_move()

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-19 · Modified: 2026-11-25
- Aliases: UBUNTU-CVE-2026-12706, DEBIAN-CVE-2026-12706, openSUSE-SU-2026:11361-1, ALPINE-CVE-2026-12706
- Record: https://cvemate.com/vulnerability/CVE-2026-12706 · JSON: https://cvemate.com/vulnerability/CVE-2026-12706/json

## Description

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

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.275%, percentile 21.302%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine ffmpeg (Alpine Linux): \< 9.0.2-r0
- debian ffmpeg (Debian): \< 7:5.1.9-0+deb12u1 \| \< 7:7.1.4-0+deb13u1 \| \< 7:8.1.1-1
- ubuntu ffmpeg (Ubuntu): All versions (No fix recorded) \| \< 7:4.2.7-0ubuntu0.1+esm17 \| \< 7:4.4.2-0ubuntu0.22.04.1+esm16
- ubuntu libav (Ubuntu): All versions (No fix recorded)
- opensuse ffmpeg-7&distro=openSUSE Tumbleweed (openSUSE): \< 7.1.4-5.1

## References

- <https://access.redhat.com/security/cve/CVE-2026-12706>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2490710>
- <https://lists.ffmpeg.org/archives/list/ffmpeg-devel@ffmpeg.org/message/TTRIJZA7UL6KJTEDMMBGZPLLJERJ3EFX/>
- <https://patchwork.ffmpeg.org/project/ffmpeg/patch/177766314111.63.10674887811034989327@29965ddac10e/>
- <https://ubuntu.com/security/CVE-2026-12706>
- <https://www.cve.org/CVERecord?id=CVE-2026-12706>
- <https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22992>
- <https://ubuntu.com/security/notices/USN-8750-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-12706>
- <https://www.suse.com/security/cve/CVE-2026-12706>
- <https://access.redhat.com/errata/RHSA-2026:103315>
- <https://access.redhat.com/errata/RHSA-2026:103421>
- <https://access.redhat.com/errata/RHSA-2026:103422>
- <https://access.redhat.com/errata/RHSA-2026:103423>
- <https://security.alpinelinux.org/vuln/CVE-2026-12706>

---

Data as of 2026-12-05T05:10:52.255Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
