---
id: "CVE-2026-125072"
page: "https://infrastack.ai/live/CVE-2026-125072"
kind: "vulnerability"
aliases: ["CVE-2026-125072"]
title: "FFmpeg: oversized MP3 packet crashes the decoder through a NULL pointer"
severity: "medium"
cvss: 5.7
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["ffmpeg", "libavcodec", "media-processing", "package"]
not_affected_if: ["no-untrusted-audio-input"]
published_at: "2026-11-09T19:16:49+00:00"
first_seen_at: "2026-11-09T19:28:15+00:00"
updated_at: "2026-11-09T19:32:05+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125072", "first_seen_at": "2026-11-09T19:28:15+00:00"}]
exploit_sources: []
---

# FFmpeg: oversized MP3 packet crashes the decoder through a NULL pointer

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

FFmpeg's MP3 decoder (mp_decode_frame in libavcodec) ignores a failed bit-reader setup after a signed integer overflow, so it reads through a NULL buffer. An attacker who can pass an oversized packet to the mp3adu decoder can crash the process.

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

## Timeline

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

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-null-pointer-dereference-in-mpeg-audio-decoder
- [fix] Patch: github.com https://github.com/FFmpeg/FFmpeg/commit/0b007e0634de5b4424b9993c95a6c1c50de0115b

## From the sources

FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in mp_decode_frame() in libavcodec/mpegaudiodec_template.c because init_get_bits() failure is ignored after a signed integer overflow. Attackers can pass an oversized packet to the mp3adu decoder through the libavcodec API, causing reads through a NULL buffer that crash the process.

---

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