製品・ソフトウェアに関する情報
image-sizeにおける無限ループに関する脆弱性
Title image-sizeにおける無限ループに関する脆弱性
Summary

image-size 2.0.2以前のバージョンには、リモートの攻撃者が特別に細工された画像バッファを認識されたボックスタイプのサイズフィールドにゼロ値を含めて提供することで、Node.jsのイベントループを永久にブロックし、サービス拒否を引き起こす脆弱性があります。攻撃者は、サイズがゼロのボックスを含む細工された画像を提供することで、JXLまたはHEIF画像パーサに無限ループを発生させ、オフセットが進まなくなり、アプリケーションを永久にハングさせます。

Possible impacts ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date June 9, 2026, midnight
Registration Date June 16, 2026, 1:41 p.m.
Last Update June 16, 2026, 1:41 p.m.
CVSS3.0 : 重要
Score 7.5
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected System
image-size
image-size 2.0.2 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年06月16日]
  掲載
June 16, 2026, 1:41 p.m.

NVD Vulnerability Information
CVE-2025-71319
Summary

image-size through 2.0.2 contains a denial of service vulnerability that allows remote attackers to permanently block the Node.js event loop by supplying a specially crafted image buffer with a zero-valued size field in a recognized box-type. Attackers can trigger an infinite loop in the JXL or HEIF image parsers by providing a crafted image containing a box with a size of zero, causing the offset to never advance and permanently hanging the application.

Publication Date June 10, 2026, 6:17 a.m.
Registration Date June 11, 2026, 4:15 a.m.
Last Update June 16, 2026, 2:52 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:image-size:image-size:*:*:*:*:*:node.js:*:* 2.0.2
Related information, measures and tools
Common Vulnerabilities List