CVE-2026-134163
probe-image-size 7.4.0 ReDoS via SVG Doctype Prolog Parser
Medium · 6.9Fix available
- CVSS
- 6.9
- EPSS
- 0.67% (p47)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-23
- Product
- nodeca probe-image-size
- Aliases
- GHSA-5jh3-w3fj-6758
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
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.
Fixed in
7.5.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | probe-image-size | >=7.4.0, <7.5.0 | 7.5.0 |
Sources
- NVD · first seen 10d ago · NVD terms of use
- OSV · first seen 10d ago · CC-BY 4.0
- CVE List · first seen 10d ago · CVE Terms of Use
References
- https://github.com/nodeca/probe-image-size/security/advisories/GHSA-5jh3-w3fj-6758 vendor-advisory
- https://github.com/nodeca/probe-image-size/commit/ca291344edea53df47432ca8dbd25e66b8ea8600 patch
- https://github.com/nodeca/probe-image-size/blob/64565c3c8b4b69655426cdfce250e6a93455c9da/lib/common/svg_header.js#L30 technical-description
- https://www.npmjs.com/package/probe-image-size/v/7.5.0 product
- https://www.vulncheck.com/advisories/probe-image-size-7.4.0-redos-via-svg-doctype-prolog-parser third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134163.json advisory
- https://github.com/nodeca/probe-image-size package
- https://nvd.nist.gov/vuln/detail/CVE-2026-134163 advisory