CVE-2024-8984 Denial of Service (DoS) in berriai/litellm
Unauthenticated attackers can cause denial of service in LiteLLM by sending HTTP requests with malformed multipart boundaries, exhausting server resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-8984?
CVE-2024-8984 is a high-severity denial of service vulnerability in berriai/litellm, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A Denial of Service (DoS) vulnerability exists in berriai/litellm version v1.44.5. This vulnerability can be exploited by appending characters, such as dashes (-), to the end of a multipart boundary in an HTTP request. The server continuously processes each character, leading to excessive resource consumption and rendering the service unavailable. The issue is unauthenticated and does not require any user interaction, impacting all users of the service.
Weakness: CWE-770
Which versions are affected by CVE-2024-8984?
3 open source packages ship an affected version, including litellm. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
litellm PyPI | All versions | 1.56.2 |
litellm PyPI | All versions | 1.56.2 |
litellm PyPI | All versions | 1.56.2 |
Products include Litellm Litellm.
How do I fix CVE-2024-8984?
Upgrade litellm to 1.56.2 or later.
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-8984 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8984 exists.
Other vulnerabilities in berriai/litellm
Sources
Also known as GHSA-fh2c-86xm-pm2x, PYSEC-2026-1545.