# CVE-2026-97200: Unbounded response body buffering and decompression in hackney

- Severity: High 8.2 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-10-26T13:49:40.392Z
- Modified: 2026-11-25T06:30:16.004Z
- Also known as: EEF-CVE-2026-97200
- Weaknesses: CWE-409, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- hackney: from 2.0.0-beta.1 before 4.9.0
- benoitc/hackney: from dc41b79339ca0c41e16d3f2dd17172bc2de855d6 before 493e8bf83a391548e5101792276ab3fc428fa76c
- hackney (Hex): from 2.0.0-beta.1 before 4.9.0
- https://github.com/benoitc/hackney: from dc41b79339ca0c41e16d3f2dd17172bc2de855d6 before 493e8bf83a391548e5101792276ab3fc428fa76c

## Every score

- EEF: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/benoitc/hackney/releases/tag/4.9.0> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-97200.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-97200> (related)
- <https://github.com/benoitc/hackney/pull/980> (related, web)
- <https://github.com/benoitc/hackney/commit/dc41b79339ca0c41e16d3f2dd17172bc2de855d6> (related, web)
- <https://github.com/benoitc/hackney/commit/493e8bf83a391548e5101792276ab3fc428fa76c> (fix, patch)
- <https://hex.pm/packages/hackney> (package)

## Sources

- CVE List: [CVE-2026-97200](https://www.cve.org/CVERecord?id=CVE-2026-97200), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-97200](https://osv.dev/vulnerability/EEF-CVE-2026-97200), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-97200](https://nvd.nist.gov/vuln/detail/CVE-2026-97200), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-97200 · Whole record: https://cve.day/CVE-2026-97200.json · Rebuilt by cve.day 2026-11-25T22:59:47.131Z
