Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| FFmpeg / FFmpeg | affected 0 through bcd2c69e087a09b07cf45c6bd2428ee1ccb2925c |
CWE
CWE-787
References
- https://github.com/bikini/exploitarium/tree/main/ffmpeg-rasc-dlta-calc-poc
- https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/rasc.c
- https://www.vulncheck.com/advisories/ffmpeg-out-of-bounds-write-in-rasc-decoder-decode-dlta
ADP enrichment
No English description supplied.
No references supplied.
A flaw was found in FFmpeg's RASC video decoder. A remote attacker could exploit this by providing a crafted media stream using the RASC FourCC (Four Character Code), which is then decoded by libavcodec. This vulnerability triggers a bitstream-controlled out-of-bounds heap write and an adjacent out-of-bounds read, leading to memory corruption. This can result in a denial of service or potentially arbitrary code execution.
- https://access.redhat.com/security/cve/CVE-2026-58049
- https://bugzilla.redhat.com/show_bug.cgi?id=2493952
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-58049.json
- https://access.redhat.com/errata/RHSA-2026:52832
- https://access.redhat.com/errata/RHSA-2026:52833
- https://access.redhat.com/errata/RHSA-2026:51180
- https://access.redhat.com/errata/RHSA-2026:43711
- https://access.redhat.com/errata/RHSA-2026:61628
- https://access.redhat.com/errata/RHSA-2026:61627
- https://access.redhat.com/errata/RHSA-2026:61629
- https://access.redhat.com/errata/RHSA-2026:60520