cvelo
P2 · HighCVSS 8.2EPSS 0.6%

Unbounded response body buffering and decompression in hackney

  • CVE-2026-97200
  • GHSA-wpmp-4grc-56ph
  • EUVD-2026-109837

Description

Allocation of Resources Without Limits or Throttling vulnerability in hackney_conn in benoitc hackney allows a malicious HTTP server to exhaust client memory via an oversized or highly compressed response body. hackney:request/5 and hackney:body/1 return the whole response body, and nothing bounds how much the connection process buffers. Any server the client requests can trigger it. hackney_conn:read_full_body/2 and the HTTP/2 and HTTP/3 accumulators append every chunk until the body ends. With {auto_decompress, true} the buffered body is then inflated in one step with zlib:gunzip/1 or zlib:inflate/2, which return the whole output at once. This issue affects hackney: from 2.0.0-beta.1 before 4.9.0.

Text from the CVE.org record.

Recommendation

  • benoitc hackney

    • If you run a version from 2.0.0-beta.1 to before 4.9.0update to 4.9.0 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • benoitc hackney

    Affected versionsFixed in
    from 2.0.0-beta.1 to before 4.9.04.9.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.