Inefficient Regular Expression Complexity in Unitech pm2
CVE-2025-5891

5.3MEDIUM

Key Information:

Vendor

Unitech

Status
Vendor
CVE Published:
9 June 2025

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2025-5891?

A vulnerability has been identified in Unitech's pm2, specifically in the /lib/tools/Config.js file. This vulnerability stems from inefficient regular expression complexity, which could allow an attacker to exploit the system through crafted inputs. The attack can be initiated remotely, posing a risk for users of pm2 version 6.0.6 and earlier. This issue has been disclosed publicly, increasing its potential for exploitation in vulnerable systems.

Affected Version(s)

pm2 6.0.0

pm2 6.0.1

pm2 6.0.2

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

mmmsssttt (VulDB User)
.
CVE-2025-5891 : Inefficient Regular Expression Complexity in Unitech pm2