CVEvulnerability
CVE-2025-71330
8.7 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2026-06-10
- Last modified
- 2026-10-12
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 8.7 HIGH — CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-835
Description
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 ICNS image buffer. Attackers can craft an ICNS buffer containing valid magic bytes and a zero-valued entry length field to trigger an infinite loop in the ICNS parser, as the offset is never incremented when the entry length field is 0, causing the while loop condition to remain true indefinitely.
Affected configurations
• image-size image-size (>= 1.1.0 <= 1.2.1)
• image-size image-size (>= 2.0.0 <= 2.0.2)
Related
Weakness · CWE (1)
- CWE-835 Loop with Unreachable Exit Condition weakness
References
- https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities Exploit, Third Party Advisory
- https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439 Issue Tracking, Patch
- https://www.vulncheck.com/advisories/image-size-denial-of-service-via-malformed-icns-image-parsing Third Party Advisory