CVE-2025-5891
LOW 2.1CVSS 4.0pm2 Regular Expression Denial of Service vulnerability
A vulnerability classified as problematic was found in Unitech pm2 up to 6.0.6. This vulnerability affects unknown code of the file /lib/tools/Config.js. The manipulation leads to inefficient regular expression complexity. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
- Published
- 9 Jun 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Analyzed
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-x5gf-qvw8-r2rm
- Sources
- NVDJSONOSV GHSA-x5gf-qvw8-r2rmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | LOW 2.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | keymetric | pm2cpe:2.3:a:keymetric:pm2:*:*:*:*:*:*:*:* |
<= 6.0.6 | |
| OSV | npm | pm2 | < 7.0.0 | 7.0.0 |
References
- https://gist.github.com/mmmsssttt404/407e2ffe3e0eaa393ad923a86316a385 · Product, WEB
- https://github.com/Unitech/pm2/pull/5971 · Exploit, Issue Tracking, Patch, WEB
- https://vuldb.com/?ctiid.311662 · Permissions Required, VDB Entry, WEB
- https://vuldb.com/?id.311662 · Third Party Advisory, VDB Entry, WEB
- https://vuldb.com/?submit.585750 · Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-5891 · ADVISORY
- https://github.com/Unitech/pm2/issues/6075 · WEB
- https://github.com/Unitech/pm2/commit/8b9354800a1d157cb9503a3ec414ef1e4700dc1c · WEB
- https://github.com/Unitech/pm2 · PACKAGE
- https://github.com/Unitech/pm2/blob/ba62cae9b9b7116ee758b70f538919a52515fa26/CHANGELOG.md?plain=1#L36 · WEB
- https://github.com/Unitech/pm2/releases/tag/v7.0.0 · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 9 Jun 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Jun 2025)