npm
CVE-2025-71330
image-size: ICNS parser allows denial of service through an infinite loop
- Severity
- High 7.5
- Published
- 10 Jun 2026
- Last changed
- 24 Sept 2026
- Added to UpHeron
- 10 Nov 2026
- Fixed in
- 2.0.3
- Exploit chance
- 0.4% in the next 30 daysHigher than 37% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Infinite loop (CWE-835)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Also known as
- GHSA-w3rx-r6r6-pgpr
- Sources
- OSV.dev and GitHub
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.
Affected software
| Software | Affected versions |
|---|---|
image-sizenpm · osv:npm:image-size |
|
About image-size
- Weekly downloads (npm)
- 39,621,585npm, 17 Nov 2026
Vulnerabilities in image-size
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2025-71329image-size: JXL and HEIF parsers allow denial of service through infinite loopsHigh 7.5 10 Jun 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2025-71330
- GitHub Advisory Database https://github.com/advisories/GHSA-w3rx-r6r6-pgpr