CVE-2025-7105 Denial of Service via JavaScript Memory Overflow in danny-avila/librechat
Attackers can cause denial of service in LibreChat by rapidly forking conversations containing large Mermaid graphs, triggering memory overflow.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-7105?
CVE-2025-7105 is a medium-severity denial of service vulnerability in danny-avila/librechat, published on 2 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A vulnerability in danny-avila/librechat allows attackers to exploit the unrestricted Fork Function in `/api/convos/fork` to fork numerous contents rapidly. If the forked content includes a Mermaid graph with a large number of nodes, it can lead to a JavaScript heap out of memory error upon service restart, causing a denial of service. This issue affects the latest version of the product.
Weakness: CWE-400
Which versions are affected by CVE-2025-7105?
How do I fix CVE-2025-7105?
No fix has been published for CVE-2025-7105 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-7105 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7105 exists.
Sources
Also known as GHSA-crqj-2v3f-c8g9.