NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-5891: pm2 Regular Expression Denial of Service vulnerability

lowCVSS 4.0 2.1 · 3.1 4.3GHSA-x5gf-qvw8-r2rm

A vulnerability classified as problematic was found in Unitech pm2 prior to 7.0.0. 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 Jun 9, 2025 · Updated May 20, 2026

Affected packages

pm2

Ecosystem
npm
Affected
< 7.0.0
Fixed in
7.0.0
Check
npm ls pm2

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to mhassan1, corridormatt.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology