A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-8849

CVE-2025-8849: LibreChat DoS Vulnerability via Unbounded

CVE-2025-8849 is a Denial of Service vulnerability in LibreChat affecting version 0.7.9. Unbounded parameters in the /api/memories endpoint cause backend crashes. This article covers technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2025-8849 Overview

CVE-2025-8849 is a Denial of Service (DoS) vulnerability in LibreChat version 0.7.9. The /api/memories endpoint accepts unbounded values for the key and value parameters without input validation. Submitting excessively large payloads triggers a null pointer error in the Rust-based backend processing the request. The result is that users cannot create new memories, which degrades the stability of the service. The flaw is tracked under CWE-400: Uncontrolled Resource Consumption.

Critical Impact

Unauthenticated or authenticated attackers can disrupt the memory creation feature of LibreChat by sending oversized payloads, impacting service availability.

Affected Products

  • LibreChat 0.7.9
  • Deployments using the /api/memories endpoint
  • Self-hosted LibreChat instances exposed to untrusted users

Discovery Timeline

  • 2025-10-31 - CVE-2025-8849 published to the National Vulnerability Database (NVD)
  • 2025-11-10 - Last updated in NVD database

Technical Details for CVE-2025-8849

Vulnerability Analysis

The vulnerability resides in the LibreChat memory subsystem exposed at /api/memories. The endpoint accepts JSON requests with key and value fields but applies no size or length validation before passing data to the underlying processing layer. When attackers submit large strings, the Rust-based backend encounters a null pointer condition and fails. This blocks legitimate users from creating or updating memory entries, degrading the chat application's functionality. The issue is classified as a resource consumption flaw because the server processes arbitrary input volumes without limits.

Root Cause

The root cause is missing payload size enforcement and input validation in the memories.js route handler. The Express router did not configure a JSON body size limit, allowing arbitrarily large request bodies to reach downstream code. The Rust component invoked during memory creation does not safely handle these oversized inputs, resulting in a null pointer error.

Attack Vector

An attacker with network access to the LibreChat API can send a crafted HTTP POST request to /api/memories containing extremely large key or value strings. No user interaction is required. The crafted payload causes the backend to fail and prevents subsequent memory creation operations.

javascript
// Security patch in api/server/routes/memories.js
// Adds a 100kb JSON payload limit to the memories router
const router = express.Router();

const memoryPayloadLimit = express.json({ limit: '100kb' });

const checkMemoryRead = generateCheckAccess({
  permissionType: PermissionTypes.MEMORIES,
  permissions: [Permissions.USE, Permissions.READ],

Source: LibreChat GitHub commit edf33be

Detection Methods for CVE-2025-8849

Indicators of Compromise

  • HTTP POST requests to /api/memories with Content-Length values significantly larger than typical user input (for example, exceeding 100KB).
  • Application logs showing null pointer errors or process crashes originating from the Rust memory processing component.
  • User reports indicating inability to create or save new memory entries in LibreChat.

Detection Strategies

  • Inspect web server and reverse proxy logs for repeated large-body requests targeting /api/memories from the same source IP.
  • Monitor LibreChat application error logs for backend exceptions tied to memory creation requests.
  • Correlate spikes in 4xx or 5xx responses on the memories endpoint with abnormally large request bodies.

Monitoring Recommendations

  • Configure web application firewall (WAF) rules to alert when request bodies to /api/memories exceed the expected limit.
  • Track availability metrics for the memory creation feature and alert on sustained failure rates.
  • Forward LibreChat application logs to a centralized logging or SIEM platform for retention and analysis.

How to Mitigate CVE-2025-8849

Immediate Actions Required

  • Upgrade LibreChat beyond version 0.7.9 to a release containing commit edf33be, which enforces payload limits and validation on user-created memories.
  • Place LibreChat behind a reverse proxy or WAF that enforces request body size limits for the /api/memories endpoint.
  • Restrict access to the LibreChat API to trusted networks or authenticated users while patching is in progress.

Patch Information

The fix is delivered in LibreChat commit edf33bedcbb08c33e59df76f06454ed7efd896f9 titled "feat: Payload limits and Validation for User-created Memories (#8974)." The patch adds an express.json({ limit: '100kb' }) middleware to the memories router and reorganizes the loadMemoryConfig import in AppService.js. Additional details are available in the Huntr bounty report.

Workarounds

  • Enforce a request body size limit at the reverse proxy layer (for example, client_max_body_size 100k; in NGINX) for the memories endpoint.
  • Temporarily disable the memory feature in LibreChat configuration if patching cannot be performed immediately.
  • Apply rate limiting to the /api/memories route to reduce the impact of repeated abusive requests.
bash
# Example NGINX configuration to cap request body size for the memories endpoint
location /api/memories {
    client_max_body_size 100k;
    proxy_pass http://librechat_backend;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLibrechat

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Vendor Resources
  • GitHub Commit Details

  • Huntr Bounty Report
  • Related CVEs
  • CVE-2026-31949: LibreChat DoS Vulnerability

  • CVE-2025-7105: LibreChat Fork Function DoS Vulnerability

  • CVE-2026-34371: LibreChat Path Traversal Vulnerability

  • CVE-2026-31943: LibreChat SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English