Red Hat VEX
RHVEX-CVE-2026-4926
path-to-regexp: path-to-regexp: Denial of Service via crafted regular expressions
Details
A flaw was found in path-to-regexp. A remote attacker could exploit this vulnerability by providing specially crafted input that generates a regular expression with multiple sequential optional groups. This leads to an exponential growth in the generated regular expression, causing a Denial of Service (DoS) due to excessive resource consumption.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:9 | gjs | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | gjs-devel | All versions, no fix yet |