PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-125064 FFmpeg CVE debrief

A NULL pointer dereference vulnerability exists in FFmpeg through version 9.0.2 in the g726_decode_frame() function within libavcodec/g726.c. This vulnerability occurs because the function ignores init_get_bits() failure on oversized packets. An attacker can exploit this by supplying a crafted AVI file with a 268435392-byte G.726 audio chunk, causing the decoder to read from a NULL buffer and crash the process.

Vendor
FFmpeg
Product
Unknown
CVSS
MEDIUM 6.8
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 that use FFmpeg for multimedia file processing, especially those handling AVI files with G.726 audio chunks, should assess exposure and prioritize patching or implementing compensating controls.

Why it matters

This vulnerability in FFmpeg through 9.0.2 poses a medium risk due to the potential for denial of service (DoS) attacks through crafted AVI files. Defenders should prioritize patching or implementing compensating controls, especially for systems handling multimedia files with G.726 audio chunks.

  • Potential denial of service (DoS) due to process crashes.
  • Need for verification of FFmpeg versions and configurations to determine exposure.
  • Potential for attackers to craft malicious AVI files to exploit this vulnerability.
  • Requires review of input validation and sanitization processes for AVI files.

Technical summary

The g726_decode_frame() function in libavcodec/g726.c of FFmpeg through 9.0.2 does not properly handle oversized packets, leading to a NULL pointer dereference. This can be exploited by an attacker providing a crafted AVI file with a large G.726 audio chunk, causing the decoder to crash. The vulnerability was discovered in FFmpeg version 9.0.2 and is caused by ignoring init_get_bits() failure on oversized packets. Defenders should prioritize patching or implementing compensating controls, especially for systems handling multimedia files with G.726 audio chunks.

Defensive priority

Medium priority for systems using FFmpeg for processing multimedia files, especially those handling AVI files with G.726 audio chunks.

Recommended defensive actions

  • Review and update FFmpeg to a version that patches this vulnerability, if available.
  • Implement input validation and sanitization for AVI files with G.726 audio chunks.
  • Monitor systems using FFmpeg for processing multimedia files for potential crashes or unusual behavior.
  • Perform an inventory of systems and applications that use FFmpeg for multimedia processing to identify potential exposure.
  • Review and implement compensating controls for systems that cannot be immediately patched.
  • Track and verify the remediation status of affected systems.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.

Evidence notes

The vulnerability was discovered in FFmpeg version 9.0.2. The source item from the GitHub Advisory Database provides details about the vulnerability, including a description and references to relevant commits and pull requests.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-125064 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-125064 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in g726_decode_frame() in

    Unverified legacy reference

    URL: https://github.com/advisories/GHSA-38mr-whj6-vfhq

    github_advisory_database

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

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

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

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-null-pointer-dereference-in-g-726-adpcm-decoder

    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.