CVE-2026-63501
ag-psd is a JavaScript library for reading and writing Photoshop …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- 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
- nvd.nist.gov/vuln/detail/CVE-2026-63501
- github.com/advisories/GHSA-6w3r-6hpr-hp6p
- nvd.nist.gov/vuln/detail/CVE-2026-63501
- cve.org/CVERecord?id=CVE-2026-63501
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.