{"id":"CVE-2026-104861","published":"2026-10-02T17:56:15Z","modified":"2026-10-02T18:20:12Z","title":"probe-image-size: Quadratic-time Denial of Service in the SVG Parser","vendor":"nodeca","product":"probe-image-size","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0063,"percentile":0.44611,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/nodeca/probe-image-size/security/advisories/GHSA-gjj5-9665-rwrc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nodeca/probe-image-size/commit/60cc96ac0b671e79e328213d0a8e831312b09e84","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodeca/probe-image-size/commit/9b74656d6f973cc59ea2ab1375c0d88390a402ad","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodeca/probe-image-size/commit/c032aefabdecf5cb50548ab9ba175db56353078f","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodeca/probe-image-size/releases/tag/7.4.0","tags":["x_refsource_MISC"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.92},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"nodeca","affectedVersions":[{"vendor":"nodeca","product":"probe-image-size","versions":["< 7.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-02T18:19:55.305774Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"probe-image-size","vulnerableRanges":["<7.4.0"],"patched":["7.4.0"],"from":["GHSA-gjj5-9665-rwrc"],"provenance":"source"}],"summary":{"text":"The probe-image-size library (nodeca) has a quadratic-time denial-of-service flaw in its SVG parsers, lib/parse_sync/svg.js and lib/parse_stream/svg.js, caused by a regular expression that repeatedly rescans input containing many less-than characters without a closing greater-than character. An attacker who can supply image data to the probe.sync(), probe(stream), or probe(url) entry points, with no authentication or user interaction required over the network, can block the Node.js event loop at full CPU, and in the streaming parser can amplify the cost by controlling how data is chunked.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:42Z"},"euvd":{"id":"EUVD-2026-91768","exploited":false,"provenance":"source"}}