| Name | CVE-2026-125266 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| ffmpeg (PTS) | bookworm, bookworm (security) | 7:5.1.9-0+deb12u1 | fixed |
| trixie (security), trixie | 7:7.1.5-0+deb13u1 | fixed |
| forky | 7:9.0.2-6 | vulnerable |
| sid | 7:9.1-3 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| ffmpeg | source | bookworm | (not affected) | | | |
| ffmpeg | source | trixie | (not affected) | | | |
| ffmpeg | source | (unstable) | (unfixed) | | | |
Notes
[trixie] - ffmpeg <not-affected> (Vulnerable code not present)
[bookworm] - ffmpeg <not-affected> (Vulnerable code not present)
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25718
Introduced by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/b48bd23321d8eee916dbe7afce96a749d29333f4 (n8.0)
Fixed by: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/d42cb1925987cc27899441ce39fa7bd2647dc72e (master)