CVE-2026-125213
Last modified
CVE-2026-125213 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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.. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| FFmpeg | FFmpeg | <= 9.0.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-125213?
How severe is CVE-2026-125213?
How do I fix CVE-2026-125213?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-125207FFmpeg through 9.0.2 contains an uncontrolled memory allocat…5.5
- CVE-2026-125208FFmpeg through 9.0.2 contains an out-of-bounds write vulnera…7
- CVE-2026-125209FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap buf…7.8
- CVE-2026-125210FFmpeg through 9.0.2 contains a heap buffer overflow vulnera…7
- CVE-2026-125211FFmpeg through 9.0.2 contains an out-of-bounds read and inva…7
- CVE-2026-125212FFmpeg through 9.0.2 contains a heap buffer overflow vulnera…7
- CVE-2026-125214FFmpeg through 9.0.2 contains a heap buffer overflow vulnera…7
- CVE-2026-125215FFmpeg 7.1 through 9.0.2 contains a NULL pointer dereference…4.7
- CVE-2026-125216FFmpeg through 9.0.2 contains a NULL pointer dereference vul…5.5
- CVE-2026-125217FFmpeg through 9.0.2 contains an uninitialized memory use vu…3.3
- CVE-2026-125218FFmpeg through 9.0.2 contains a heap buffer overflow vulnera…7
- CVE-2026-125219FFmpeg through 9.0.2 contains a heap buffer overflow vulnera…7
Are you affected by CVE-2026-125213?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
