Vulnerability · Published Jun 18, 2026 · Assigned by JFROG
CVE-2026-8461Heap out-of-bounds write via odd slice_height in FFmpeg MagicYUV decoder
High 8.8
In plain English
A high-severity out-of-bounds write in FFmpeg from FFmpeg. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
An out-of-bounds write vulnerability in FFmpeg's libavcodec library, specifically in the MagicYUV decoder, allows denial-of-service and, in some cases, can be exploited for remote code execution. This vulnerability is associated with the file libavcodec/magicyuv.C. This issue affects FFmpeg before version 8.1.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | ffmpeg | 8.1.2-r0 | ALPINE-CVE-2026-8461 |
| Debian:12 | ffmpeg | no fix listed | DEBIAN-CVE-2026-8461 |
| Debian:13 | ffmpeg | 7:7.1.5-0+deb13u1 | DEBIAN-CVE-2026-8461 |
| Debian:14 | ffmpeg | 7:8.1.2-1 | DEBIAN-CVE-2026-8461 |
| Ubuntu:25.10 | ffmpeg | no fix listed | UBUNTU-CVE-2026-8461 |
| Ubuntu:26.10 | ffmpeg | no fix listed | UBUNTU-CVE-2026-8461 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23159
- https://access.redhat.com/security/cve/CVE-2026-8461 vdb-entry, x_refsource_REDHAT
- RHBZ#2490308 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8461.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:43711 vendor-advisory, x_refsource_REDHAT