CVE-2026-62297
Last modified
CVE-2026-62297 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. ag-psd is a JavaScript library for reading and writing Photoshop Document files. Before the allocation-limit remediation attempt in version 31.0.0, `readPsd()` commits image and layer buffers from attacker-declared PSD geometry before validating the declarations against the actual available data or sane allocation limits.
Description
ag-psd is a JavaScript library for reading and writing Photoshop Document files. Before the allocation-limit remediation attempt in version 31.0.0, `readPsd()` commits image and layer buffers from attacker-declared PSD geometry before validating the declarations against the actual available data or sane allocation limits. The `psdReader.js` implementation sizes off-heap typed arrays using `width`, `height`, `channels`, `depth` and `per-layer rectangles`, so a tiny PSD declaring enormous geometry can force multi-gigabyte memory allocation before a later bounds error. The reported 52-byte input on Node 24 produced approximately 3.17 GB peak RSS before a RangeError; under memory pressure the process can be terminated before the error can be caught, and concurrent inputs can exhaust memory. Services reading untrusted PSDs are exposed to denial of service. This differs from genuinely large PSD files whose memory demand is proportional to real input content. Version 31.0.0 adds a composite-image allocation limit, but complete coverage of the separately described layer-rectangle allocation path is not established and requires curator residual/scope review.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Agamnentzar | ag-psd | < 31.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-62297?
How severe is CVE-2026-62297?
How do I fix CVE-2026-62297?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-62291libheif is a HEIF and AVIF file format decoder and encoder. …5.3
- CVE-2026-62292libheif is a HEIF and AVIF file format decoder and encoder. …8.7
- CVE-2026-62293HAPI FHIR is a complete implementation of the HL7 FHIR stand…5
- CVE-2026-62294Flameshot is powerful yet simple to use screenshot software.…5.1
- CVE-2026-62295HAPI FHIR is a complete implementation of the HL7 FHIR stand…7.5
- CVE-2026-62296HAPI FHIR is a complete implementation of the HL7 FHIR stand…7.5
- CVE-2026-62298mouse07410/asn1c is an ASN.1 compiler. Prior to 1.2.5, `OPEN…0
- CVE-2026-62299CoreDNS is a DNS server written in Go. Prior to 1.14.5, the …5.3
- CVE-2026-6230The Tainacan plugin for WordPress is vulnerable to time-base…7.5
- CVE-2026-62300Filecoin Pin is an IPFS Pinning Service API implementation t…6.5
- CVE-2026-62301MyTube is a self-hosted downloader and player for several vi…7.1
- CVE-2026-62302MyTube is a self-hosted downloader and player for several vi…8.7
Are you affected by CVE-2026-62297?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
