CVE-2026-125221

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

History

30 Nov 2026, 15:53

Type Values Removed Values Added
References () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25569 - () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25569 - Issue Tracking, Patch
References () https://github.com/FFmpeg/FFmpeg - () https://github.com/FFmpeg/FFmpeg - Product
References () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/flac_parser.c#L603 - () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/flac_parser.c#L603 - Patch
References () https://github.com/FFmpeg/FFmpeg/commit/972fe1ccd326538fe9a6b5d5094b7880b5443429 - () https://github.com/FFmpeg/FFmpeg/commit/972fe1ccd326538fe9a6b5d5094b7880b5443429 - Patch
References () https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-uncontrolled-recursion-in-flac-parser-score-header - () https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-uncontrolled-recursion-in-flac-parser-score-header - Third Party Advisory
First Time Ffmpeg ffmpeg
Ffmpeg
CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

09 Nov 2026, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-09 19:16

Updated : 2026-11-30 15:53


NVD link : CVE-2026-125221

Mitre link : CVE-2026-125221

CVE.ORG link : CVE-2026-125221


JSON object : View

Products Affected

ffmpeg

  • ffmpeg
CWE
CWE-674

Uncontrolled Recursion