{"answers":{"affected":"1 open source package ship an affected version, including cowboy.","exploited":"There is no known exploitation of CVE-2026-65624 in the wild and no public exploit code.","fix":"Upgrade cowboy to 2.18.0 or later.","what":"CVE-2026-65624 is a medium-severity denial of service vulnerability in ninenines cowboy, published on 28 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-65624 and fix it if it is affected.\n\nWhat it is: CVE-2026-65624 is a medium-severity denial of service vulnerability in ninenines cowboy, published on 28 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-65624 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cowboy (Hex): affected from 2.0.0-pre.4; fixed in 2.18.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-65624/ (Markdown: https://insights.sbomify.com/CVE-2026-65624/index.md)","id":"CVE-2026-65624","markdown":"https://insights.sbomify.com/CVE-2026-65624/index.md","name":"CVE-2026-65624","record":{"aliases":["AZL-94308","DEBIAN-CVE-2026-65624","EEF-CVE-2026-65624","GHSA-v9x8-262p-f2g5","UBUNTU-CVE-2026-65624"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Erlang HTTP server","requires_auth":"none","summary":"An unauthenticated remote attacker can exhaust memory in the Cowboy HTTP server by sending duplicate header names, bypassing header count limits.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1.\n\nThe HTTP/1.1 handler in cowboy_http enforces the max_headers limit by counting the number of distinct header names in a map (maps:size(Headers)). When a request contains multiple header lines with the same name, the values are concatenated into a single ever-growing binary stored under that one map key (\", \" for regular headers, \"; \" for cookies), so the map size stays at one and the max_headers cap (default 100) is never reached. Because no accumulator bounds the total number of header lines or the total byte size of the header block (only per-line max_header_name_length and max_header_value_length apply), an unauthenticated client can send an arbitrary number of header lines with the same name and grow the connection process's binary memory to arbitrary size within the request window.\n\nThe impact per connection is bounded by request_timeout (default 5 seconds, not reset by header data), and by max_heap_size when set (the offending connection process is killed once its heap grows past the limit). When max_heap_size is left at the default (unset), sustained abuse can drive the Erlang VM into out-of-memory conditions.\n\nThis issue affects cowboy from 2.0.0-pre.4 before 2.18.0.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cowboy HTTP/1.1 max_headers Bypass via Duplicate Header Names Enables Memory Exhaustion","id":"CVE-2026-65624","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":1,"n_references":3,"next":{"headline":"Attacker-controlled AES-GCM authentication tag length allows tag forgery in jose","id":"CVE-2026-65625"},"packages":[{"ecosystem":"Hex","fixed":["2.18.0"],"introduced":["2.0.0-pre.4"],"last_affected":[],"package":"cowboy","purl":"pkg:hex/cowboy","source":"EEF-CVE-2026-65624"}],"prev":{"headline":"Quadratic CPU blow-up reassembling fragmented WebSocket messages in Bandit","id":"CVE-2026-65623"},"products":["cowboy"],"published":"2026-07-28","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-29","vendors":["ninenines"]},"summary":"An unauthenticated remote attacker can exhaust memory in the Cowboy HTTP server by sending duplicate header names, bypassing header count limits.","url":"https://insights.sbomify.com/CVE-2026-65624/"}