CVE Catalog

CVE-2026-125226

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Summary

FFmpeg through 9.0.2 contains an uncontrolled memory allocation vulnerability in sbg_read_header() in libavformat/sbgdec.c that derives an unbounded default frame size from the script's sample rate. Attackers can supply a crafted SBaGen script declaring a very high -r sample rate so the wavesynth decoder allocates enormous audio frames, exhausting memory and causing denial of service.

Risk Assessment

Processing SBaGen scripts can exhaust memory, causing crashes or denial of service in the application.

Recommendation

Update FFmpeg to a patched version or limit memory resources for SBaGen decoding.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

FFmpeg through 9.0.2 contains an uncontrolled memory allocation vulnerability in sbg_read_header() in libavformat/sbgdec.c that derives an unbounded default frame size from the script's sample rate. Attackers can supply a crafted SBaGen script declaring a very high -r sample rate so the wavesynth decoder allocates enormous audio frames, exhausting memory and causing denial of service.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS