{"id":"CVE-2025-5891","summary":"Unitech pm2 Config.js redos","details":"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.","aliases":["GHSA-x5gf-qvw8-r2rm"],"modified":"2026-08-12T03:51:48.425379696Z","published":"2025-06-09T19:00:16.482Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-1333","CWE-400"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5891.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"6.0.0"},{"last_affected":"6.0.0"},{"introduced":"6.0.1"},{"last_affected":"6.0.1"},{"introduced":"6.0.2"},{"last_affected":"6.0.2"},{"introduced":"6.0.3"},{"last_affected":"6.0.3"},{"introduced":"6.0.4"},{"last_affected":"6.0.4"}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5891.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5891"},{"type":"ADVISORY","url":"https://vuldb.com/?id.311662"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.585750"},{"type":"REPORT","url":"https://github.com/Unitech/pm2/pull/5971"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.311662"},{"type":"EVIDENCE","url":"https://gist.github.com/mmmsssttt404/407e2ffe3e0eaa393ad923a86316a385"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/unitech/pm2","events":[{"introduced":"e88553986d7af15a4ce9307b3bc743e95f2655dd"},{"last_affected":"e71120a5172e87f509563f2542942458b115783a"}],"database_specific":{"extracted_events":[{"introduced":"6.0.5"},{"last_affected":"6.0.5"},{"introduced":"6.0.6"},{"last_affected":"6.0.6"},{"introduced":"0"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:keymetric:pm2:*:*:*:*:*:*:*:*"}}],"versions":["6.0.5","6.0.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5891.json"}}],"schema_version":"1.9.0","severity":[{"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"}]}