CVE-2026-125064
Summary
FFmpeg through 9.0.2 contains a NULL pointer dereference vulnerability in g726_decode_frame() in libavcodec/g726.c because it ignores init_get_bits() failure on oversized packets. Attackers can supply a crafted AVI file with a 268435392-byte G.726 audio chunk to make the decoder read from a NULL buffer, crashing the process.
Impact & exploitability
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Official patch: https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/g726.c#L473 ↗
Additional information
- NVD record
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/g726.c#L473Patch
- https://github.com/FFmpeg/FFmpeg/commit/ec887b13a88afbaf44fb28c3045bda5d434da8dcPatch
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25704
- https://github.com/FFmpeg/FFmpeg
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-null-pointer-dereference-in-g-726-adpcm-decoderAdvisory