Skip to content
OpenAdvisories
High USN-9312-1 3 CVEs

gunicorn vulnerabilities

Published Dec 1, 2026 · Updated Dec 2, 2026

Summary

It was discovered that Gunicorn did not properly handle requests with
multiple conflicting Transfer-Encoding headers. A remote attacker could
possibly use this issue to perform HTTP request smuggling attacks. This
issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS. (CVE-2024-1135)

It was discovered that Gunicorn did not properly validate the value of the
Transfer-Encoding header, falling back to the Content-Length header
instead. A remote attacker could possibly use this issue to perform HTTP
request smuggling attacks. This issue only affected Ubuntu 14.04 LTS,
Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and
Ubuntu 24.04 LTS. (CVE-2024-6827)

It was discovered that the ASGI HTTP parser in Gunicorn did not limit the
size of certain protocol lines. A remote attacker could possibly use this
issue to cause Gunicorn to use excessive resources, leading to a denial of
service. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-134821)

Fixed packages 7

ReleasePackageFixed in
Ubuntu · Pro 14.04 LTS Pro:14.04:LTS gunicorn 17.5-2ubuntu0.1~esm2
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS gunicorn 19.4.5-1ubuntu1.1+esm1
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS gunicorn 19.7.1-4ubuntu0.1~esm1
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS gunicorn 20.0.4-3ubuntu0.1~esm1
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS gunicorn 20.1.0-2ubuntu0.1~esm1
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS gunicorn 20.1.0-6ubuntu0.1+esm1
Ubuntu · Pro 26.04 LTS Pro:26.04:LTS gunicorn 25.1.0-1ubuntu0.1~esm1

Vulnerabilities 3

  • High 7.5

    HTTP Request Smuggling in benoitc/gunicorn

    Gunicorn fails to properly validate Transfer-Encoding headers, leading to HTTP Request Smuggling (HRS) vulnerabilities. By crafting requests with conflicting Transfer-Encoding headers, attackers can bypass security restrictions and access restricted endpoints…

  • High 7.5

    HTTP Request Smuggling in benoitc/gunicorn

    Gunicorn version 21.2.0 does not properly validate the value of the 'Transfer-Encoding' header as specified in the RFC standards, which leads to the default fallback method of 'Content-Length,' making it vulnerable to TE.CL request smuggling. This vulnerabili…

  • High 7.5
    CVE-2026-134821 Public exploit

    Gunicorn 25.2.0 before 27.0.0 Memory Exhaustion via ASGI HTTP/1 Parser

    Gunicorn 25.2.0 before 27.0.0 contains a memory exhaustion vulnerability in the pure-Python ASGI HTTP/1 parser that buffers protocol lines without size limits. Unauthenticated remote attackers can send request lines, headers, chunk-size lines or trailers lack…

References

  • report
    https://ubuntu.com/security/CVE-2024-1135
  • report
    https://ubuntu.com/security/CVE-2024-6827
  • report
    https://ubuntu.com/security/CVE-2026-134821