Vulnerability in Image-Size
CVE-2025-71330
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.004 (34.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 35th percentile — 34.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Image-Size — versions 2.0.0, 1.1.0
Weakness classification (CWE)
References
- joshua.hu/image-size-infinite-loop-dos-vulnerabilities (Exploit, technical-description, Third Party Advisory, exploit)
- web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pul… (issue-tracking, Patch, patch, Issue Tracking)
- www.vulncheck.com/advisories/image-size-denial-of-service-via-malformed-icns-im… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2025-71330?
- CVE-2025-71330 is a high-severity vulnerability in Image-Size, classified under Loop with Unreachable Exit Condition (Infinite Loop). CVSS score: 7.5/10. Published 2026-06-10.
- How severe is CVE-2025-71330?
- High severity. CVSS v3 base score is 7.5 out of 10.