PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-125204 FFmpeg CVE debrief

The CVE record for CVE-2026-125204 details a heap buffer overflow in FFmpeg's libwebp encoder. This vulnerability allows attackers to corrupt memory when cr_threshold is set, potentially crashing applications. Defenders and developers using FFmpeg should assess exposure and prioritize remediation. The issue arises from a conditional replenishment mechanism in the libwebp encoder, which can be exploited by supplying crafted media that increases resolution mid-stream. This causes memcpy() to write pixel data past the stale reference frame, leading to potential crashes. The CVE record was published on 2026-11-09T19:11:22.871Z and has not been modified since then.

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 and developers using FFmpeg should assess exposure and prioritize remediation. The vulnerability affects FFmpeg versions through 9.0.2 and can be exploited by supplying crafted media. The heap buffer overflow allows attackers to corrupt memory, potentially crashing applications. Operators, platforms, and security teams should review the CVE record and apply patches to prevent potential crashes. Vulnerability management and security teams should

Why it matters

A heap buffer overflow in FFmpeg's libwebp encoder allows attackers to corrupt memory, potentially crashing applications. Defenders and developers using FFmpeg should assess exposure and prioritize remediation.

  • Verify FFmpeg versions and apply patches to prevent potential crashes
  • Assess exposure and prioritize remediation to minimize risk
  • Monitor for potential attacks and adjust defenses accordingly

Technical summary

A heap buffer overflow in FFmpeg's libwebp encoder allows attackers to corrupt memory when cr_threshold is set, potentially crashing applications. The vulnerability arises from a conditional replenishment mechanism in the libwebp encoder. Attackers can supply crafted media that increases resolution mid-stream, causing memcpy() to write pixel data past the stale reference frame. Defenders and developers using FFmpeg should assess exposure and prioritize remediation to minimize risk. The CVE record provides details on the vulnerability, including its potential impact and recommended actions.

Defensive priority

Defenders should prioritize verifying FFmpeg versions and applying patches, as a heap buffer overflow allows attackers to corrupt memory, potentially crashing applications.

Recommended defensive actions

  • Verify FFmpeg versions and apply patches
  • Assess exposure and prioritize remediation
  • Monitor for potential attacks
  • Review compensating controls for exposed systems
  • Check relevant monitoring, detection, and logs for exposed assets
  • Track exceptions and retest remediated assets
  • Plan vendor-supported updates or mitigations through normal change control

Evidence notes

The CVE record and source item provide details on the heap buffer overflow in FFmpeg's libwebp encoder. The issue is caused by a conditional replenishment mechanism. The CVE record was published on 2026-11-09T19:11:22.871Z and has not been modified since then. Defenders should verify FFmpeg versions and apply patches to prevent potential crashes. The vulnerability allows attackers to corrupt memory, potentially crashing applications. The source item and CVE record provide evidence of the vulnerability's existence and its potential for

Sources and references

Verified primary and authoritative sources

  • CVE-2026-125204 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-125204 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

    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 libwebp Encoder Conditional Replenishment

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/125xxx/CVE-2026-125204.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/libwebpenc_common.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-libwebp-encoder-conditional-replenishment

    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.