CVE-2026-12706 json
Ffmpeg: ffmpeg: heap use-after-free read in rasc decoder decode_move()
published 2026-06-19 4 mo ago modified 2026-06-22 4 mo ago also EUVD-2026-38004
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- ffmpeg Debian 12 7:5.1.9-0+deb12u1
- ffmpeg Debian 13 7:7.1.4-0+deb13u1
- ffmpeg Debian 14 7:8.1.1-1
debian advisories DEBIAN-CVE-2026-12706
- ffmpeg Ubuntu Pro 20.04 LTS 7:4.2.7-0ubuntu0.1+esm17
- ffmpeg Ubuntu Pro 22.04 LTS 7:4.4.2-0ubuntu0.22.04.1+esm16
ubuntu advisories UBUNTU-CVE-2026-12706
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ffmpeg-4 SLE Workstation Extension 15 SP7, SLE Module for Package Hub 15 SP7 4.4.8-150600.13.52.1
- ffmpeg-4 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 4.4.8-150400.3.72.1
suse advisories SUSE-SU-2026:3542-1SUSE-SU-2026:3529-1
- ffmpeg-7 openSUSE Leap 16.0 7.1.5-160000.1.1
- ffmpeg-9 openSUSE Tumbleweed 9.0.1-1.1
- ffmpeg-4 openSUSE Tumbleweed 4.4.8-2.1
- ffmpeg-7 openSUSE Tumbleweed 7.1.4-5.1
- ffmpeg-8 openSUSE Tumbleweed 8.1.2-2.1
opensuse advisories openSUSE-SU-2026:21877-1openSUSE-SU-2026:11515-1openSUSE-SU-2026:11360-1openSUSE-SU-2026:11361-1openSUSE-SU-2026:11347-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-12706 updated cvss 6.5
ffmpeg: ffmpeg: heap use-after-free read in RASC decoder decode_move()
-
Red Hat Enterprise Linux AI (RHEL AI) 3 ffmpeg 6.1.5-2.el9ai, rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, +1 more Red Hat OpenShift AI (RHOAI) rhoai/odh-vllm-gaudi-rhel9affected: workaround, no fix available “If the RASC decoder is not needed, it can be disabled at build time with --disable-decoder=rasc. There is no runtime workaround that disables the decoder without rebuilding FFmpeg.”
-
Red Hat Enterprise Linux AI (RHEL AI) 3 nv-codec-headers 12.2.72.0-2.el9ai Red Hat OpenShift AI (RHOAI) rhoai/odh-openvino-model-server-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected products
- Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3
- Red Hat Red Hat OpenShift AI (RHOAI)
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
access.redhat.com
/security/cve/CVE-2026-12706
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2490710
issue-tracking
- lists.ffmpeg.org /archives/list/ffmpeg-devel@ffmpeg.org/message/TTRIJZA7UL6KJTEDMMBGZPLLJERJ3EFX/
- patchwork.ffmpeg.org /project/ffmpeg/patch/177766314111.63.10674887811034989327@29965ddac10e/
Sources
- CVE List CVE-2026-12706
- NVD CVE-2026-12706
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.