PatchSiren cyber security CVE debrief
CVE-2025-71330 image-size CVE debrief
CVE-2025-71330 is a high-severity denial of service vulnerability in image-size through 2.0.2. Remote attackers can exploit this vulnerability by supplying a specially crafted ICNS image buffer, potentially causing a permanent block of the Node.js event loop. The vulnerability is caused by an infinite loop in the ICNS parser when it encounters an ICNS buffer with valid magic bytes and a zero-valued entry length field.
- Vendor
- image-size
- Product
- Unknown
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-10
- Original CVE updated
- 2026-06-15
- Advisory published
- 2026-06-10
- Advisory updated
- 2026-06-15
Who should care
Developers and administrators using the image-size package, especially in Node.js environments, should be aware of this vulnerability and take steps to mitigate it.
Technical summary
The image-size package through version 2.0.2 contains a denial of service vulnerability. This vulnerability allows remote attackers to cause a permanent block of the Node.js event loop by supplying a specially crafted ICNS image buffer. The attack involves crafting an ICNS buffer with valid magic bytes and a zero-valued entry length field, which triggers an infinite loop in the ICNS parser. This occurs because the offset is never incremented when the entry length field is 0, causing the while loop condition to remain true indefinitely.
Defensive priority
high
Recommended defensive actions
- Update the image-size package to a version that fixes this vulnerability.
- Implement input validation and sanitization for ICNS image buffers to prevent exploitation.
Evidence notes
The CVE-2025-71330 record was published on [cve-org](https://www.cve.org/CVERecord?id=CVE-2025-71330). Additional details can be found on [nvd](https://nvd.nist.gov/vuln/detail/CVE-2025-71330).
Sources and references
Verified primary and authoritative sources
-
CVE-2025-71330 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2025-71330
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2025-71330 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2025-71330
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities
-
Source reference
Unverified legacy reference
URL: https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/image-size-denial-of-service-via-malformed-icns-image-parsing
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.