Skip to main content

probe-image-size CVE-2026-104861

| EUVDEUVD-2026-91768 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-10-02 GitHub_M GHSA-gjj5-9665-rwrc
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify endpoint accepting image input
  2. Delivery
    Craft SVG with many unclosed '<' chars
  3. Exploit
    Submit via upload/stream/URL to probe
  4. Execution
    Regex rescans full buffer repeatedly
  5. Persist
    Event loop blocked at 100% CPU
  6. Impact
    Service 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

probe-image-size < 7.4.0

Affected Packages

npm probe-image-size fix: 7.4.0

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Oct 02, 2026 - 19:03 EUVD
CVE Published
Oct 02, 2026 - 17:56 cve.org
HIGH 7.5

DescriptionCVE.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.

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Medium
popular Node.js image-dimension npm library, common but not universal dependency
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy