CVE-2025-71330: image-size - Denial of Service
- Cve: CVE-2025-71330
- Name: image-size - Denial of Service
- 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.
- Impact: Remote attackers can cause a denial of service by blocking the Node.js event loop indefinitely.
- Remediation: Update to the latest version beyond 2.0.2.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.0043
- Epss percentile: 0.37748
- Assignee: [email protected]
- Published at: 2026-06-10T14:16:30Z
- Age in days: 167
- Modified at: 2026-10-12T22:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-71330
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-835 | Loop with Unreachable Exit Condition |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities | nvd | 2026-06-10 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439 | Issue Tracking, Patch |
| https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities | Exploit, Third Party Advisory |
| https://www.vulncheck.com/advisories/image-size-denial-of-service-via-malformed-icns-image-parsing | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| image-size:image-size | >= 2.0.0, <= 2.0.2; >= 1.1.0, <= 1.2.1 | no | nvd | /v1/products/image-size/image-size |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| image-size/image-size | package | yes | /v1/repositories/image-size/image-size |
Index
- Repositories: 836
- Repositories high signal: 295
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-06-10
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts