CVE-2025-8849 Denial of Service in danny-avila/librechat

Medium 5.4 Published Updated

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.

All Librechat Librechat vulnerabilities

Sources

Also known as GHSA-2q3x-64cr-5mp5.

Is CVE-2025-8849 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free