CVE-2026-125221

FFmpeg through 9.0.2 Uncontrolled Recursion in FLAC Parser score_header()

Medium published · updated

6.8
CVSS score out of 10 · NVD (vulncheck.com)

Description

FFmpeg through 9.0.2 contains an uncontrolled recursion vulnerability in score_header() in libavcodec/flac_parser.c that allows attackers to exhaust the thread stack via crafted FLAC input. Attackers can supply a FLAC stream packed with many small valid-looking frame headers, forcing deep recursion that crashes the process during demuxing or parsing.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
ffmpeg ffmpeg ≤9.0.2— CVE.org

References