CVE-2025-8849 Denial of Service in danny-avila/librechat
Attackers can cause a denial of service in LibreChat by submitting excessively large parameters to the memories endpoint, crashing the backend service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-8849?
CVE-2025-8849 is a medium-severity denial of service vulnerability in Librechat Librechat, published on 30 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
LibreChat version 0.7.9 is vulnerable to a Denial of Service (DoS) attack due to unbounded parameter values in the `/api/memories` endpoint. The `key` and `value` parameters accept arbitrarily large inputs without proper validation, leading to a null pointer error in the Rust-based backend when excessively large values are submitted. This results in the inability to create new memories, impacting the stability of the service.
Weakness: CWE-400
Which versions are affected by CVE-2025-8849?
It affects 1 product.
Products include Librechat Librechat.
How do I fix CVE-2025-8849?
No fix has been published for CVE-2025-8849 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-8849 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8849 exists.
Other vulnerabilities in Librechat Librechat
- CVE-2026-32625 LibreChat Exfiltrates Server Secrets via MCP Server URL Injection
- CVE-2024-11167 Improper Access Control in danny-avila/librechat
- CVE-2026-22252 LibreChat MCP Stdio Remote Command Execution
- CVE-2025-69222 LibreChat is vulnerable to Server-Side Request Forgery due to missing restrictions
- CVE-2024-41704 Path traversal in n/a
Sources
Also known as GHSA-2q3x-64cr-5mp5.