CVE-2025-5891: Unitech pm2 Config.js redos

Published Jun 9, 2025
·
Updated

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.

Other sources

A vulnerability classified as problematic was found in Unitech pm2 up to 6.0.8. 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.

— GitHub

Affected Software

2 affected components
Keymetric Pm2<=6.0.6
npm/pm2<=6.0.8

Event History

Jun 9, 2025
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·09:30 PM
Data Sourced
via GitHub·09:30 PM
DescriptionSeverityWeaknessAffected Software
May 8, 57496
Event
via FIRST·01:21 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-5891?

CVE-2025-5891 is classified as a problematic vulnerability.

2

How does CVE-2025-5891 affect Unitech pm2?

CVE-2025-5891 affects the regular expression complexity in the /lib/tools/Config.js file of Unitech pm2.

3

Can CVE-2025-5891 be exploited remotely?

Yes, the exploit for CVE-2025-5891 can be initiated remotely.

4

What versions of pm2 are affected by CVE-2025-5891?

CVE-2025-5891 affects Unitech pm2 versions up to and including 6.0.6.

5

What is the best way to mitigate CVE-2025-5891?

The best way to mitigate CVE-2025-5891 is to upgrade to a version of pm2 that is not affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203