CVE-2025-71330 Details
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.
A denial-of-service vulnerability has been identified in the image-size package, affecting versions through 2.0.2. This vulnerability allows remote attackers to cause an infinite loop in the Node.js event loop by sending a specially crafted ICNS image buffer. The crafted buffer includes valid magic bytes and a zero-length entry, which triggers the ICNS parser to enter an infinite loop. The loop condition remains true indefinitely because the parser's offset is not incremented when the entry length is zero, leading to a permanent blockage of the event loop.
Users are advised to update to the latest version of the image-size package, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities | [email protected] | ExploitThird Party Advisory |
| https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439 | [email protected] | Issue TrackingPatch |
| https://www.vulncheck.com/advisories/image-size-denial-of-service-via-malformed-icns-image-parsing | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| image-size image-size | >= 1.1.0, <= 1.2.1 >= 2.0.0, <= 2.0.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 12, 2026 | CVE Translated | [email protected] |
| Oct 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 15, 2026 | Initial Analysis | [email protected] |
| Jun 10, 2026 | New CVE Received | [email protected] |