Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify endpoint accepting image input
-
DeliveryCraft SVG with many unclosed '<' chars
-
ExploitSubmit via upload/stream/URL to probe
-
ExecutionRegex rescans full buffer repeatedly
-
PersistEvent loop blocked at 100% CPU
-
ImpactService denial for all users
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
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 host application must pass attacker-controlled data to one of the vulnerable entry points - probe.sync() or probe(stream) on an attacker-supplied buffer/stream, or probe(url) against an attacker-influenced URL - using probe-image-size before 7.4.0. The malicious input must be an SVG-like payload containing many '<' (less-than) characters with no closing '>', which forces the /<[-_.:a-zA-Z0-9][^>]*>/ regex to repeatedly scan to end of input; the synchronous parser processes the full buffer with no input size cap, and the streaming parser re-parses the entire accumulated prefix per chunk, so attacker-controlled chunking amplifies cost. LIMITING FACTORS: this is availability-only (no data disclosure or modification); it is only reachable if the application actually feeds untrusted image data or URLs into this library, and applications that cap input size or run probing in isolated/worker processes significantly reduce impact. No authentication or user interaction is required at the CVSS level (PR:N/UI:N). |
| Impact | This is a CWE-400 uncontrolled-resource-consumption (CPU/event-loop) denial of service. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, score 7.5) is internally consistent for a network-reachable, unauthenticated, no-interaction availability-only flaw and matches the description, which states that probe.sync(), probe(stream), and probe(url) can block the Node.js event loop at full CPU on attacker-controlled SVG input. No EPSS score was supplied in the input, the CVE is NOT in CISA KEV, and no POC flag was provided, so all three real-world-exploitation accelerators are either absent or unknown rather than confirmed. The single-threaded Node.js event-loop model raises practical impact: one abusive request can stall an entire worker, and the description notes streaming chunking can amplify cost. Net assessment: a credible, moderate-priority availability issue for services that feed untrusted images/URLs into this library, but NOT a critical drop-everything issue - there is no confirmed exploitation, no confidentiality or integrity impact, and real exposure depends entirely on whether the host application exposes a vulnerable entry point to untrusted input. The high CVSS reflects easy reachability, not demonstrated widespread attacks. |
| Exploit ScenarioDerived | An application uses probe-image-size (<7.4.0) to read dimensions of user-uploaded images or images fetched from user-supplied URLs. An attacker submits a crafted SVG payload containing many '<' characters with no closing '>', causing the /<[-_.:a-zA-Z0-9][^>]*>/ regex to repeatedly rescan to end of buffer and peg a CPU core. No public exploit is identified at time of analysis, but the trigger condition is simple and reliably described. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 02, 2026
Denial of service in probe-image-size before 7.4.0 lets remote, unauthenticated attackers pin a Node.js process at full CPU and block its event loop by feeding crafted SVG-like data through probe.sync(), probe(stream), or probe(url). The SVG parser's searching regular expression /<[-_.:a-zA-Z0-9][^>]*>/ rescans to the end of the input whenever attacker-controlled data contains many '<' characters with no closing '>', and the synchronous path converts and scans an entire uncapped buffer while the streaming path reparses the full accumulated SVG prefix on every chunk, so attacker-controlled chunking amplifies the cost. No public exploit code was identified at time of analysis, but the attack is trivial to trigger in any application that passes untrusted image bytes or URLs to the library, and the vendor-released patch is version 7.4.0.
RemediationAI
Upgrade to probe-image-size 7.4.0 or later (vendor-released patch: 7.4.0), available at https://github.com/nodeca/probe-image-size/releases/tag/7.4.0 and described in the vendor advisory https://github.com/nodeca/probe-image-size/security/advisories/GHSA-gjj5-9665-rwrc; the fix lands in commits 60cc96ac0b671e79e328213d0a8e831312b09e84 (new lib/common/svg_header.js with anchored, linear regexps), 9b74656d6f973cc59ea2ab1375c0d88390a402ad, and c032aefabdecf5cb50548ab9ba175db56353078f. If the upgrade cannot be applied immediately, enforce a hard maximum input size and pre-scan rejection of payloads containing long runs of '<' without a closing '>' before any probe.sync() or probe(stream) call - the trade-off is that legitimately large or unusual SVGs may be dropped, and a byte-cap alone does not fully protect the streaming parser, which must also be defended against slow, deliberately fragmented chunk delivery (for example by capping total accumulated bytes and per-chunk count). Run probing inside a worker thread or child process with a wall-clock timeout and CPU limit so that a saturating parse can be aborted instead of stalling the main event loop, accepting the added per-request overhead and process-management complexity. Avoid passing untrusted or user-controlled URLs directly to probe(url), or front that entry point with a fetcher that enforces strict connect/read timeouts and response size limits, since the same entry point routes into the vulnerable SVG parsing path.
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
probe-image-size is an npm package that extracts image dimensions without downloading the whole file, exposing synchronous (probe.sync()), streaming (probe(stream)) and URL (probe(url)) entry points. For SVG it used lib/parse_sync/svg.js and lib/parse_stream/svg.js with the searching regular expression /<[-_.:a-zA-Z0-9][^>]*>/, which is unanchored and re-attempted at every '<' position; when the input consists of a long run of less-than characters with no closing '>', each attempt scans to end-of-input and the total work grows super-linearly, the classic CWE-400 uncontrolled resource consumption pattern in its algorithmic-complexity form. Because Node.js executes this JavaScript on the main event loop, the CPU burn translates directly into an availability failure: the sync parser has no input size cap, and the stream parser re-parses the whole accumulated SVG prefix for each arriving chunk, so a slow, deliberately fragmented upload multiplies the cost per byte delivered. The assessed vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H with PR:N and UI:N, meaning no authentication or user interaction is required at the CVSS level, and impact is availability-only (no data disclosure or modification). The fix introduces lib/common/svg_header.js, which replaces the searching regexp with anchored ('^') patterns applied at known offsets and uses disjoint alternative prefixes in the prolog expression (XML declaration, comments, PIs, CDATA, doctype) so the engine never rescans from every position and the repetition stays deterministic and linear on malformed input. Affected component is tracked by CPE cpe:2.3:a:nodeca:probe-image-size:*:*:*:*:*:*:*:*.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable untrusted input triggers the flaw with no auth or interaction (AV:N/AC:L/PR:N/UI:N); only availability is affected via event-loop exhaustion (C:N/I:N/A:H), scope unchanged.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
probe-image-size gets image dimensions without downloading the entire file. Prior to 7.4.0, lib/parse_sync/svg.js and lib/parse_stream/svg.js use the searching regular expression /<[-_.:a-zA-Z0-9][^>]*>/, which repeatedly scans to the end of input when attacker-controlled data contains many less-than characters without a closing greater-than character. The synchronous parser converts and scans the full supplied buffer without an input cap, while the streaming parser reparses the complete accumulated SVG prefix for every received chunk. The probe.sync(), probe(stream), and probe(url) entry points can therefore block the Node.js event loop at full CPU, and attacker-controlled chunking can amplify the streaming cost. This issue is fixed in version 7.4.0.
Articles & Coverage 1
Technical POC Analysis
CWE-400 (Uncontrolled Resource Consumption), with the advisory also tagging CWE-1333.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
probe-image-size, a small Node.js image-inspection library embedded in upload, thumbnail, and image-fetch pipelines, can be pinned at full CPU by a single malicious image payload, stalling the Node.js event loop and effectively freezing every request handled by that process. Because the library is typically reachable by anyone who can submit an image file or an image URL, a handful of crafted requests can degrade or halt customer-facing services that depend on it - availability loss without any data exposure. The issue is trivial to trigger, no public exploit identified at time of analysis, and remediation requires upgrading the dependency to version 7.4.0.
Apply vendor patch. Where upgrading to probe-image-size 7.4.0 cannot be completed immediately, the interim controls are: enforce a hard cap on accepted image size and total bytes parsed, reject or truncate inputs containing an excessive count of '<' characters, run probing in bounded worker threads or isolated processes with strict concurrency limits and short execution timeouts, add per-client rate limiting on image upload and URL-fetch endpoints, and restrict image-fetch features from reaching untrusted or internal URLs. Note that the input advisory metadata lists patch status as NOT available, while the technical description identifies 7.4.0 as the vendor-released fix; confirm current patch guidance with the vendor before closing the item.
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
EUVD-2026-91768
GHSA-gjj5-9665-rwrc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB