Skip to content
High 7.5

ag-psdにPSDファイルの解析で大量のメモリを確保させられる脆弱性

CVE-2026-63501 First seen on SecPulse

Summary

細工されたPSDファイルを読み込ませると、メモリの上限を超えて確保され、処理が止まってサービス妨害(DoS)が起きるおそれがあります。影響するのはag-psdの31.0.1より前の版で、31.0.1で修正されています。レイヤーの画像を読み込む処理を使うアプリでは、修正版への更新を優先してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

細工されたPSDファイルを読み込ませると、メモリの上限を超えて確保され、処理が止まってサービス妨害(DoS)が起きるおそれがあります。影響するのはag-psdの31.0.1より前の版で、31.0.1で修正されています。レイヤーの画像を読み込む処理を使うアプリでは、修正版への更新を優先してください。

Affected packages

PackageAffected → Fixed
Agamnentzarag-psd —
npmag-psd
< 31.0.1→ 31.0.1
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details