---
id: CVE-2026-125064
title: FFmpeg through 9.0.2 NULL Pointer Dereference in G.726 ADPCM Decoder
summary: >-
  FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in
  g726_decode_frame() in libavcodec/g726.c because it ignores init_get_bits()
  failure on oversized packets. Attackers can supply a crafted AVI file with a
  268435392-…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-252
vendor: FFmpeg
product: FFmpeg
affected:
  - FFmpeg <= 9.0.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-09T21:07:09.702559Z'
published: '2026-11-09'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T21:17:08.765Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125064'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25704'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/ec887b13a88afbaf44fb28c3045bda5d434da8dc
    label: Patch Commit
  - url: 'https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/g726.c#L473'
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-null-pointer-dereference-in-g-726-adpcm-decoder
    label: >-
      VulnCheck Advisory: FFmpeg through 9.0.2 NULL Pointer Dereference in G.726
      ADPCM Decoder
tags:
  - cve.org
ingestedAt: '2026-11-09T19:18:02.641Z'
---

## Overview

FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in g726_decode_frame() in libavcodec/g726.c because it ignores init_get_bits() failure on oversized packets. Attackers can supply a crafted AVI file with a 268435392-byte G.726 audio chunk to make the decoder read from a NULL buffer, crashing the process.

## Affected

- `FFmpeg <= 9.0.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
