{"id":"CVE-2026-97200","revision":"bffffcffff1f48539c3ae525cbb4fd7a","records":[{"revision":"bffffcffff1f48539c3ae525cbb4fd7a","observedAt":"2026-10-26T16:35:30.797+00:00","statement":{"source":"cve-program","id":"CVE-2026-97200","aliases":[],"title":"Unbounded response body buffering and decompression in hackney","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.\n\nhackney_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.\n\nThis issue affects hackney: from 2.0.0-beta.1 before 4.9.0.","state":0,"publishedAt":"2026-10-26T13:49:40.392+00:00","modifiedAt":"2026-10-26T15:35:50.487+00:00","affected":[{"ecosystem":"https://repo.hex.pm","name":"hackney","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"collectionURL\": \"https://repo.hex.pm\",\n                    \"cpes\": [\n                        \"cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*\"\n                    ],\n                    \"defaultStatus\": \"unaffected\",\n                    \"modules\": [\n                        \"hackney_conn\",\n                        \"hackney\"\n                    ],\n                    \"packageName\": \"hackney\",\n                    \"packageURL\": \"pkg:hex/hackney\",\n                    \"product\": \"hackney\",\n                    \"programFiles\": [\n                        \"src/hackney_conn.erl\",\n                        \"src/hackney.erl\"\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"hackney_conn:read_full_body/2\"\n                        },\n                        {\n                            \"name\": \"hackney_conn:maybe_decompress_body/2\"\n                        },\n                        {\n                            \"name\": \"hackney_conn:decompress_gzip/1\"\n                        },\n                        {\n                            \"name\": \"hackney_conn:decompress_deflate/1\"\n                        },\n                        {\n                            \"name\": \"hackney:request/5\"\n                        },\n                        {\n                            \"name\": \"hackney:body/1\"\n                        }\n                    ],\n                    \"repo\": \"https://github.com/benoitc/hackney\",\n                    \"vendor\": \"benoitc\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"4.9.0\",\n                            \"status\": \"affected\",\n                            \"version\": \"2.0.0-beta.1\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"https://github.com","name":"benoitc/hackney","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"collectionURL\": \"https://github.com\",\n                    \"cpes\": [\n                        \"cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*\"\n                    ],\n                    \"defaultStatus\": \"unaffected\",\n                    \"modules\": [\n                        \"hackney_conn\",\n                        \"hackney\"\n                    ],\n                    \"packageName\": \"benoitc/hackney\",\n                    \"packageURL\": \"pkg:github/benoitc/hackney\",\n                    \"product\": \"hackney\",\n                    \"programFiles\": [\n                        \"src/hackney_conn.erl\",\n                        \"src/hackney.erl\"\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"hackney_conn:read_full_body/2\"\n                        },\n                        {\n                            \"name\": \"hackney_conn:maybe_decompress_body/2\"\n                        },\n                        {\n                            \"name\": \"hackney_conn:decompress_gzip/1\"\n                        },\n                        {\n                            \"name\": \"hackney_conn:decompress_deflate/1\"\n                        },\n                        {\n                            \"name\": \"hackney:request/5\"\n                        },\n                        {\n                            \"name\": \"hackney:body/1\"\n                        }\n                    ],\n                    \"repo\": \"https://github.com/benoitc/hackney\",\n                    \"vendor\": \"benoitc\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"493e8bf83a391548e5101792276ab3fc428fa76c\",\n                            \"status\": \"affected\",\n                            \"version\": \"dc41b79339ca0c41e16d3f2dd17172bc2de855d6\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":8.2,"severity":"HIGH"}],"references":["https://github.com/benoitc/hackney/releases/tag/4.9.0","https://cna.erlef.org/cves/CVE-2026-97200.html","https://osv.dev/vulnerability/EEF-CVE-2026-97200","https://github.com/benoitc/hackney/pull/980","https://github.com/benoitc/hackney/commit/dc41b79339ca0c41e16d3f2dd17172bc2de855d6","https://github.com/benoitc/hackney/commit/493e8bf83a391548e5101792276ab3fc428fa76c"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-97200","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-97200","identifiers":["CVE-2026-97200"]},"retained":false,"historicalAffected":[]}],"coverage":[]}