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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-770"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63501.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "31.0.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "57ea7d865238b6b7c8a2e976bcf2a77e03116e2f"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "31.0.3",
"range": [
{
"fixed": "04d927df87130ad6d765bc63d51ade0a98d66c14"
}
],
"source": "REFERENCES_TAG"
}
]
}