---
id: "CVE-2026-125231"
page: "https://infrastack.ai/live/CVE-2026-125231"
kind: "vulnerability"
aliases: ["CVE-2026-125231"]
title: "FFmpeg: crafted ADX audio stream crashes applications via NULL pointer dereference"
severity: "medium"
cvss: 6.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["ffmpeg", "libavcodec", "media-processing", "package"]
not_affected_if: ["no-untrusted-adx-input", "versions-outside-4.4-9.0.2"]
published_at: "2026-11-09T19:17:00+00:00"
first_seen_at: "2026-11-09T19:28:20+00:00"
updated_at: "2026-11-09T19:30:29+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125231", "first_seen_at": "2026-11-09T19:28:20+00:00"}]
exploit_sources: []
---

# FFmpeg: crafted ADX audio stream crashes applications via NULL pointer dereference

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

FFmpeg's ADX/AAX decoder in libavcodec/adxdec.c updates the channel layout before validating the sample rate. A crafted stream with an invalid sample rate in mid-stream extradata makes the decoder write through NULL pointers, crashing the application.

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

## How to check

- Check the FFmpeg version with `ffmpeg -version`, and whether it falls in 4.4 through 9.0.2.
- Check whether your application decodes untrusted ADX or AAX audio files or streams.

## Fix

- FFmpeg 4.4 through 9.0.2 are affected; the sources do not name a fixed version beyond the linked patch.

## Timeline

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

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/ffmpeg-4.4-through-9.0.2-null-pointer-dereference-via-adx-decode-header
- [fix] Patch: github.com https://github.com/FFmpeg/FFmpeg/commit/515dcad73d77711507083cae3913c9327c0977c6

## From the sources

FFmpeg 4.4 through 9.0.2 contains a NULL pointer dereference vulnerability in libavcodec/adxdec.c because adx_decode_header() updates the channel layout before validating the sample rate. Attackers can supply a crafted ADX/AAX stream with mid-stream new-extradata side data carrying an invalid sample rate, causing adx_decode() to write through NULL plane pointers and crash the application.

---

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