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.
Severity (CVSS)
| Base score | 4.8 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-908 — Use of Uninitialized Resource
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FFmpeg | FFmpeg | 8.0 to <=9.0.2 [affected] |
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25718 (issue-tracking)
- https://github.com/FFmpeg/FFmpeg/commit/d42cb1925987cc27899441ce39fa7bd2647dc72e (patch)
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/sanm.c#L799 (technical-description)
- https://github.com/FFmpeg/FFmpeg (product)
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-uninitialized-stack-memory-disclosure-via-sanm-codec-23 (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 10 Nov 2026 08:00 UTC.