p PatchFirst

PatchFirst · Latest vulnerabilities

python-hpack vulnerabilities

Vulnerabilities published for python-hpack in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 2

  1. CVE-2026-59980

    Medium · CVSS 6.3EPSS 0.3%No fix published

    hpack: Unbounded variable integer decoding can cause run-away computation on malformed input

    hpack is an HTTP/2 Header Encoding for Python. Prior to version 4.2.0, unbounded variable integer decoding can cause run-away computation on malformed input leading to O(n^2) runtime, effectively blocking further processing with large enough unsanitized input. A fix is available in python-hyper/hpack v4.2.0 to restricted variable integer decoding to uint32 to prevent run-away computation. As a workaround, sanitize input to hpack decoder for long sequences of `0xFF` values to prevent malicious use.

    Published Updated
  2. CVE-2016-6581

    High · CVSS 8.7EPSS 1.83%No fix published

    CVE-2016-6581

    A HTTP/2 implementation built using any version of the Python HPACK library between v1.0.0 and v2.2.0 could be targeted for a denial of service attack, specifically a so-called "HPACK Bomb" attack. This attack occurs when an attacker inserts a header field that is exactly the size of the HPACK dynamic header table into the dynamic header table. The attacker can then send a header block that is simply repeated requests to expand that field in the dynamic table. This can lead to a gigantic compression ratio of 4,096 or better, meaning that 16kB of data can decompress to 64MB of data on the target machine.

    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →