Vulnerability in Image-Size
CVE-2025-71319
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.007 (54.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 54th percentile — 54.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- Image-Size — versions 1.1.0, 2.0.0
- Red Hat Discovery — versions 2.0
- Red Hat Enterprise Linux — versions 8.0
- Red Hat Gatekeeper — versions 3.0
- Red Hat Trusted Artifact Signer
Weakness classification (CWE)
References
- github.com/image-size/image-size/security/advisories/GHSA-m5qc-5hw7-8vg7
- www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-…
- joshua.hu/image-size-infinite-loop-dos-vulnerabilities (Exploit, technical-description, Third Party Advisory, exploit)
- web.archive.org/web/20260224152152/https://github.com/image-size/image-size/pul… (issue-tracking, Patch, patch, Issue Tracking)
- www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-… (Third Party Advisory, third-party-advisory)
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Third Party Advisory)
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Third Party Advisory)
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Third Party Advisory, Issue Tracking)
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Third Party Advisory)
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Third Party Advisory)
Frequently asked questions
- What is CVE-2025-71319?
- CVE-2025-71319 is a high-severity vulnerability in Image-Size, classified under Loop with Unreachable Exit Condition (Infinite Loop). CVSS score: 7.5/10. Published 2026-06-09.
- How severe is CVE-2025-71319?
- High severity. CVSS v3 base score is 7.5 out of 10.