ffmpeg: A use-after-free vulnerability was found in FFmpeg's RASC video decoder
CVE-2026-12706 is fixed in 18 products on 1 platform, first by DEBIAN-CVE-2026-12706, released June 24, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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).
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| ffmpeg · Debian 12.15 (bookworm) | 7:5.1.9-0+deb12u1 | DEBIAN-CVE-2026-12706 | Jun 24, 2026 |
| ffmpeg · Debian 13.5 (trixie) | 7:7.1.4-0+deb13u1 | DEBIAN-CVE-2026-12706 | Jun 24, 2026 |
| ffmpeg · Debian 14 | 7:8.1.1-1 | DEBIAN-CVE-2026-12706 | Jun 24, 2026 |
| ffmpeg · Ubuntu 20.04 LTS (focal) | 7:4.2.7-0ubuntu0.1+esm17 | ffmpeg 7:4.2.7-0ubuntu0.1+esm17 | Aug 6, 2026 |
| ffmpeg · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | ffmpeg 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
| ffmpeg-4 · sles 15.7 | 4.4.8-150600.13.52.1 | SUSE-SU-2026:3542-1 | Aug 10, 2026 |
| ffmpeg-7 · opensuse-leap 16.0 | 7.1.5-160000.1.1 | OPENSUSE-SU-2026:21877-1 | Sep 18, 2026 |
| libavcodec-extra · Ubuntu 20.04 LTS (focal) | 7:4.2.7-0ubuntu0.1+esm17 | libavcodec-extra 7:4.2.7-0ubuntu0.1+esm17 | Aug 6, 2026 |
| libavcodec-extra · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | libavcodec-extra 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
| libavcodec-extra58 · Ubuntu 20.04 LTS (focal) | 7:4.2.7-0ubuntu0.1+esm17 | libavcodec-extra58 7:4.2.7-0ubuntu0.1+esm17 | Aug 6, 2026 |
| libavcodec-extra58 · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | libavcodec-extra58 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
| libavcodec58 · Ubuntu 20.04 LTS (focal) | 7:4.2.7-0ubuntu0.1+esm17 | libavcodec58 7:4.2.7-0ubuntu0.1+esm17 | Aug 6, 2026 |
| libavcodec58 · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | libavcodec58 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
| libavdevice58 · Ubuntu 20.04 LTS (focal) | 7:4.2.7-0ubuntu0.1+esm17 | libavdevice58 7:4.2.7-0ubuntu0.1+esm17 | Aug 6, 2026 |
| libavdevice58 · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | libavdevice58 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
| libavfilter-extra · Ubuntu 20.04 LTS (focal) | 7:4.2.7-0ubuntu0.1+esm17 | libavfilter-extra 7:4.2.7-0ubuntu0.1+esm17 | Aug 6, 2026 |
| libavfilter-extra · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | libavfilter-extra 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
| libavfilter-extra7 · Ubuntu 20.04 LTS (focal) | 7:4.2.7-0ubuntu0.1+esm17 | libavfilter-extra7 7:4.2.7-0ubuntu0.1+esm17 | Aug 6, 2026 |
| libavfilter-extra7 · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | libavfilter-extra7 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
| libavfilter7 · Ubuntu 20.04 LTS (focal) | 7:4.2.7-0ubuntu0.1+esm17 | libavfilter7 7:4.2.7-0ubuntu0.1+esm17 | Aug 6, 2026 |
| libavfilter7 · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | libavfilter7 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
| libavformat-extra · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | libavformat-extra 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
| libavformat-extra58 · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | libavformat-extra58 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
| libavformat58 · Ubuntu 20.04 LTS (focal) | 7:4.2.7-0ubuntu0.1+esm17 | libavformat58 7:4.2.7-0ubuntu0.1+esm17 | Aug 6, 2026 |
| libavformat58 · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | libavformat58 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
| libavresample4 · Ubuntu 20.04 LTS (focal) | 7:4.2.7-0ubuntu0.1+esm17 | libavresample4 7:4.2.7-0ubuntu0.1+esm17 | Aug 6, 2026 |
| libavutil56 · Ubuntu 20.04 LTS (focal) | 7:4.2.7-0ubuntu0.1+esm17 | libavutil56 7:4.2.7-0ubuntu0.1+esm17 | Aug 6, 2026 |
| libavutil56 · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | libavutil56 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
| libpostproc55 · Ubuntu 20.04 LTS (focal) | 7:4.2.7-0ubuntu0.1+esm17 | libpostproc55 7:4.2.7-0ubuntu0.1+esm17 | Aug 6, 2026 |
| libpostproc55 · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | libpostproc55 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
| libswresample3 · Ubuntu 20.04 LTS (focal) | 7:4.2.7-0ubuntu0.1+esm17 | libswresample3 7:4.2.7-0ubuntu0.1+esm17 | Aug 6, 2026 |
| libswresample3 · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | libswresample3 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
| libswscale5 · Ubuntu 20.04 LTS (focal) | 7:4.2.7-0ubuntu0.1+esm17 | libswscale5 7:4.2.7-0ubuntu0.1+esm17 | Aug 6, 2026 |
| libswscale5 · Ubuntu 22.04.1 LTS (jammy) | 7:4.4.2-0ubuntu0.22.04.1+esm16 | libswscale5 7:4.4.2-0ubuntu0.22.04.1+esm16 | Aug 6, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.