AploSec / Disclosures / CVE-2026-134163

Medium 6.9ReportedFixed in 7.5.0CWE-1333npm

probe-image-size 7.4.0 ReDoS via SVG Doctype Prolog Parser

CVE-2026-134163 · published 2026-11-20

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). A fixed release is listed.

Summary

CVE-2026-134163 affects probe-image-size (npm) 7.4.0 before 7.5.0: a crafted SVG doctype prolog triggers catastrophic regex backtracking in svg_header.js and blocks the event loop (CWE-1333). Fixed in 7.5.0. CVSS 4.0 base score 6.9 (Medium), assigned by VulnCheck. Published 2026-11-20 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade probe-image-size to 7.5.0 or later. Releases in the affected range (7.4.0 before 7.5.0) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-11-20 CVE published

References

Severity
Medium 6.9CVSS 4.0, scored by VulnCheck in the CVE record
Package
probe-image-size
Ecosystem
npm
Affected
7.4.0 before 7.5.0
Fixed
7.5.0
Weakness
CWE-1333
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder