{"id":"CVE-2026-125213","aliases":["CVE-2026-125213"],"related":[],"kind":"vulnerability","state":"published","title":"FFmpeg through 9.0.2 Heap Buffer Overflow via PSD Decoder RLE Path","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-09T19:11:29.566Z","modified":"2026-11-30T15:19:32.783Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.3,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-197"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"9.0.2","status":"affected"}],"vendor":"FFmpeg","product":"FFmpeg","repo":"https://code.ffmpeg.org/FFmpeg/FFmpeg","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"9.0.2"}],"vendor":"ffmpeg","product":"ffmpeg","cpe":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25702","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FFmpeg/FFmpeg/commit/aa4b80b54ee8645b5a77fe835ab2bbae1c9c465c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/psd.c#L450","tags":["product","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FFmpeg/FFmpeg","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-psd-decoder-rle-path","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Joshua Rogers (AISLE Research)","Michael Niedermayer"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-14T02:04:55.330Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-125213","url":"https://www.cve.org/CVERecord?id=CVE-2026-125213","licence":"CVE Terms of Use","modified":"2026-11-14T02:05:06.128Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-125213","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125213","licence":"Public domain","modified":"2026-11-30T15:19:32.783Z"}],"updatedAt":"2026-11-30T15:32:14.639Z","epss":{"score":0.00217,"percentile":0.12991,"date":"2026-12-01T12:00:22.000Z"}}