CVE-2026-63501

GHSA-6w3r-6hpr-hp6p · published 3 Nov 2026 · updated 12 Nov 2026

ag-psd: Uncontrolled Memory Allocation in PSD Layer Decoding (totalMemoryLimit bypass)

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in ag-psd 31.0.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Agamnentzar<31.0.1
npm: ag-psd<31.0.1, <=31.0.031.0.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in ag-psd (npm), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-63501 severity on Zeptric[![CVE-2026-63501](https://zeptric.io/badge/cve/CVE-2026-63501.svg)](https://zeptric.io/cve/CVE-2026-63501)