Description
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.
Metrics
CVSS 3.1 5.3/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| nodeca | probe-image-size | >= 7.4.0, < 7.5.0 |
References
- https://github.com/nodeca/probe-image-size/blob/64565c3c8b4b69655426cdfce250e6a93455c9da/lib/common/svg_header.js#L30
- https://github.com/nodeca/probe-image-size/commit/ca291344edea53df47432ca8dbd25e66b8ea8600
- https://github.com/nodeca/probe-image-size/security/advisories/GHSA-5jh3-w3fj-6758
- 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/nodeca/probe-image-size/security/advisories/GHSA-5jh3-w3fj-6758
Timeline
- Published
- Nov 20, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Received