High severity · published Jun 10, 2026
CVE-2025-71329
image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser
7.5
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
IM
image-size · image-size
1.1.0 through 1.2.1; 2.0.0 through 2.0.2 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-71329
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-71329
Exploit
https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities
Issue Tracking
https://web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439
Third Party Advisory
https://www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-jxl-heif-parser
More from image-size
7.5
CVE-2025-71330
image-size 2.0.2 Denial of Service via Malformed ICNS Image Parsing
7.5
CVE-2025-71319
image-size 2.0.2 Denial of Service via Infinite Loop in JXL/HEIF Parser
