CVE-2024-11171 Improper Input Validation in danny-avila/librechat

High 7.5 Published Updated

Unrestricted file upload size in LibreChat causes server crashes via out-of-memory errors, allowing unauthenticated attackers to deny service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-11171?

CVE-2024-11171 is a high-severity denial of service vulnerability in Librechat Librechat, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In danny-avila/librechat version git 0c2a583, there is an improper input validation vulnerability. The application uses multer middleware for handling multipart file uploads. When using in-memory storage (the default setting for multer), there is no limit on the upload file size. This can lead to a server crash due to out-of-memory errors when handling large files. An attacker without any privileges can exploit this vulnerability to cause a complete denial of service. The issue is fixed in version 0.7.6.

Weakness: CWE-770

Which versions are affected by CVE-2024-11171?

It affects 1 product.

Products include Librechat Librechat.

How do I fix CVE-2024-11171?

No fix has been published for CVE-2024-11171 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-2024-11171 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-11171 exists.

All Librechat Librechat vulnerabilities

Sources

Also known as GHSA-c2qr-w9p6-cxgr.

Is CVE-2024-11171 in your software?

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

Check your SBOMs for free