ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-4926

Details

Impact: A bad regular expression is generated any time you have multiple sequential optional groups (curly brace syntax), such as {a}{b}{c}:z. The generated regex grows exponentially with the number of groups, causing denial of service. Patches: Fixed in version 8.4.0. Workarounds: Limit the number of sequential optional groups in route patterns. Avoid passing user-controlled input as route patterns.

Affected packages

EcosystemPackageAffected versions
Debian:12node-path-to-regexp
All versions, no fix listed
Debian:13node-path-to-regexp
All versions, no fix listed
Debian:14node-path-to-regexp
All versions before 8.4.0-1 (fixed in 8.4.0-1)

References