medium6.9
CVE-2026-134163
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 t…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of outages.
Affected products · Nodeca
| Product | Affected versions |
|---|---|
| Probe-image-size | from 7.4.0 before 7.5.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/nodeca/probe-image-size/security/advisories/GHSA-5jh3-w3fj-6758
- https://github.com/nodeca/probe-image-size/commit/ca291344edea53df47432ca8dbd25e66b8ea8600
- https://github.com/nodeca/probe-image-size/blob/64565c3c8b4b69655426cdfce250e6a93455c9da/lib/common/svg_header.js#L30
- https://www.npmjs.com/package/probe-image-size/v/7.5.0
- https://www.vulncheck.com/advisories/probe-image-size-7.4.0-redos-via-svg-doctype-prolog-parser
- https://github.com/advisories/GHSA-pf2v-9x76-xgx8
- https://nvd.nist.gov/vuln/detail/CVE-2026-134163