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

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

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

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

Publication Date June 10, 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 1.1.0 から 1.2.1
image-size 2.0.0 から 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-71329
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, 11:16 p.m.
Registration Date June 11, 2026, 4:17 a.m.
Last Update June 16, 2026, 2:09 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:image-size:image-size:*:*:*:*:*:*:*:* 1.1.0 1.2.1
cpe:2.3:a:image-size:image-size:*:*:*:*:*:*:*:* 2.0.0 2.0.2
Related information, measures and tools
Common Vulnerabilities List