CVE-2026-125213 FFmpeg through 9.0.2 Heap Buffer Overflow via PSD Decoder RLE Path
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-125213?
CVE-2026-125213 is a high-severity vulnerability in FFmpeg, published on 9 Nov 2026.
Official description
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in the PSD decoder in libavcodec/psd.c that allows attackers to corrupt heap memory on 32-bit builds by supplying a crafted PSD image. Attackers can choose dimensions and channel counts whose product exceeds 4 GB, truncating the av_malloc allocation size so decode_rle() writes attacker-controlled data past the buffer, causing crashes or possible code execution.
Weakness: CWE-197
Which versions are affected by CVE-2026-125213?
How do I fix CVE-2026-125213?
No fix has been published for CVE-2026-125213 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-125213 being exploited?
There is no known exploitation of CVE-2026-125213 in the wild and no public exploit code.
Sources
Also known as GHSA-px55-qvvr-j3r4, UBUNTU-CVE-2026-125213.