CVE-2025-71330Image-size
High 8.7 No auth needed
Follow: this CVE · Image-size · Image-size We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- Jun 10, 2026
- Updated
- Oct 12, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Image-size.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | image-size |
≥ 0.6.3 < 2.0.3 |
2.0.3 |
npm install image-size@2.0.3 |
Per OSV / GitHub Advisories (GHSA-w3rx-r6r6-pgpr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| image-size | image-size | ≥ 1.1.0 ≤ 1.2.1 |
| image-size | image-size | ≥ 2.0.0 ≤ 2.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- joshua.hu Exploit Third Party Advisory
- web.archive.org Issue Tracking Patch
- www.vulncheck.com Third Party Advisory