{"id":"CVE-2026-63501","published":"2026-11-03T19:30:03Z","modified":"2026-11-03T21:32:16Z","title":"ag-psd: Uncontrolled Memory Allocation in PSD Layer Decoding (totalMemoryLimit bypass)","vendor":"Agamnentzar","product":"ag-psd","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0051,"percentile":0.44401,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/Agamnentzar/ag-psd/security/advisories/GHSA-6w3r-6hpr-hp6p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Agamnentzar/ag-psd/commit/57ea7d865238b6b7c8a2e976bcf2a77e03116e2f","tags":["x_refsource_MISC"]},{"url":"https://github.com/Agamnentzar/ag-psd/releases/tag/31.0.3","tags":["x_refsource_MISC"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":8.88},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"agamnentzar","affectedVersions":[{"vendor":"Agamnentzar","product":"ag-psd","versions":["< 31.0.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-03T21:31:51.692243Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"ag-psd","vulnerableRanges":["<31.0.1"],"patched":["31.0.1"],"from":["GHSA-6w3r-6hpr-hp6p"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-116262","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-agamnentzar-ag-psd-cve-2026-62297","parents":[{"from":"CVE-2026-62297","to":"CVE-2026-63501","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ag-psd","fromFixed":"31.0.0","toFixed":"31.0.1","daysApart":4},{"kind":"same-code","provenance":"machine","files":["src/psdReader.ts"],"commits":["https://github.com/Agamnentzar/ag-psd/commit/2d7da68400990bae8ba248a065eb45021fa8000a","https://github.com/Agamnentzar/ag-psd/commit/57ea7d865238b6b7c8a2e976bcf2a77e03116e2f"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.27,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-62297","published":"2026-10-30","fixed":"31.0.0","kev":false},{"cve":"CVE-2026-63501","published":"2026-11-03","fixed":"31.0.1","kev":false}],"package":"npm:ag-psd"}}