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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ffmpeg | 7:5.1.9-0+deb12u1 | DEBIAN-CVE-2026-12706 |
| Debian:13 | ffmpeg | 7:7.1.4-0+deb13u1 | DEBIAN-CVE-2026-12706 |
| Debian:14 | ffmpeg | 7:8.1.1-1 | DEBIAN-CVE-2026-12706 |
| Ubuntu:25.10 | ffmpeg | no fix listed | UBUNTU-CVE-2026-12706 |
| Ubuntu:26.10 | ffmpeg | no fix listed | UBUNTU-CVE-2026-12706 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | see references |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | see references |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | see references |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | see references |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | see references |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | see references |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | see references |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | see references |
| Red Hat | Red Hat OpenShift AI (RHOAI) | see references |
| Red Hat | Red Hat OpenShift AI (RHOAI) | see references |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://access.redhat.com/security/cve/CVE-2026-12706 vdb-entry, x_refsource_REDHAT
- RHBZ#2490710 issue-tracking, x_refsource_REDHAT
- https://lists.ffmpeg.org/archives/list/ffmpeg-devel@ffmpeg.org/message/TTRIJZA7UL6KJTEDMMBGZPLLJERJ3EFX/
- https://patchwork.ffmpeg.org/project/ffmpeg/patch/177766314111.63.10674887811034989327@29965ddac10e/