CVE-2025-71329 Details
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.
A denial-of-service vulnerability has been identified in the image-size package, affecting versions through 2.0.2. This vulnerability allows remote attackers to cause an infinite loop in the Node.js event loop by sending a specially crafted image buffer. The crafted buffer contains a zero-valued size field in a recognized box type, which triggers the JXL or HEIF image parsers to enter an infinite loop. The application becomes permanently unresponsive as the offset in the parser never advances.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities | [email protected] | ExploitThird Party Advisory |
| https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439 | [email protected] | Issue TrackingPatch |
| https://www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-jxl-heif-parser | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| image-size image-size | >= 1.1.0, <= 1.2.1 >= 2.0.0, <= 2.0.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 12, 2026 | CVE Translated | [email protected] |
| Oct 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 15, 2026 | Initial Analysis | [email protected] |
| Jun 10, 2026 | New CVE Received | [email protected] |