PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-125262 FFmpeg CVE debrief

A heap buffer overflow vulnerability exists in FFmpeg through version 9.0.2 in the libavcodec/lcevcdec.c file. This vulnerability occurs because LCEVC output picture dimensions are not validated against the allocated frame, allowing attackers to embed crafted LCEVC enhancement data with differing global configurations in H.264 or HEVC streams. This can corrupt heap memory in decoding applications.

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-13
Advisory published
2026-11-09
Advisory updated
2026-11-13

Who should care

Defenders responsible for maintaining and securing applications that utilize FFmpeg for decoding H.264 or HEVC streams should assess their exposure to this vulnerability. This includes reviewing the versions of FFmpeg in use and verifying that they are not vulnerable to this issue.

Why it matters

This vulnerability in FFmpeg can lead to heap buffer overflow, potentially causing memory corruption, denial of service, or remote code execution in decoding applications. Defenders should verify FFmpeg versions, assess exposure, and implement input validation for LCEVC output picture dimensions.

  • Potential corruption of heap memory in decoding applications
  • Possible denial of service due to memory corruption
  • Potential for remote code execution if exploitation leads to control of the application's memory
  • Need for verification of FFmpeg versions and exposure in applications

Technical summary

The vulnerability exists in the libavcodec/lcevcdec.c file of FFmpeg through version 9.0.2. It occurs due to the lack of validation of LCEVC output picture dimensions against the allocated frame. Attackers can exploit this by embedding crafted LCEVC enhancement data in H.264 or HEVC streams, potentially corrupting heap memory in decoding applications. This vulnerability can lead to heap buffer overflow, potentially causing memory corruption, denial of service, or remote code execution in decoding applications. Defenders should prioritize verifying the versions of FFmpeg in use and assessing exposure, especially in applications that decode H.264 or HEVC streams.

Defensive priority

Defenders should prioritize verifying the versions of FFmpeg in use and assessing exposure, especially in applications that decode H.264 or HEVC streams.

Recommended defensive actions

  • Verify FFmpeg versions in use and assess exposure
  • Review decoding applications for H.264 or HEVC streams
  • Implement input validation for LCEVC output picture dimensions
  • Track exceptions and retest remediated assets
  • Check relevant monitoring, detection, and logs for exposed assets
  • Review compensating controls for exposed systems
  • Plan vendor-supported updates or mitigations through normal change control

Evidence notes

The vulnerability is confirmed in FFmpeg through version 9.0.2. The issue lies in the libavcodec/lcevcdec.c file, where LCEVC output picture dimensions are not validated against the allocated frame. This lack of validation allows attackers to embed crafted LCEVC enhancement data with differing global configurations in H.264 or HEVC streams, potentially corrupting heap memory in decoding applications. Defenders should verify FFmpeg versions, assess exposure, and implement input validation for LCEVC output picture dimensions. The source

Sources and references

Verified primary and authoritative sources

  • CVE-2026-125262 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-125262 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/lcevcdec.c...

    Unverified legacy reference

    URL: https://github.com/advisories/GHSA-g6vq-jf85-45hj

    github_advisory_database

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/lcevcdec.c

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-lcevc-enhancement-decoding

    Supplemental source

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.