Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted SVG to probe endpoint
-
DeliveryUnclosed DOCTYPE subset with many ']'
-
ExploitQuadratic regex backtracking in PROLOG_RE
-
ExecutionEvent loop stalls ~120ms per request
-
ImpactSustained flood denies service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity 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 | Exploitation requires that the target service feed attacker-supplied SVG data (raw bytes, a stream, or a fetched URL) into probe-image-size's probe.sync, probe(stream), or probe(url) on an affected version (7.4.0 / <=7.4.0); the malicious input is specifically an SVG DOCTYPE whose internal subset is opened with '[' and never terminated with '>', followed by many ']' characters (e.g. '<!a[' + ']'*N). No authentication, user interaction, or non-default configuration is needed (PR:N/UI:N/AT:N), and default configurations are vulnerable. Key LIMITING factors: the MAX_DATA_LENGTH = 10240 input cap bounds the cost to ~120 ms of blocked event loop per call, so a single request cannot hang the process - meaningful denial of service requires a sustained stream of malicious requests against a service that routinely probes untrusted SVGs. Note also that the stream parser does not amplify cost if a '>' arrives early (a '>' right after the first ']' ends the doctype, yielding only short linear re-parses), so the attack depends on the subset remaining unterminated within the first 10 KiB. |
| Impact | This is a genuine but modest-severity issue, best characterized as a real-but-not-urgent priority. The supplied CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L) describes a remotely reachable, low-complexity, unauthenticated flaw with no attack requirements and no confidentiality or integrity impact - only a LOW availability impact, consistent with the CWE-1333 ReDoS classification and the score of 6.9 (Medium). The signals are internally consistent: the vector's VA:L matches the advisory's own 'Impact: Low' assessment, which explains that the MAX_DATA_LENGTH = 10240 input cap bounds each malicious probe to roughly 120 ms of blocked event-loop time (~1000x a normal parse) rather than an unbounded hang. The real risk is therefore not a single catastrophic request but a sustained flood: the advisory demonstrates 5 sequential probes costing 611 ms, so the threat materializes only against services that probe many untrusted SVGs at a high request rate. No EPSS score and no KEV listing were provided; KEV status is therefore NO (no confirmed active exploitation), and EPSS probability is simply absent rather than low - do not infer either way. A working proof-of-concept is present in the GHSA advisory and was confirmed by execution, but PoC availability is distinct from active exploitation and should not be read as in-the-wild use. The vuln.today decision label is 'this_month,' aligning with a patch-when-convenient rather than emergency posture. Net: a legitimate availability bug worth patching in the normal cycle, elevated for anyone running SVG-probing services on untrusted input, but not a drop-everything emergency. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker submits a crafted SVG - either as uploaded bytes or via a URL the service fetches - to any endpoint that passes untrusted images to probe-image-size (probe.sync, probe(stream), or probe(url)). The SVG opens a DOCTYPE internal subset with '<!a[' and then supplies many ']' characters with no closing '>', triggering quadratic backtracking that stalls the Node.js event loop for ~120 ms per request at the 10 KiB cap. By sending such requests repeatedly, the attacker sustains event-loop stalls that degrade or deny service for all users; a working PoC confirmed by execution is published in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Remote denial of service in probe-image-size 7.4.0 lets unauthenticated attackers repeatedly stall the Node.js event loop by supplying a crafted SVG whose DOCTYPE opens an internal subset and never closes it, followed by many ']' characters. The flaw is a quadratic regular expression in the SVG header parser (CWE-1333) and is a regression introduced by the 7.4.0 rewrite that fixed the earlier GHSA-gjj5-9665-rwrc; it is reachable through probe.sync, probe(stream) and probe(url). Exploitation is limited by the built-in 10 KiB (MAX_DATA_LENGTH) input cap, which bounds each probe to roughly 120 ms of blocked event loop - about 1000x a normal parse - so meaningful denial of service requires a sustained rate of malicious requests against a service that routinely probes untrusted SVGs. No CISA KEV entry or other confirmation of active exploitation is present; the vendor advisory includes a public proof-of-concept script that the reporter states was confirmed by execution, but no independently verified working exploit code is reported. A vendor patch is available in 7.5.0.
RemediationAI
Upgrade to probe-image-size 7.5.0, which the vendor released to address GHSA-5jh3-w3fj-6758; npm consumers should pin 'probe-image-size@7.5.0' or later and regenerate the lockfile, and vendored or forked copies should take the upstream commit ca291344edea53df47432ca8dbd25e66b8ea8600 (https://github.com/nodeca/probe-image-size/commit/ca291344edea53df47432ca8dbd25e66b8ea8600), which replaces PROLOG_RE with a byte-level state-machine parser. If upgrading is not immediately possible, the advisory's minimal regex change - replacing '(?:\[[\s\S]*?\][^>]*)?' with '(?:\[[^\]]*\][^>]*)?', or scanning the doctype with indexOf - makes the internal-subset scan linear, but it is a local patch that must be reapplied on every dependency refresh. Recognise that the library's MAX_DATA_LENGTH = 10240 cap already limits each probe to roughly 120 ms of blocked event loop, so the practical exposure window for unpatched deployments is a sustained request rate of malicious SVGs rather than a single request; throttling or queueing untrusted image probing, and rejecting or pre-validating SVGs that contain an unterminated DOCTYPE internal subset before they reach the library, reduce the amplification but do not remove the underlying regex cost the way the 7.5.0 parser does. Services that only probe images from trusted or allow-listed sources are not exposed to remote input and can be scheduled on a normal maintenance cadence.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
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 a Node.js library that sniffs image dimensions from a buffer, stream or URL without fully decoding the file, and its SVG handling lives in lib/common/svg_header.js. Version 7.4.0 replaced the previous prolog parser with anchored regular expressions, including PROLOG_RE whose doctype alternative is '<![A-Za-z][^[>]*(?:\[[\s\S]*?\][^>]*)?>'. On input such as '<!a[' followed by many ']' bytes and no terminating '>', the lazy '[\s\S]*?\]' advances to each ']' in turn while the trailing '[^>]*' rescans the remainder of the buffer before failing, giving O(n^2) behaviour (CWE-1333, inefficient regular expression complexity). The reporter's measurements on Node 22 show roughly 7 ms at 2.5 KB growing to over 1,800 ms at 40 KB - a 4x cost per doubling - while the same bytes with a closing '>' parse in under a millisecond; the other prolog constructs (processing instructions, comments, CDATA, root attributes, whitespace) remain linear. Both the synchronous path (lib/parse_sync/svg.js) and the stream/URL path (lib/parse_stream/svg.js) cap input at MAX_DATA_LENGTH = 10240, which plateaus the per-call cost near 120-130 ms and prevents a single request from hanging the process. The stream parser does not amplify cost when a '>' arrives early, because a '>' immediately after the first ']' terminates the doctype. The upstream fix (commit ca291344) discards the regex approach entirely and replaces it with an explicit byte-oriented state machine (S_TOP, S_PI, S_COMMENT, S_DOCTYPE, S_SUBSET, S_DECL, S_TAG etc.), which keeps parsing linear on malformed input; the advisory also suggests a minimal regex change to '(?:\[[^\]]*\][^>]*)?' or an indexOf-based scan.
Know when Probe Image Size 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:L/SC:N/SI:N/SA:N
Remote, low-complexity, unauthenticated ReDoS with no confidentiality or integrity effect; availability is LOW because the 10 KiB cap bounds each stall to ~120 ms rather than a full hang.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
probe-image-size 7.4.0 contains a regular expression denial of service vulnerability in lib/common/svg_header.js that allows remote unauthenticated attackers to block the event loop via crafted SVG doctypes. Attackers can supply SVGs with an unclosed internal subset followed by many ']' characters to trigger quadratic backtracking in probe.sync, probe(stream) or probe(url), causing repeated event loop stalls.
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.
More in Probe Image Size
View allAlgorithmic-complexity denial of service in the npm package probe-image-size 7.4.0 and earlier lets remote, unauthentica
Denial of service in probe-image-size before 7.4.0 lets remote, unauthenticated attackers pin a Node.js process at full
Memory exhaustion in the npm package probe-image-size (versions up to and including 7.4.0) lets remote attackers keep th
Memory exhaustion in probe-image-size through 7.4.0 affects the stream and URL parsing paths: a remote, unauthenticated
EUVD-2026-131895
GHSA-pf2v-9x76-xgx8
NVD
CVE.org
EPSS
Exploit-DB