{"id":"CVE-2026-63501","summary":"ag-psd: Uncontrolled Memory Allocation in PSD Layer Decoding (totalMemoryLimit bypass)","details":"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.","aliases":["GHSA-6w3r-6hpr-hp6p"],"modified":"2026-11-14T02:30:29.345580834Z","published":"2026-11-03T19:30:03.984Z","database_specific":{"cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63501.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/Agamnentzar/ag-psd/releases/tag/31.0.3"},{"type":"ADVISORY","url":"https://github.com/Agamnentzar/ag-psd/security/advisories/GHSA-6w3r-6hpr-hp6p"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63501.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63501"},{"type":"FIX","url":"https://github.com/Agamnentzar/ag-psd/commit/57ea7d865238b6b7c8a2e976bcf2a77e03116e2f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/agamnentzar/ag-psd","events":[{"introduced":"0"},{"fixed":"e64f0c96a5b8f9ea7c79599d08bbcfc57345b781"},{"fixed":"57ea7d865238b6b7c8a2e976bcf2a77e03116e2f"},{"fixed":"04d927df87130ad6d765bc63d51ade0a98d66c14"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"31.0.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"57ea7d865238b6b7c8a2e976bcf2a77e03116e2f"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"04d927df87130ad6d765bc63d51ade0a98d66c14"}],"source":"REFERENCES_TAG","original_tag":"31.0.3"}]}}],"versions":["30.2.0","30.1.1","0.1.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63501.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}