CVE-2025-71330: image-size · ICNS parser allows denial of service through an infinite loop
Affects image-sizeSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 2.0.3 soon.
Data as of 7 Nov 2026, 23:24 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.0.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 7 Nov 2026.
What to do
Upgrade image-size to 2.0.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmimage-size | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid processing untrusted ICNS image buffers with image-size versions up to 2.0.2.
Description
image-size versions up to 2.0.2 contain a denial of service vulnerability in the ICNS parser. A specially crafted ICNS image buffer with valid magic bytes and a zero-valued entry length can cause an infinite loop, blocking the Node.js event loop indefinitely. This vulnerability can be triggered remotely without authentication.
References
- nvd.nist.gov/vuln/detail/CVE-2025-71330 (opens in a new tab)
- github.com/image-size/image-size (opens in a new tab)
- joshua.hu/image-size-infinite-loop-dos-vulnerabilities (opens in a new tab)
- web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439 (opens in a new tab)
- vulncheck.com/advisories/image-size-denial-of-service-via-malformed-icns-image-parsing (opens in a new tab)
- codeberg.org/image-size/image-size/commit/e6e83a5578961de81f6d5834d90fb7430d8f29a5 (opens in a new tab)