CVE-2026-12706
MEDIUM
NVD
CVSS Score
6.5
Severity
MEDIUM
Published
Jun 19, 2026
Vendor
unknown
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://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/