Buffer overflow in Ffmpeg
CVE-2026-58049
FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) performs 32-bit reads and writes at the row cursor before the NEXT_LINE row-boundary check and validates the DLTA region in pixel rather than byte units, so a DLTA run on a PAL8 frame can access several bytes past the row allocation. A crafted media stream using the RASC FourCC, decoded by libavcodec, triggers a bitstream-controlled out-of-bounds heap write and adjacent out-of-bounds read, leading to memory corruption.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H.
EPSS exploit prediction
EPSS 0.005, 43.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ffmpeg — versions 0
Weakness classification (CWE)
References
- libavcodec/rasc.c (product)
- Proof of Concept (exploit, third-party-advisory)
- VulnCheck Advisory: FFmpeg - Out-of-Bounds Write in RASC Decoder decode_dlta() (third-party-advisory)
- access.redhat.com/security/cve/CVE-2026-58049
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-58049.json
- access.redhat.com/errata/RHSA-2026:43711
- access.redhat.com/errata/RHSA-2026:51180
- access.redhat.com/errata/RHSA-2026:52832
- access.redhat.com/errata/RHSA-2026:52833