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.
Affected products
image-size: image-size; redhat: discovery; redhat: gatekeeper; redhat: trusted artifact signer; redhat: enterprise linux
References8
- web.archive.org/web/20260224152152/github.com/image-size/image-… Issue TrackingPatch
- joshua.hu/image-size-infinite-loop-dos-vulnerabilities ExploitThird Party Advisory
- www.vulncheck.com/advisories/image-size-denial-of-service-via-i… Third Party Advisory
- access.redhat.com/errata/RHSA-2026:33313 Third Party Advisory
- access.redhat.com/errata/RHSA-2026:37272 Third Party Advisory
- access.redhat.com/security/cve/CVE-2025-71319 Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2487296 Issue TrackingThird Party Advisory
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71319… Third Party Advisory
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 4.0
-
8.7
HIGH
Score source: CNA
CVSS: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 - EPSS — exploit probability
- 1% percentile: 55 · as of 15 November 2026
- CWE
- CWE-835
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.