CVE-2026-125266 FFmpeg through 9.0.2 Uninitialized Stack Memory Disclosure via SANM Codec 23
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-125266?
CVE-2026-125266 is a medium-severity vulnerability in FFmpeg, published on 9 Nov 2026.
Official 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.
Weakness: CWE-908
Which versions are affected by CVE-2026-125266?
How do I fix CVE-2026-125266?
No fix has been published for CVE-2026-125266 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-125266 being exploited?
There is no known exploitation of CVE-2026-125266 in the wild and no public exploit code.
Sources
Also known as GHSA-5crp-5fhv-76vj, UBUNTU-CVE-2026-125266.