Denial of Service in danny-avila/librechat
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-8849
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 19:56 UTC · Revision 1
Source evidence
Denial of Service in danny-avila/librechat
core-osv · Original sourcePublished 30 Oct 2025, 23:42 UTC
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.
osv:CVE-2025-8849
Complete source record
{
"id": "5112b5e3e92a26cb581ea5963345bcae07f23989b321fa5b95c96b3bd1347fed",
"url": "https://osv.dev/vulnerability/CVE-2025-8849",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Denial of Service in danny-avila/librechat",
"summary": "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.",
"evidence": "osv:CVE-2025-8849",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-8849",
"aliases": [
"CVE-2025-8849"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/LibreChat-AI/LibreChat",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "007570b5c61e0049c177a7bec44196d310a21b4b"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "v0.8.0-rc2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "SplitRange"
},
{
"range": [
{
"fixed": "edf33bedcbb08c33e59df76f06454ed7efd896f9"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.7.9-NA",
"v0.8.0-rc1",
"v0.7.9",
"librechat-1.8.9",
"v0.7.9-rc1",
"v0.7.8",
"v0.7.8-rc1",
"v0.7.7",
"v0.7.7-rc1",
"v0.7.6",
"v0.7.6-rc1",
"v0.7.5",
"v0.7.5-rc2",
"v0.7.5-rc1",
"v0.7.4",
"v0.7.4-rc1",
"v0.7.3",
"v0.7.3-rc2",
"v0.7.3-rc",
"v0.7.2",
"v0.7.1",
"v0.7.0",
"v0.6.10",
"v0.6.9",
"v0.6.6",
"v0.6.5",
"v0.6.1",
"v0.6.0",
"v0.5.9",
"v0.5.8",
"v0.5.7",
"v0.5.6",
"v0.5.5",
"v0.5.4",
"v0.5.3",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.4.8",
"v0.4.7",
"v0.4.6",
"v0.4.5",
"v0.4.4",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.3",
"v0.3.0",
"v0.2.0",
"v0.1.1",
"v0.1.0",
"v0.0.6",
"v0.0.3",
"v0.0.2",
"v0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-8849.json"
}
}
],
"modified": "2026-10-28T02:30:51.487007352Z",
"provider": "osv",
"references": [
"https://huntr.com/bounties/e9d9404c-cd19-4226-a580-9cba14b7d7d6",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8849.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-8849",
"https://github.com/danny-avila/librechat/commit/edf33bedcbb08c33e59df76f06454ed7efd896f9"
],
"provider_metadata": {
"cwe_ids": [
"CWE-400"
],
"cna_assigner": "@huntr_ai",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8849.json"
}
},
"related_cves": [
{
"value": "CVE-2025-8849",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520271,
"published_at": "2025-10-30T23:42:41.552+00:00"
}