Skip to main content
CVE-2025-5892VulnerabilityPublished

CVE-2025-5892: RocketChat · ReDoS

Affects RocketChatSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
GitHubrocketchat/Rocket.Chatpkg:github/rocketchat/Rocket.ChatOther threatsAffected
  • =7.6.0
  • =7.6.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Immediate mitigation should include restricting external access to RocketChat servers, ideally placing them behind VPNs or firewalls to limit exposure to untrusted networks. 2. Monitor server performance and logs for unusual CPU spikes or repeated failed message parsing attempts that could indicate exploitation attempts. 3. Apply rate limiting on incoming messages or connections to reduce the impact of potential DoS attacks exploiting the regex inefficiency. 4. Engage with RocketChat vendor or community to obtain patches or updates addressing this vulnerability; prioritize upgrading to versions beyond 7.6.1 once available. 5. If patching is delayed, consider implementing input validation or sanitization on the 'line' argument before it reaches the vulnerable regex function, potentially by customizing the server code or using middleware. 6. Conduct regular security assessments and penetration testing focused on messaging platforms to detect similar vulnerabilities proactively. 7. Educate IT and security teams about this vulnerability to ensure rapid response if exploitation signs appear.

Description

A vulnerability, which was classified as problematic, has been found in RocketChat up to 7.6.1. This issue affects the function parseMessage of the file /apps/meteor/app/irc/server/servers/RFC2813/parseMessage.js. The manipulation of the argument line leads to inefficient regular expression complexity. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

References

Community reviews

Loading reviews…