PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-125203 FFmpeg CVE debrief

A heap buffer overflow vulnerability exists in FFmpeg before 8.1.3 and 9.x before 9.0.2 in the Cook multichannel decoder. This issue allows attackers to supply a crafted RealMedia Cook stream with overlapping subpacket masks, potentially causing cook_decode_frame() to write decoded samples beyond allocated output planes in applications decoding the file.

Vendor
FFmpeg
Product
Unknown
CVSS
HIGH 8.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-09
Original CVE updated
2026-11-10
Advisory published
2026-11-09
Advisory updated
2026-11-10

Who should care

Defenders responsible for media decoding applications, FFmpeg users, those handling RealMedia Cook streams, and security teams should assess exposure and prioritize patching or mitigation. This includes operators managing media decoding applications, platform administrators, and vulnerability management teams.

Why it matters

This vulnerability in FFmpeg's Cook multichannel decoder requires attention from defenders of media decoding applications, as it could lead to code execution or denial of service through crafted media files.

  • Potential for code execution through crafted media files.
  • Possible denial of service through application crashes.
  • Increased risk for media decoding applications.
  • Need for verification of affected versions and exposure.

Technical summary

The Cook multichannel decoder in FFmpeg before 8.1.3 and 9.x before 9.0.2 fails to verify subpacket channel masks are disjoint, allowing for a potential heap buffer overflow when decoding crafted RealMedia Cook streams. This issue can cause cook_decode_frame() to write decoded samples beyond allocated output planes in applications decoding the file, potentially leading to code execution or denial of service. Defenders should prioritize patching or mitigating this vulnerability, especially in applications that handle media decoding.

Defensive priority

Defenders should prioritize patching or mitigating this vulnerability, especially in applications that handle media decoding.

Recommended defensive actions

  • Patch FFmpeg to version 8.1.3 or later, or 9.0.2 or later.
  • Restrict access to media decoding applications.
  • Monitor for suspicious media files.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The CVE record and source item provide details on the vulnerability, including its existence in FFmpeg versions before 8.1.3 and 9.x before 9.0.2, and the potential for a heap buffer overflow in the Cook multichannel decoder.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-125203 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-125203

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-125203 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-125203

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • FFmpeg before 8.1.3 and 9.x before 9.0.2 Heap Buffer Overflow in Cook Multichannel Decoder

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/125xxx/CVE-2026-125203.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24485

    Supplemental source - issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/commit/3e09f5e24eb277a6d011745ff03e602f61c5c171

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/cook.c

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg

    Supplemental source - product

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-heap-buffer-overflow-in-cook-multichannel-decoder

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.