CVE-2026-63501
Published:November 03, 2026
Updated:November 04, 2026
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 Packages
https://github.com/Agamnentzar/ag-psd.git (GITHUB):
Affected version(s) =0.1.3 <31.0.1 || >=30.1.1 <31.0.1 || =31.0.0 <31.0.1Fix Suggestion:
Update to version 31.0.1ag-psd (NPM):
Affected version(s) >=12.0.0 <31.0.1 || >=15.0.0 <31.0.1 || >=1.0.0 <31.0.1 || >=18.0.0 <31.0.1 || =24.0.0 <31.0.1 || =25.0.0 <31.0.1 || >=28.0.0 <31.0.1 || >=5.0.0 <31.0.1 || =10.0.0 <31.0.1 || =27.0.0 <31.0.1 || >=2.0.0 <31.0.1 || >=6.0.0 <31.0.1 || >=13.0.0 <31.0.1 || >=4.0.0 <31.0.1 || =31.0.0 <31.0.1 || >=20.0.0 <31.0.1 || =26.0.0 <31.0.1 || >=23.0.0 <31.0.1 || >=29.0.0 <31.0.1 || >=9.0.0 <31.0.1 || >=17.0.0 <31.0.1 || >=3.0.0 <31.0.1 || =8.0.0 <31.0.1 || >=30.0.0 <31.0.1 || >=11.0.0 <31.0.1 || =16.0.0 <31.0.1 || >=22.0.0 <31.0.1 || >=0.1.0 <31.0.1 || >=19.0.0 <31.0.1 || >=21.0.0 <31.0.1 || >=14.0.0 <31.0.1 || =7.0.0 <31.0.1Fix Suggestion:
Update to version 31.0.1Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Allocation of Resources Without Limits or Throttling
EPSS
Base Score:
0.51