Description
The `'path'` module in the Node.js 4.x release line contains a potential regular expression denial of service (ReDoS) vector. The code in question was replaced in Node.js 6.x and later so this vulnerability only impacts all versions of Node.js 4.x. The regular expression, `splitPathRe`, used within the `'path'` module for the various path parsing functions, including `path.dirname()`, `path.extname()` and `path.parse()` was structured in such a way as to allow an attacker to craft a string, that when passed through one of these functions, could take a significant amount of time to evaluate, potentially leading to a full denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The Node.js Project | Node.js | 4.x | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nodejs | 6.0.0~dfsg-1 | — |
| Debian 13 | nodejs | 6.0.0~dfsg-1 | — |
| Debian 12 | nodejs | 6.0.0~dfsg-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | nodejs | No fix yet | — |
| Ubuntu Pro 14.04 LTS | nodejs | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | nodejs4 | 4.9.1-15.11.1 | SUSE-SU-2018:0952-1 |
| SLES 12 | nodejs6 | 6.14.1-11.12.1 | SUSE-SU-2018:1183-1 |
| SLES 11 SP4 | MozillaFirefox | 68.2.0-78.51.4 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | MozillaFirefox-branding-SLED | 68-21.9.8 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-atk | 2.26.1-2.8.4 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-cairo | 1.15.10-2.13.4 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-gdk-pixbuf | 2.36.11-2.8.4 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-glib2 | 2.54.3-2.14.7 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-gtk3 | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-harfbuzz | 1.7.5-2.7.4 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-libffi | 3.2.1.git259-2.3.3 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-libffi-gcc5 | 5.3.1+r233831-14.1 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-pango | 1.40.14-2.7.4 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | mozilla-nspr | 4.21-29.6.1 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | mozilla-nss | 3.45-38.9.3 | SUSE-SU-2019:14246-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE OpenStack Cloud 7 | nodejs6 | 6.14.1-11.12.1 | SUSE-SU-2018:1183-1 |
| SUSE Enterprise Storage 4 | nodejs4 | 4.9.1-15.11.1 | SUSE-SU-2018:0952-1 |
| SUSE Enterprise Storage 4 | nodejs6 | 6.14.1-11.12.1 | SUSE-SU-2018:1183-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | nodejs | 8.11.0-r0 | — |
| Alpine v3.24 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.23 | nodejs | 8.11.0-r0 | — |
| Alpine v3.23 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.22 | nodejs | 8.11.0-r0 | — |
| Alpine v3.22 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.21 | nodejs | 8.11.0-r0 | — |
| Alpine v3.21 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.20 | nodejs | 8.11.0-r0 | — |
| Alpine v3.20 | nodejs-current | 9.10.0-r0 | — |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | nodejs | 8.11.0-r0 | — |
| Alpine v3.19 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.18 | nodejs | 8.11.0-r0 | — |
| Alpine v3.18 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.17 | nodejs | 8.11.0-r0 | — |
| Alpine v3.17 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.16 | nodejs | 8.11.0-r0 | — |
| Alpine v3.16 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.15 | nodejs | 8.11.0-r0 | — |
| Alpine v3.15 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.14 | nodejs | 8.11.0-r0 | — |
| Alpine v3.14 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.13 | nodejs | 8.11.0-r0 | — |
| Alpine v3.13 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.12 | nodejs | 8.11.0-r0 | — |
| Alpine v3.12 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.11 | nodejs | 8.11.0-r0 | — |
| Alpine v3.11 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.10 | nodejs | 8.11.0-r0 | — |
| Alpine v3.10 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.9 | nodejs | 8.11.0-r0 | — |
| Alpine v3.9 | nodejs-current | 9.10.0-r0 | — |
| Alpine v3.8 | nodejs | 8.11.0-r0 | — |
| Alpine v3.8 | nodejs-current | 9.10.0-r0 | — |
Advisories 3
- SUSE-SU-2018:0952-1 Security update for nodejs4 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:1183-1 Security update for nodejs6 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:14246-1 Security update for Mozilla Firefox SUSE / openSUSE Security Updates · Feb 4, 2026