Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify endpoint accepting image uploads
-
DeliveryCraft JXL/HEIF with zero-size box
-
ExploitSubmit malformed image over HTTP
-
ExecutionTrigger infinite loop in parser
-
PersistBlock Node.js event loop
-
ImpactRepeat across workers to deny service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target application must call image-size (≤ 2.0.2) on attacker-controlled bytes and have its JXL or HEIF parsing code paths reachable - these parsers are invoked based on the image's container signature, so simply accepting arbitrary image uploads is sufficient and no special configuration toggle is required. No authentication is required (PR:N), no user interaction is required (UI:N), and the attack works against default configurations over the network (AV:N/AC:L). Limiting factors: the application must actually invoke image-size on untrusted input (build-time-only or trusted-source usage is not exposed), and impact is bounded to availability - confidentiality and integrity are unaffected (VC:N/VI:N) - so deployments running image-size in a sandboxed worker with timeouts will see degraded rather than catastrophic impact. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N/VA:H produces a score of 8.7 (High) and accurately reflects an unauthenticated, low-complexity, network-reachable availability attack with high availability impact and no confidentiality or integrity impact - consistent with a pure DoS. SSVC signals are not provided, but the combination of public POC, a merged upstream fix, and the trivial payload (a single malformed image) make exploitation Automatable=Yes and Technical Impact=Partial in practical terms. No EPSS score is supplied and the CVE is not in CISA KEV, so there is no evidence of in-the-wild abuse yet; however, image-size is a transitive dependency in many image-processing pipelines, upload handlers, and SSR frameworks, so the realistic blast radius is broader than the CVSS alone implies. Priority should be elevated for any internet-facing service that calls image-size on attacker-controlled bytes, and treated as lower priority for build-time-only or trusted-input usage. |
| Exploit ScenarioDerived | An attacker uploads or submits a single crafted JXL or HEIF image - a few hundred bytes is enough - to any endpoint that passes user-supplied image bytes to image-size, for example an avatar upload, a thumbnail generator, or an SSR meta-tag image probe. The malformed box with size=0 sends the parser into an infinite loop on the Node.js main thread, blocking all concurrent requests handled by that worker until it is killed; with publicly available exploit code, repeating this across worker processes trivially takes the service offline. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 10, 2026
Denial of service in the image-size Node.js library through version 2.0.2 allows remote unauthenticated attackers to permanently hang the Node.js event loop by supplying a crafted JXL or HEIF image containing a box with a zero-valued size field. Publicly available exploit code exists and an upstream fix has been merged, making this a credible availability threat for any service that accepts user-supplied images and runs them through image-size. No active exploitation has been reported in CISA KEV at time of analysis.
Earlier versions of this analysis (2)
Denial of service in the image-size Node.js library through version 2.0.2 lets remote unauthenticated attackers permanently hang the Node.js event loop by submitting a crafted JXL or HEIF image containing a box with a zero-valued size field. Publicly available exploit code exists and an upstream fix has been merged, making any service that uses image-size to inspect untrusted uploads a viable target for trivial single-request takedowns.
Denial of service in the image-size Node.js library through version 2.0.2 allows remote unauthenticated attackers to permanently hang the Node.js event loop by submitting a crafted JXL or HEIF image with a zero-sized box field. Publicly available exploit code exists and the issue was disclosed by VulnCheck, but it is not listed in CISA KEV. Any service that ingests untrusted images and passes them through image-size is exposed to a single-request availability kill.
RemediationAI
Upstream fix available (PR/commit at https://github.com/image-size/image-size/pull/439); a released patched version is not independently confirmed from the provided data, so upgrade to the first published image-size release that includes PR #439 and verify the version against the project's changelog before deploying. As compensating controls until the upgrade lands, restrict the accepted image types at the application layer by rejecting JXL and HEIF inputs (trade-off: legitimate clients sending those formats will be blocked), enforce strict request timeouts on any handler that calls image-size so a hung worker is terminated rather than wedged indefinitely (trade-off: requires process-level supervision to actually kill the blocked event loop), and move image parsing into a short-lived child process or worker thread that can be killed on timeout (trade-off: added latency and operational complexity). Consult the VulnCheck advisory at https://www.vulncheck.com/advisories/image-size-denial-of-service-via-infinite-loop-in-jxl-heif-parser and the public write-up at https://joshua.hu/image-size-infinite-loop-dos-vulnerabilities for parser-level detail.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
image-size is a widely used npm package that parses image headers to extract dimensions without decoding pixel data, and it supports container-style formats like JPEG XL (JXL) and HEIF that are structured as a sequence of typed boxes, each prefixed by a size field. The vulnerability is rooted in CWE-835 (Loop with Unreachable Exit Condition / Infinite Loop): the JXL and HEIF parsers advance their read offset by the box's declared size, but never validate that the declared size is non-zero, so a box advertising size=0 keeps the parser re-reading the same offset forever. Because Node.js executes JavaScript on a single-threaded event loop, this synchronous infinite loop blocks all other request processing in the worker, not just the current request, until the process is forcibly restarted. The affected CPE is cpe:2.3:a:image-size:image-size:*:*:*:*:*:*:*:* covering all versions up to and including 2.0.2.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 47 npm packages depend on image-size (13 direct, 36 indirect)
Ecosystem-wide dependent count for version 1.2.0.
Executive ViewAI
The open-source image-size library, widely used in Node.js applications, contains a publicly exploitable denial-of-service vulnerability that allows remote attackers to crash services accepting user-supplied images. Any organization running web applications, content platforms, or file-sharing services that process images faces immediate risk of service unavailability.
Apply vendor patch. Interim mitigations while patching: implement request timeouts (5-10 seconds) on image-size operations; validate image file formats before processing; restrict uploads to authenticated users only.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
Same technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Micro 5.3 | Not-Affected |
| SUSE Linux Enterprise Micro 5.3 | Not-Affected |
| SUSE Linux Enterprise Micro 5.4 | Not-Affected |
| SUSE Linux Enterprise Micro 5.4 | Not-Affected |
| SUSE Linux Enterprise Micro 5.5 | Not-Affected |
| SUSE Linux Enterprise Micro 5.5 | Not-Affected |
| SUSE Linux Enterprise Server 16.0 | Not-Affected |
| SUSE Linux Enterprise Server 16.0 | Not-Affected |
| SUSE Linux Enterprise Server 16.1 | Not-Affected |
| SUSE Linux Enterprise Server 16.1 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Not-Affected |
| SUSE Linux Micro 6.0 | Not-Affected |
| SUSE Linux Micro 6.0 | Not-Affected |
| SUSE Linux Micro 6.1 | Not-Affected |
| SUSE Linux Micro 6.1 | Not-Affected |
| SUSE Linux Micro 6.2 | Not-Affected |
| SUSE Linux Micro 6.2 | Not-Affected |
| openSUSE Leap 16.0 | Not-Affected |
| openSUSE Leap 16.0 | Not-Affected |
| openSUSE Leap Micro 5.5 | Not-Affected |
EUVD-2025-210106
GHSA-5p2g-fcmc-qvqq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB