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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"ffmpeg:ffmpeg": [
"<= 9.0.2"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125213",
"id": "CVE-2026-125213",
"imported": "2026-12-02T20:13:53.420Z",
"modified": "2026-11-30T15:19:32.783Z",
"published": "2026-11-09T19:16:58.250Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125213"
},
{
"html_url": "https://github.com/advisories/GHSA-px55-qvvr-j3r4",
"id": "GHSA-px55-qvvr-j3r4",
"imported": "2026-12-02T20:14:48.687Z",
"modified": "2026-11-09T21:31:58Z",
"published": "2026-11-09T21:31:57Z",
"url": "https://api.github.com/advisories/GHSA-px55-qvvr-j3r4"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"0 ≤9.0.2"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120302",
"id": "EUVD-2026-120302",
"imported": "2026-12-02T20:13:54.649Z",
"modified": "2026-11-14T02:05:06Z",
"published": "2026-11-09T19:11:29Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120302"
}
]
}