CVE-2026-63501
HIGH 7.5CVSS 3.1ag-psd: Uncontrolled Memory Allocation in PSD Layer Decoding (totalMemoryLimit bypass)
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.
- Published
- 3 Nov 2026
- Last modified
- 12 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-770
- Also known as
- GHSA-6w3r-6hpr-hp6p
- Sources
- NVDJSONOSV GHSA-6w3r-6hpr-hp6pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | ag-psd | < 31.0.1 | 31.0.1 |
References
- https://github.com/Agamnentzar/ag-psd/commit/57ea7d865238b6b7c8a2e976bcf2a77e03116e2f · WEB
- https://github.com/Agamnentzar/ag-psd/releases/tag/31.0.3 · WEB
- https://github.com/Agamnentzar/ag-psd/security/advisories/GHSA-6w3r-6hpr-hp6p · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-63501 · ADVISORY
- https://github.com/Agamnentzar/ag-psd · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 3 Nov 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Nov 2026)