Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Image-Size | Image-Size | >= 1.1.0, <= 1.2.1 |
Related Weaknesses (CWE)
References
- https://joshua.hu/image-size-infinite-loop-dos-vulnerabilitiesExploitThird Party Advisory
- https://web.archive.org/web/20260224152152/https://github.com/image-size/image-sIssue TrackingPatch
- https://www.vulncheck.com/advisories/image-size-denial-of-service-via-malformed-Third Party Advisory
FAQ
What is CVE-2025-71330?
CVE-2025-71330 is a vulnerability with a CVSS score of 7.5 (HIGH). 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. Attacke...
How severe is CVE-2025-71330?
CVE-2025-71330 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-71330?
Check the references section above for vendor advisories and patch information. Affected products include: Image-Size Image-Size.