CVE-2025-71319: image-size Infinite Loop
Vulnerability summary
CVE-2025-71319 is a high (CVSS 8.7) Infinite Loop vulnerability in image-size. EPSS estimates a 0.73% chance of exploitation in the next 30 days, higher than 53.3% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 09-06-2026PublishedVulnerability first disclosed.
- 03-09-2026Last modifiedVulnerability information updated.
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 metrics
6 scores · 3 sources · 2 versions- OSV · NpmEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.7HighCVSS: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
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.73%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
0.00 pp
From 0.73% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (joshua.hu)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Redhat4 products
- discovery2.0
- enterprise_linux8.0
- gatekeeper3.0
- trusted_artifact_signer≥ 1.4, < 1.4.2
Image-size1 product
- image-size≥ 1.1.0, ≤ 1.2.1 | ≥ 2.0.0, ≤ 2.0.2
Npm1 product
- image-size≥ 1.1.0, < 1.2.1 | ≥ 2.0.0, < 2.0.2
3 vendors · 6 products
References
12 links- joshua.hu/image-size-infinite-loop-dos-vulnerabilitiesTechnical DescriptionExploitWEBThird Party Advisory
- web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pull/439Issue TrackingWEBPatch
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71319.jsonX Sadp Csaf VexThird Party Advisory