An attacker who can supply a PSD to an application with layer decoding enabled can use attacker-controlled layer dimensions to trigger an allocation larger than the configured limit, causing process…
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- 0.61%
- Published
- Nov 3, 2026
- In the news
- 1 story
What to do
A serious security flaw in Agamnentzar Ag-psd that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Description
ag-psd is a JavaScript library for reading and writing Photoshop Document files. Prior to 31.0.3, readPsd() accepts a totalMemoryLimit for parsing untrusted PSD files, but decodeLayerImageData expects a differently named memoryLimit property and therefore passes an undefined limit to createImageDataBitDepth. An attacker who can supply a PSD to an application with layer decoding enabled can use attacker-controlled layer dimensions to trigger an allocation larger than the configured limit, causing process memory exhaustion and denial of service. The advisory also identifies inflateSync(compressed) decompressing ZIP-encoded channel data without an output-size cap, which can cause a similar denial of service through unbounded decompression. This vulnerability is fixed in 31.0.1.
Affected products
Get alerts for these →Timeline 2
Latest change: ag-psd: ag-psd: Uncontrolled Memory Allocation in PSD Layer Decoding (totalMemoryLimit bypass) (Nov 9, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Mon, Nov 9, 2026
- Researchag-psd: ag-psd: Uncontrolled Memory Allocation in PSD Layer Decoding (totalMemoryLimit bypass)GitHub Advisories · 21:08 UTC
Tue, Nov 3, 2026
- CVECVE-2026-63501 published (CVSS 7.5)CVE Program · 20:18 UTC
References 4
- github.com /Agamnentzar/ag-psd/commit/57ea7d865238b6b7c8a2e976bcf2a77e03116e2f
- github.com /Agamnentzar/ag-psd/releases/tag/31.0.3
- github.com /Agamnentzar/ag-psd/security/advisories/GHSA-6w3r-6hpr-hp6p
- github.com /Agamnentzar/ag-psd/security/advisories/GHSA-6w3r-6hpr-hp6p