High severity · published Jun 10, 2026
CVE-2025-71330
image-size 2.0.2 Denial of Service via Malformed ICNS Image Parsing
7.5
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
IM
image-size · image-size
1.1.0 through 1.2.1; 2.0.0 through 2.0.2 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-71330
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-71330
Exploit
https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities
Issue Tracking
https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439
Third Party Advisory
https://www.vulncheck.com/advisories/image-size-denial-of-service-via-malformed-icns-image-parsing
More from image-size
7.5
CVE-2025-71329
image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser
7.5
CVE-2025-71319
image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser
