{"id":"GHSA-x5gf-qvw8-r2rm","summary":"pm2 Regular Expression Denial of Service vulnerability","details":"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.","aliases":["CVE-2025-5891"],"modified":"2026-06-02T05:15:10.006857147Z","published":"2025-06-09T21:30:51Z","database_specific":{"github_reviewed_at":"2025-06-10T22:52:17Z","nvd_published_at":"2025-06-09T19:15:25Z","cwe_ids":["CWE-1333","CWE-400"],"severity":"LOW","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5891"},{"type":"WEB","url":"https://github.com/Unitech/pm2/issues/6075"},{"type":"WEB","url":"https://github.com/Unitech/pm2/pull/5971"},{"type":"WEB","url":"https://github.com/Unitech/pm2/commit/8b9354800a1d157cb9503a3ec414ef1e4700dc1c"},{"type":"WEB","url":"https://gist.github.com/mmmsssttt404/407e2ffe3e0eaa393ad923a86316a385"},{"type":"PACKAGE","url":"https://github.com/Unitech/pm2"},{"type":"WEB","url":"https://github.com/Unitech/pm2/blob/ba62cae9b9b7116ee758b70f538919a52515fa26/CHANGELOG.md?plain=1#L36"},{"type":"WEB","url":"https://github.com/Unitech/pm2/releases/tag/v7.0.0"},{"type":"WEB","url":"https://vuldb.com/?ctiid.311662"},{"type":"WEB","url":"https://vuldb.com/?id.311662"},{"type":"WEB","url":"https://vuldb.com/?submit.585750"}],"affected":[{"package":{"name":"pm2","ecosystem":"npm","purl":"pkg:npm/pm2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-x5gf-qvw8-r2rm/GHSA-x5gf-qvw8-r2rm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"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"}]}