Back to list

ag-psd can exhaust memory when parsing crafted PSD dimensions — GHSA-QFX6-Q44V-9QQW

GitHub · GitHub · GHSA-QFX6-Q44V-9QQW

ID
GHSA-QFX6-Q44V-9QQW
Date
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
7.5
EPSS
0.00339

Summary

### Summary readPsd() commits the image/layer buffers from the declared header geometry (width x height x channels x depth, and per-layer rectangles) before validating those values against the actual data. A tiny crafted PSD declaring huge geometry forces a multi-gigabyte allocation. ### Impact On ag-psd 30.2.0, Node 24, a 52-byte PSD makes readPsd(buf) commit ~3.17 GB (measured peak RSS) in ~0.45 s before throwing…

Timeline

Published by source
2026-11-13

Risk context

  • Reported severity or threat level: high.
  • Reported CVSS score: 7.5 out of 10.
  • Reported EPSS value: 0.00339.
  • Review exposure for the affected product or family: npm: ag-psd.

Product

npm: ag-psd

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-QFX6-Q44V-9QQW
Source
GitHub
Vendor
GitHub
Published by source
2026-11-13
Last source activity
2026-11-13
Additional identifiers
CVE-2026-62297
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.