Resource exhaustion in Keymetric Pm2
CVE-2025-5891
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.007, 53.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Keymetric Pm2
- Unitech Pm2 — versions 6.0.0, 6.0.1, 6.0.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (cniebla/aws-bootstrap). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-311662 | Unitech pm2 Config.js redos (Third Party Advisory, VDB Entry, vdb-entry)
- VDB-311662 | CTI Indicators (IOB, IOC, TTP, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #585750 | pm2 6.0.6 Inefficient Regular Expression Complexity (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/Unitech/pm2/pull/5971 (issue-tracking, Exploit, Patch, Issue Tracking)
- gist.github.com/mmmsssttt404/407e2ffe3e0eaa393ad923a86316a385 (Product, exploit)