---
id: CVE-2026-125225
title: >-
  FFmpeg through 9.0.2 NULL Pointer Dereference via aac_adtstoasc Bitstream
  Filter
summary: >-
  FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in
  aac_adtstoasc_filter() that allows attackers to crash applications via
  oversized ADTS AAC packets. Attackers can supply a crafted file with a packet
  over 256 MB, o…
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-09T20:58:44.146432Z'
published: '2026-11-09'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T21:06:54.927Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125225'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25569'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/3b1cbb5e0f66b85d15f1d3527436520b3f4711ec
    label: Patch Commit
  - url: >-
      https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/bsf/aac_adtstoasc.c#L82
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-null-pointer-dereference-via-aac-adtstoasc-bitstream-filter
    label: >-
      VulnCheck Advisory: FFmpeg through 9.0.2 NULL Pointer Dereference via
      aac_adtstoasc Bitstream Filter
tags:
  - cve.org
ingestedAt: '2026-11-09T19:18:02.588Z'
---

## Overview

FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in aac_adtstoasc_filter() that allows attackers to crash applications via oversized ADTS AAC packets. Attackers can supply a crafted file with a packet over 256 MB, overflowing the bit count so init_get_bits() fails unchecked and get_bits() crashes during MP4, Matroska, FLV or LATM remuxing.

## Affected

- `FFmpeg <= 9.0.2`

## Remediation

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