CVE-2026-58049

FFmpeg - Out-of-Bounds Write in RASC Decoder decode_dlta()

Published Jun 28, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

FFmpeg's RASC video decoder contains a flaw that allows a bitstream-controlled, out-of-bounds heap write and adjacent read. The decoder performs 32-bit reads and writes at the row cursor before the next line boundary check and validates the DLTA region in pixel units rather than bytes, meaning that a DLTA run on a PAL8 frame can access bytes beyond the row allocation. This corrupts memory and can lead to arbitrary code execution or a denial-of-service.

Affected Systems

Any deployment that employs the FFmpeg library with an unpatched RASC decoder is impacted. The CVE does not exhibit explicit version constraints, but the problem exists in all releases that contain the vulnerable code until a patch is applied. Systems that accept media streams with the RASC FourCC, such as AVI or MKV containers, are susceptible because the vulnerability is triggered by a crafted media file.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity; the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw by delivering a malicious media file that contains the RASC FourCC and a specially crafted DLTA region, leading to memory corruption. The impact could be leveraged for elevated privilege execution if the decoding process runs with sufficient rights, although no public exploit is known at present.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to the latest release that includes the RASC decoder patch.
  • If an upgrade is not viable, disable or filter the RASC FourCC decoder so that only trusted media files are processed.
  • Validate media streams for proper FourCC and frame boundaries before passing them to FFmpeg to reduce the chance of boundary overflow.

Generated by OpenCVE AI on June 28, 2026 at 03:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8750-1 FFmpeg vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title FFmpeg - Out-of-Bounds Write in RASC Decoder decode_dlta()
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-787
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H'}

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 1, 2026, 12:04 PM
Reserved
Jun 28, 2026, 12:55 AM
Status
Awaiting Analysis
Published
Jun 28, 2026, 2:16 AM
Modified
Sep 1, 2026, 1:19 PM
Severity
Important
Public date
Jun 28, 2026, 1:32 AM