CVE-2026-104861

Source
https://cve.org/CVERecord?id=CVE-2026-104861
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-104861.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-104861
Aliases
Downstream
Published
2026-10-02T17:56:15Z
Modified
2026-10-04T02:46:04Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
probe-image-size: Quadratic-time Denial of Service in the SVG Parser
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-1333",
        "CWE-400"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104861.json"
}
References

Affected packages

Git / github.com/nodeca/probe-image-size

Affected ranges

Type
GIT
Repo
https://github.com/nodeca/probe-image-size
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "7.4.0"
        }
    ],
    "source":  [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.1.0
1.2.0
1.2.1
2.*
2.0.0
2.0.1
2.1.0
2.1.1
2.2.0
3.*
3.0.0
3.1.0
3.2.0
4.*
4.0.0
4.0.1
4.1.0
4.1.1
5.*
5.0.0
7.*
7.0.0
7.0.1
7.1.0
7.1.1
7.2.0
7.2.1
7.2.2
7.2.3
7.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-104861.json"