Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
Unrated

Out-of-bounds heap write in FFmpeg RASC decoder decode_dlta()

IdentifiersCVE-2026-58049CWE-787

CVE-2026-58049 is a high-severity memory corruption vulnerability in FFmpeg’s RASC video decoder, specifically the decode_dlta() function in libavcodec/rasc.c. The flaw arises because the decoder performs 32-bit reads and writes at the current row cursor before enforcing the NEXT_LINE row-boundary check, and because the DLTA region is validated in pixel units rather than byte units. On PAL8 frames, this mismatch can allow a DLTA run to access several bytes past the allocated row buffer. When libavcodec decodes a crafted media stream using the RASC FourCC, the attacker can trigger a bitstream-controlled out-of-bounds heap write together with an adjacent out-of-bounds read, resulting in heap memory corruption.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can cause heap memory corruption during media decoding. The reported effects include a bitstream-controlled out-of-bounds heap write and adjacent out-of-bounds read, which can compromise confidentiality, integrity, and availability of the decoding process. Depending on allocator state and surrounding memory layout, this may lead to process crash, abnormal decoder behavior, or potentially further exploitation of the affected process.

Mitigation

If you can’t patch tonight, do this now.

Until patched builds are deployed, avoid decoding untrusted or externally supplied media streams that use the RASC FourCC. Disable or exclude support for the vulnerable RASC decoder where operationally feasible, and isolate FFmpeg-based decoding in a sandboxed or least-privileged environment to reduce impact from malformed media input. Additional input validation or pre-screening of media files may reduce exposure but is not a substitute for patching.

Remediation

Patch, then assume compromise.

Update FFmpeg to a version containing the vendor fix for CVE-2026-58049. Apply upstream or downstream vendor patches addressing the bounds handling in the RASC decoder, particularly the decode_dlta() logic in libavcodec/rasc.c. If packaged builds are used, deploy the latest security-updated distribution package that includes the fix.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
FfmpegFfmpegapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity6

Community discussion across Reddit, Mastodon, and other social sources.