High severity7.5NVD Advisory· Published Jun 10, 2026· Updated Oct 12, 2026
CVE-2025-71330
CVE-2025-71330
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
image-sizenpm | >= 0.6.3, < 2.0.3 | 2.0.3 |
Affected products
3cpe:2.3:a:image-size:image-size:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:image-size:image-size:*:*:*:*:*:*:*:*range: >=1.1.0,<=1.2.1
- (no CPE)range: <=2.0.2
Patches
Vulnerability mechanics
References
6- web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439nvdIssue TrackingPatchWEB
- joshua.hu/image-size-infinite-loop-dos-vulnerabilitiesnvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-w3rx-r6r6-pgprghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-71330ghsaADVISORY
- www.vulncheck.com/advisories/image-size-denial-of-service-via-malformed-icns-image-parsingnvdThird Party AdvisoryWEB
- codeberg.org/image-size/image-size/commit/e6e83a5578961de81f6d5834d90fb7430d8f29a5ghsaWEB
News mentions
0No linked articles in our index yet.