PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-125242 FFmpeg CVE debrief

A memory leak vulnerability exists in FFmpeg through version 9.0.2 in the libavcodec/vdpau.c file. This vulnerability allows attackers to cause a denial of service by exhausting heap memory through the supply of crafted H.264 streams with malformed NAL units. The vulnerability can be triggered by supplying crafted H.264 streams with malformed NAL units, leading to a denial of service due to heap memory exhaustion. System administrators and developers using FFmpeg for video processing should assess their exposure and implement necessary mitigations.

Vendor
FFmpeg
Product
Unknown
CVSS
MEDIUM 5.7
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

System administrators and developers using FFmpeg for video processing, especially those exposed to untrusted input, should assess their exposure and implement necessary mitigations.

Why it matters

The memory leak vulnerability in FFmpeg's libavcodec/vdpau.c file can lead to denial of service attacks, impacting systems that process video content using FFmpeg, particularly those exposed to untrusted input.

  • Denial of service due to heap memory exhaustion
  • Potential for system crashes or instability
  • Need for input validation and sanitization
  • Requirement for FFmpeg version updates

Technical summary

The memory leak vulnerability in FFmpeg's libavcodec/vdpau.c file can be exploited by supplying crafted H.264 streams with malformed NAL units, leading to heap memory exhaustion and denial of service. The vulnerability is caused by a memory leak in the libavcodec/vdpau.c file, which can be triggered by supplying crafted H.264 streams with malformed NAL units. This can lead to a denial of service due to heap memory exhaustion. The vulnerability affects FFmpeg through version 9.0.2 and can be mitigated by reviewing and updating FFmpeg to a version that fixes the memory leak vulnerability.

Defensive priority

Medium priority for systems using FFmpeg for video processing, especially those exposed to untrusted input.

Recommended defensive actions

  • Review and update FFmpeg to a version that fixes the memory leak vulnerability.
  • Implement input validation and sanitization for H.264 streams to prevent exploitation.
  • Monitor systems using FFmpeg for video processing for potential denial of service attacks.
  • Perform a thorough review of the system to identify potential vulnerabilities.
  • Implement compensating controls for exposed systems while remediation is scheduled and verified.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.

Evidence notes

The vulnerability is caused by a memory leak in the libavcodec/vdpau.c file, which can be exploited by supplying crafted H.264 streams with malformed NAL units. This can lead to a denial of service due to heap memory exhaustion.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-125242 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-125242 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • FFmpeg through 9.0.2 contains a memory leak vulnerability in libavcodec/vdpau.c that allows...

    Unverified legacy reference

    URL: https://github.com/advisories/GHSA-gh9x-8hxx-prcf

    github_advisory_database

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FFmpeg/FFmpeg/commit/2c6cd8098844f2367f8ba0a3a483e405c8f76449

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    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/vdpau.c

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-memory-leak-via-vdpau-hwaccel-bitstream-buffer-table

    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.