CVE-2026-12706

medium

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

References

https://patchwork.ffmpeg.org/project/ffmpeg/patch/177766314111.63.10674887811034989327@29965ddac10e/

https://lists.ffmpeg.org/archives/list/[email protected]/message/TTRIJZA7UL6KJTEDMMBGZPLLJERJ3EFX/

https://bugzilla.redhat.com/show_bug.cgi?id=2490710

https://access.redhat.com/security/cve/CVE-2026-12706

Details

Source: Mitre, NVD

Published: 2026-06-19

Updated: 2026-06-19

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Severity: Medium