---
id: "CVE-2026-125225"
page: "https://infrastack.ai/live/CVE-2026-125225"
kind: "vulnerability"
aliases: ["CVE-2026-125225"]
title: "FFmpeg: oversized AAC packet crashes remuxing of crafted media files"
severity: "medium"
cvss: 6.8
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["ffmpeg", "media-processing", "runtime"]
not_affected_if: ["trusted-input-only"]
published_at: "2026-11-09T19:17:00+00:00"
first_seen_at: "2026-11-09T19:28:19+00:00"
updated_at: "2026-11-09T19:30:32+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125225", "first_seen_at": "2026-11-09T19:28:19+00:00"}]
exploit_sources: []
---

# FFmpeg: oversized AAC packet crashes remuxing of crafted media files

Link for people: https://infrastack.ai/live/CVE-2026-125225 (this .md is for agents)

A crafted media file with an AAC packet over 256 MB makes FFmpeg dereference a NULL pointer in aac_adtstoasc_filter() during MP4, Matroska, FLV or LATM remuxing. An attacker can crash any application that processes such a file, causing denial of service.

_Summary, check and fix written by a model from the sources; labelled as such._

## Timeline

- 2026-11-09T19:28:19+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-125225

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-null-pointer-dereference-via-aac-adtstoasc-bitstream-filter
- [fix] Patch: github.com https://github.com/FFmpeg/FFmpeg/commit/3b1cbb5e0f66b85d15f1d3527436520b3f4711ec

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
