CVE-2025-8849CWE-400denial-of-service

CVE-2025-8849

High · published October 31, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
27.1
In the wild
Unconfirmed
What it is

⚠️ Huge amounts of data can bring LibreChat to its knees! An unchecked parameter in the `/api/memories` endpoint allows for massive inputs, leading to a frustrating service outage. 🔥 Think of it like a restaurant where customers can order an unlimited number of appetizers without any limits, causing the kitchen to get overwhelmed and unable to serve anyone else. Without limits on these inputs, LibreChat's service can crash, much like a kitchen on a busy night! This Denial of Service (DoS) vulnerability means that if someone submits excessively large values, the system can throw a null pointer error, making it impossible to create new memories. Users could find themselves unable to access vital features, impacting overall service stability and functionality.

Put simply

Think of it like a restaurant where customers can order an unlimited number of appetizers without any limits, causing the kitchen to get overwhelmed and unable to serve anyone else. Without limits on these inputs, LibreChat's service can crash, much like a kitchen on a busy night! The vulnerability in LibreChat version 0.7.9 stems from unbounded parameter values in the `/api/memories` endpoint, allowing arbitrary large inputs for the `key` and `value` parameters without proper validation, resulting in a null pointer error in the Rust backend.

What to do

This Denial of Service (DoS) vulnerability means that if someone submits excessively large values, the system can throw a null pointer error, making it impossible to create new memories. Users could find themselves unable to access vital features, impacting overall service stability and functionality. To protect against this, limit the size of the `key` and `value` parameters to reasonable bounds and validate input lengths before processing. Additionally, consider updating to the latest version of LibreChat to ensure you have the most secure build available. You've got this! By implementing these changes, you can safeguard your service and keep those memories flowing smoothly. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00347 · 27.1th percentile
Weakness
CWE-400 · Uncontrolled Resource Consumption
Published
2025-10-31T04:15Z
Affected products (1)
ProductVersionsFixed in
librechat/librechatall versions—
References (2)
EPSS history
Timeline
  • 30 OCT 23:42Z
    Denial of Service in danny-avila/librechat
    cvelistv5