CVE-2026-125225
Description
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.
CVSS Base Scores
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected Products
| Vendor | Product | Version | Status |
|---|---|---|---|
| FFmpeg | FFmpeg | 0 | affected |
Credits
- Joshua Rogers (AISLE Research)(finder)
- Michael Niedermayer(remediation developer)
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25569
- https://github.com/FFmpeg/FFmpeg/commit/3b1cbb5e0f66b85d15f1d3527436520b3f4711ec
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/bsf/aac_adtstoasc.c#L82
- https://github.com/FFmpeg/FFmpeg
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-null-pointer-dereference-via-aac-adtstoasc-bitstream-filter


