← News

Gunicorn: denial of service via memory exhaustion

HighAI-generated2026-11-23

CVE
CVE-2026-134821
Severity
High (CVSS 7.5)
Attack conditions
Remotely, over the network · No account needed · No user action needed
Exploitation probability (EPSS)
0.7% (within 30 days; FIRST EPSS, 27 November 2026)

Summary

Gunicorn versions prior to 27.0.0 can be forced to consume excessive memory and CPU, leading to denial of service.

Details

According to the NVD record, Gunicorn 25.2.0 and earlier versions contain a memory exhaustion flaw in the pure-Python ASGI HTTP/1 parser. The parser buffers protocol lines without size limits.

An unauthenticated remote attacker can send specially crafted request lines, headers, or chunk-size lines that lack proper termination, causing the worker process to use large amounts of memory and CPU. This can crash the service and deny legitimate users access.

What to do

Upgrade to version 27.0.0 or later.

Sources

Timeline

  • 22 November 2026 NVD record published
  • 23 November 2026 This article was written