CVE-2026-125266

FFmpeg through 9.0.2 contains an uninitialized stack memory disclosure vulnerability in old_codec23() of libavcodec/sanm.c that leaks stack bytes into decoded frames. Attackers can supply a crafted LucasArts SMUSH/SANM animation using codec 23 with an inline table to expose decoder process stack memory in output video.
Configurations

Configuration 1 (hide)

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

History

25 Nov 2026, 15:07

Type Values Removed Values Added
First Time Ffmpeg ffmpeg
Ffmpeg
CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
References () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25718 - () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25718 - 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/sanm.c#L799 - () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/sanm.c#L799 - Patch
References () https://github.com/FFmpeg/FFmpeg/commit/d42cb1925987cc27899441ce39fa7bd2647dc72e - () https://github.com/FFmpeg/FFmpeg/commit/d42cb1925987cc27899441ce39fa7bd2647dc72e - Patch
References () https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-uninitialized-stack-memory-disclosure-via-sanm-codec-23 - () https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-uninitialized-stack-memory-disclosure-via-sanm-codec-23 - Third Party Advisory

09 Nov 2026, 20:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-09 20:18

Updated : 2026-11-25 15:07


NVD link : CVE-2026-125266

Mitre link : CVE-2026-125266

CVE.ORG link : CVE-2026-125266


JSON object : View

Products Affected

ffmpeg

  • ffmpeg
CWE
CWE-908

Use of Uninitialized Resource