
CVE catalog
CVE-2024-52798
node-path-to-regexp: CVE-2024-52798
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.79% · Oct 25, 2026
path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. The regular expression that is vulnerable to backtracking can be generated in the 0.1.x release of path-to-regexp. Upgrade to 0.1.12. This vulnerability exists because of an incomplete fix for CVE-2024-45296.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-path-to-regexp | sid | 8.4.2-1 | not affected |
| Debian | node-path-to-regexp | forky | 8.4.2-1 | not affected |
| Debian | node-path-to-regexp | trixie | 6.3.0-1 | not affected |
| Debian | node-path-to-regexp | bookworm | 6.2.1-1 | not affected |
| Npm | path-to-regexp | Not reported | 0.1.12 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-path-to-regexp | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | node-path-to-regexp | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | node-path-to-regexp | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | node-path-to-regexp | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Npm | path-to-regexp | npm | Not reported | 0.1.12 | Not reported | GHSA-RHX6-C78J-4Q9W | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-path-to-regexp]Not affected
Details (2)
6.2.1-1· all · bookwormNot affected
dsa · node-path-to-regexp · debian · bookworm
6.2.1-1· all · bookwormNot affected
dsa · node-path-to-regexp · debian · bookworm
Observed:
References
- [https://osv.dev/vulnerability/GHSA-rhx6-c78j-4q9w]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-52798]
- [https://security-tracker.debian.org/tracker/CVE-2024-52798]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-52798.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0264.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]