Vulnerability
CVE-2025-71329
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.
9 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-29xp-hjq6-m5r5
- CGA-3r6q-9p8j-f8hw
- CGA-4w8f-xhhh-6p4g
- CGA-jhq2-82m2-2j33
- CGA-mfv9-56q2-p87x
- CGA-q8h6-fw89-5fg5
- CGA-wfw3-ph59-592r
- CGA-wgxq-596g-jm6q
-
GHSA-5p2g-fcmc-qvqq
image-size: JXL and HEIF parsers allow denial of service through infinite loops