Skip to main content
← All vulnerabilities
CVE-2026-97200EUVD-2026-109837GHSA-WPMP-4GRC-56PH

Unbounded response body buffering and decompression in hackney

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.9.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  4. Record last updated

Affected versions

  • hackney

    From 2.0.0-beta.1 · fixed in 4.9.0

  • benoitc/hackney

    From dc41b79339ca0c41e16d3f2dd17172bc2de855d6 · fixed in 493e8bf83a391548e5101792276ab3fc428fa76c

References 6

GitHub · benoitc/hackney

cna.erlef.org

osv.dev