PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-62297 Agamnentzar CVE debrief

A vulnerability in the ag-psd library allows for a remote denial-of-service (DoS) attack when parsing crafted PSD dimensions. The library commits to image/layer buffers based on declared header geometry before validating those values against the actual data, leading to a potential multi-gigabyte allocation from a tiny crafted PSD. This issue affects services reading untrusted PSDs with ag-psd, as it can cause memory exhaustion.

Vendor
Agamnentzar
Product
ag-psd
CVSS
HIGH 7.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-13
Original CVE updated
2026-11-13
Advisory published
2026-11-13
Advisory updated
2026-11-13

Who should care

Defenders responsible for systems reading untrusted PSD files with ag-psd should assess exposure, particularly for versions prior to 31.0.0. This includes developers and administrators of services using ag-psd.

Why it matters

CVE-2026-62297 is a remote DoS vulnerability in ag-psd that allows for memory exhaustion via crafted PSD dimensions. Defenders should prioritize updating to version 31.0.0 or later and assess exposure in systems reading untrusted PSD files.

  • Denial of service through memory exhaustion
  • Potential for remote exploitation
  • Need for version 31.0.0 or later for mitigation

Technical summary

The ag-psd library is vulnerable to a remote DoS attack due to an uncontrolled allocation when parsing PSD dimensions. The library allocates memory based on declared header geometry before validating it against actual data, allowing a tiny crafted PSD to cause a large allocation. This issue affects services reading untrusted PSDs with ag-psd, as it can cause memory exhaustion. Defenders should prioritize updating to version 31.0.0 or later and assess exposure in systems reading untrusted PSD files. The vulnerability was demonstrated with a 52-byte PSD file that caused a ~3.17 GB allocation in ~0.45 s before throwing an error.

Defensive priority

Defenders should prioritize updating to version 31.0.0 or later of the ag-psd library to mitigate this vulnerability. Systems reading untrusted PSD files should be assessed for exposure, particularly those using ag-psd versions prior to 31.0.0.

Recommended defensive actions

  • Update ag-psd to version 31.0.0 or later
  • Assess and inventory systems using ag-psd for exposure
  • Implement monitoring for suspicious PSD file reads
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability was demonstrated with a 52-byte PSD file that caused a ~3.17 GB allocation in ~0.45 s before throwing an error. This issue is distinct from other similar vulnerabilities (#39 and #206) as it involves an unvalidated header field driving the allocation, not actual content.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-62297 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-62297

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-62297 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-62297

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • ag-psd can exhaust memory when parsing crafted PSD dimensions

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/npm/GHSA-qfx6-q44v-9qqw.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/Agamnentzar/ag-psd/security/advisories/GHSA-qfx6-q44v-9qqw

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/Agamnentzar/ag-psd/commit/2d7da68400990bae8ba248a065eb45021fa8000a

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/Agamnentzar/ag-psd

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/Agamnentzar/ag-psd/blob/2d7da68400990bae8ba248a065eb45021fa8000a/CHANGELOG.md

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/Agamnentzar/ag-psd/tree/31.0.0

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://nvd.nist.gov/vuln/detail/cve-2026-62297

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.