{"id":"CVE-2025-5891","aliases":["CVE-2025-5891","GHSA-x5gf-qvw8-r2rm"],"related":[],"kind":"vulnerability","state":"published","title":"Unitech pm2 Config.js redos","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"In Unitech pm2 bis 6.0.6 wurde eine Schwachstelle entdeckt. Sie wurde als problematisch eingestuft. Betroffen ist eine unbekannte Verarbeitung der Datei /lib/tools/Config.js. Durch Beeinflussen mit unbekannten Daten kann eine inefficient regular expression complexity-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk passieren. Der Exploit steht zur öffentlichen Verfügung.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se detectó una vulnerabilidad clasificada como problemática en Unitech pm2 hasta la versión 6.0.6. Esta vulnerabilidad afecta al código desconocido del archivo /lib/tools/Config.js. La manipulación genera una complejidad ineficiente en las expresiones regulares. El ataque puede iniciarse en remoto. Se ha hecho público el exploit y puede que sea utilizado.","source":"nvd"}],"published":"2025-06-09T19:00:16.482Z","modified":"2026-06-17T09:48:57.927Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:T/RC:R","score":4.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:T/RC:R","score":4.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:TF/RC:UR","score":4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-1333"],"affected":[{"ranges":[{"version":"6.0.0","status":"affected"},{"version":"6.0.1","status":"affected"},{"version":"6.0.2","status":"affected"},{"version":"6.0.3","status":"affected"},{"version":"6.0.4","status":"affected"},{"version":"6.0.5","status":"affected"},{"version":"6.0.6","status":"affected"}],"vendor":"Unitech","product":"pm2","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"7.0.0"}],"ecosystem":"npm","package":"pm2","purl":"pkg:npm/pm2","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"6.0.6"}],"vendor":"keymetric","product":"pm2","cpe":"cpe:2.3:a:keymetric:pm2:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.311662","tags":["third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vuldb.com/?ctiid.311662","tags":["permissions-required","signature","vdb-entry","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vuldb.com/?submit.585750","tags":["third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/Unitech/pm2/pull/5971","tags":["exploit","issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/mmmsssttt404/407e2ffe3e0eaa393ad923a86316a385","tags":["exploit","product","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5891","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Unitech/pm2/issues/6075","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Unitech/pm2/commit/8b9354800a1d157cb9503a3ec414ef1e4700dc1c","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Unitech/pm2","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/Unitech/pm2/blob/ba62cae9b9b7116ee758b70f538919a52515fa26/CHANGELOG.md?plain=1#L36","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Unitech/pm2/releases/tag/v7.0.0","tags":["web"],"sources":["ghsa"]}],"credits":["mmmsssttt (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-06-09T19:25:05.586Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-5891","url":"https://www.cve.org/CVERecord?id=CVE-2025-5891","licence":"CVE Terms of Use","modified":"2025-06-09T19:46:05.767Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x5gf-qvw8-r2rm","url":"https://github.com/advisories/GHSA-x5gf-qvw8-r2rm","licence":"CC-BY-4.0","modified":"2026-06-02T05:15:10.006Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-5891","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5891","licence":"Public domain","modified":"2026-06-17T09:48:57.927Z"}],"updatedAt":"2026-11-25T22:58:58.970Z","epss":{"score":0.00698,"percentile":0.5438,"date":"2026-12-02T12:00:21.000Z"}}