probe-image-size: Quadratic-time Denial of Service in the SVG Parser
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nodeca | probe-image-size | before 7.4.0 | 7.4.0 | Patch available | CNA |
| — | probe-image-size (npm) | before 7.4.0 | 7.4.0 | Patch available | GHSA-gjj5-9665-rwrc |
- probe-image-size Vendornodeca Affected before 7.4.0 Fixed in 7.4.0 Patch available CNA
- probe-image-size (npm) Vendor— Affected before 7.4.0 Fixed in 7.4.0 Patch available GHSA-gjj5-9665-rwrc
Remediation
- Fix · CNA probe-image-size (nodeca) Fixed in 7.4.0
- Fix · GHSA-gjj5-9665-rwrc probe-image-size (npm) Fixed in 7.4.0 Advisory →
Red Hat 4 advisories
- RHSA-2026:92136 Released 2026-10-28 · Red Hat rating ImportantA Subscription Management tool for finding and reporting Red Hat product usage
- Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9
- RHSA-2026:91967 Released 2026-10-28 · Red Hat rating ImportantA Subscription Management tool for finding and reporting Red Hat product usage
- Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9
- RHSA-2026:86891 Released 2026-10-21 · Red Hat rating CriticalRHOAI 3.5.2 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-cli-rhel9 +47
Show 1 more Red Hat advisories
- RHSA-2026:84734 Released 2026-10-19 · Red Hat rating CriticalRHOAI 3.4.5 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-ai-gateway-payload-processing-rhel9, registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-autorag-rhel9 +47
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Discovery 2 | Fixed | RHSA-2026:91967, RHSA-2026:92136 |
| Red Hat OpenShift AI 3.4 | Fixed | RHSA-2026:84734 |
| Red Hat OpenShift AI 3.5 | Fixed | RHSA-2026:86891 |
Not affected: 3 products
- Red Hat Discovery 2
- Red Hat OpenShift AI 3.4
- Red Hat OpenShift AI 3.5
Timeline
- 2026-10-02 Threatist record created from CVE-2026-104861
- 2026-10-03 Alias added: GHSA-gjj5-9665-rwrc
- 2026-10-20 Fix available: RHSA-2026:84734 · Red Hat
- 2026-10-20 Fix available: Red Hat OpenShift AI 3.4 · Red Hat
- 2026-10-22 Fix available: RHSA-2026:86891 · Red Hat
- 2026-10-22 Fix available: Red Hat OpenShift AI 3.5 · Red Hat
- 2026-10-30 Fix available: RHSA-2026:91967 · Red Hat
- 2026-10-30 Fix available: RHSA-2026:92136 · Red Hat
- 2026-10-30 Fix available: Red Hat Discovery 2 · Red Hat
References
Other 6
- https://github.com/nodeca/probe-image-size/security/advisories/GHSA-gjj5-9665-rwrc
- https://github.com/nodeca/probe-image-size/commit/60cc96ac0b671e79e328213d0a8e831312b09e84
- https://github.com/nodeca/probe-image-size/commit/9b74656d6f973cc59ea2ab1375c0d88390a402ad
- https://github.com/nodeca/probe-image-size/commit/c032aefabdecf5cb50548ab9ba175db56353078f
- https://github.com/nodeca/probe-image-size/releases/tag/7.4.0
- https://github.com/nodeca/probe-image-size
More nodeca vulnerabilities
- TI-2026-51727 js-yaml: Exponential parsing time in the flow collections leads to denial of service CVSS 3.1HIGH 7.5
- TI-2026-42685 js-yaml quadratic-complexity denial of service via YAML11_SCHEMA !!omap parsing CVSS 3.1HIGH 7.5
- TI-2026-42684 js-yaml: YAML merge-key chains can force quadratic CPU consumption CVSS 3.1HIGH 7.5
- TI-2026-42683 js-yaml: YAML merge-key chains can force quadratic CPU consumption CVSS 3.1HIGH 7.5
- TI-2013-04085 The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the… CVSS 2.0MEDIUM 6.8
- TI-2026-57986 js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources CVSS 3.1HIGH 7.5
Sources
- CVE-2026-104861 · CVE Program
- CVE-2026-104861 · NVD
- FIRST EPSS
- GHSA-gjj5-9665-rwrc · GitHub Advisory Database · CC BY 4.0
- CVE-2026-104861 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences