CVE-2025-71319: image-size - Denial of Service
- Cve: CVE-2025-71319
- 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 image buffer with a zero-valued size field in a recognized box-type. Attackers can trigger an infinite loop in the JXL or HEIF image parsers by providing a crafted image containing a box with a size of zero, causing the offset to never advance and permanently hanging the application.
- Impact: Remote attackers can cause application hang, leading to denial of service.
- Remediation: Update to a version this CVE does not affect; its products list the affected version ranges.
- 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.00729
- Epss percentile: 0.54951
- Assignee: [email protected]
- Published at: 2026-06-09T21:17:03Z
- Age in days: 168
- Modified at: 2026-07-24T20:19:12Z
- Patch available: yes
- Public exploits total: 1
- References total: 8
- Products total: 5
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-71319
- 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-09 |
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-infinite-loop-in-jxl-heif-parser | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2026:33313 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2026:37272 | Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2025-71319 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2487296 | Issue Tracking, Third Party Advisory |
| https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71319.json | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| image-size:image-size | >= 2.0.0, <= 2.0.2; >= 1.1.0, <= 1.2.1 | /v1/products/image-size/image-size |
| redhat:enterprise_linux | = 8.0 | /v1/products/redhat/enterprise_linux |
| redhat:discovery | = 2.0 | /v1/products/redhat/discovery |
| redhat:gatekeeper | = 3.0 | /v1/products/redhat/gatekeeper |
| redhat:trusted_artifact_signer | >= 1.4, < 1.4.2 | /v1/products/redhat/trusted_artifact_signer |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| image-size/image-size | commit, package, security_advisory | yes | /v1/repositories/image-size/image-size |
Index
- Repositories: 119
- Repositories high signal: 23
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-06-09
- 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