PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-125260 FFmpeg CVE debrief

A heap buffer overflow vulnerability exists in FFmpeg through 9.0.2 in the EXR encoder's RLE path. The vulnerability is triggered when processing frames taller than the encoder height, allowing attackers to corrupt heap memory. This issue is particularly concerning for applications that use FFmpeg for video or image processing, as malicious input could lead to crashes or potentially other impacts. Defenders should assess exposure, prioritize remediation, and verify inventory for vulnerable FFmpeg instances.

Vendor
FFmpeg
Product
Unknown
CVSS
HIGH 7.3
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 systems and applications using FFmpeg for video or image processing, especially those involving EXR encoding, should assess exposure and prioritize remediation. This includes developers, security teams, and IT professionals managing multimedia processing infrastructure.

Why it matters

This vulnerability in FFmpeg's EXR encoder RLE path poses a risk to applications processing multimedia content, particularly those using vulnerable versions of FFmpeg. Defenders should assess exposure, prioritize remediation, and verify inventory for vulnerable instances to prevent potential crashes or data corruption.

  • Potential application crashes due to heap corruption
  • Possible data corruption or unexpected behavior in affected applications
  • Need for verification of FFmpeg versions and exposure in inventory
  • Priority for remediation to prevent potential exploitation

Technical summary

The vulnerability exists in libavcodec/exrenc.c of FFmpeg through 9.0.2. Specifically, the encode_scanline_rle() function does not properly handle frames taller than the encoder height, leading to a heap buffer overflow. Attackers can exploit this by providing crafted input that grows mid-stream when transcoded to OpenEXR with RLE compression, allowing them to write pointers past the scanline array and crash the application.

Defensive priority

High

Recommended defensive actions

  • Assess exposure by identifying systems and applications using FFmpeg for EXR encoding
  • Prioritize remediation for vulnerable FFmpeg instances, especially in video or image processing applications
  • Verify inventory for FFmpeg versions through 9.0.2 and update to a fixed version if available
  • Monitor for potential crashes or unusual behavior in applications using vulnerable FFmpeg versions
  • Implement compensating controls for exposed systems while remediation is scheduled and verified
  • Review and track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Conduct source tracking to ensure all affected systems are accounted for and remediated

Evidence notes

The CVE record and source item provide details on the vulnerability, including its existence in FFmpeg through 9.0.2, the nature of the heap buffer overflow, and potential impacts. However, specific exploitation details or victim information are not provided.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-125260 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-125260 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • FFmpeg through 9.0.2 Heap Buffer Overflow in EXR Encoder RLE Path

    Unverified legacy reference

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

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

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

    Supplemental source - issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/commit/9b99973b2bbecee0b7e1e57035b95498b42f54a6

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/exrenc.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-through-9.0.2-heap-buffer-overflow-in-exr-encoder-rle-path

    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.