{"answers":{"affected":"1 open source package ship an affected version, including cowlib.","exploited":"There is no known exploitation of CVE-2026-59248 in the wild and no public exploit code.","fix":"Upgrade cowlib to 2.19.0 or later.","what":"CVE-2026-59248 is a high-severity denial of service vulnerability in ninenines cowlib, 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-59248 and fix it if it is affected.\n\nWhat it is: CVE-2026-59248 is a high-severity denial of service vulnerability in ninenines cowlib, 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-59248 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cowlib (Hex): affected from 2.0.0-pre.1; fixed in 2.19.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-59248/ (Markdown: https://insights.sbomify.com/CVE-2026-59248/index.md)","id":"CVE-2026-59248","markdown":"https://insights.sbomify.com/CVE-2026-59248/index.md","name":"CVE-2026-59248","record":{"aliases":["AZL-94305","DEBIAN-CVE-2026-59248","EEF-CVE-2026-59248","GHSA-f37p-pc7r-rghm","UBUNTU-CVE-2026-59248","USN-8869-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Erlang HTTP library","requires_auth":"none","summary":"Unbounded HPACK/QPACK decoding in Cowlib allows remote attackers to exhaust server memory via crafted HTTP/2 or HTTP/3 headers, causing denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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 vulnerability in ninenines cowlib allows an unauthenticated remote HTTP/2 or HTTP/3 peer to exhaust memory on the vulnerable server (or client) and cause a denial of service.\n\nThe HPACK and QPACK prefixed-integer decoder cow_hpack_common:dec_big_int/3 in src/cow_hpack_common.hrl (invoked from cow_hpack:decode/2 in src/cow_hpack.erl and from cow_qpack:decode_field_section/3 in src/cow_qpack.erl) reads continuation octets until it sees one whose high bit is clear, evaluating Int + (Value bsl M) at each step with the shift M growing by seven per octet. No limit is enforced on the number of continuation octets, on the resulting bit width, or on the value; the decoder consumes whatever encoded length the peer supplies.\n\nBecause Erlang integers are immutable, each intermediate Value bsl M and each accumulator update allocates a fresh bignum whose digit width grows linearly with the number of octets processed so far. Summed across the whole decode, the transient bignum digit materialization is on the order of the square of the encoded length. A single maximal HPACK indexed representation carried inside one HTTP/2 HEADERS plus one CONTINUATION frame at Cowboy's default max_frame_size_received can force hundreds of megabytes of transient allocation and garbage-collection churn before the resulting header-table index is rejected as invalid. Repeated or concurrent connections multiply the pressure and can drive the Erlang VM to memory exhaustion.\n\nCowlib is the HTTP parser used by Cowboy, RabbitMQ's management plugin, and other Erlang and Elixir HTTP/2 and HTTP/3 servers and clients, so any exposed endpoint that accepts HPACK or QPACK from an untrusted peer is reachable.\n\nThis issue affects cowlib: from 2.0.0 before 2.19.0.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":"2026-10-25","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-25T18:32:57Z","kind":"github_poc","ref":"https://github.com/DarynOngera/bug-free-broccoli","stars":0,"title":"CVE-2026-59248"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Unbounded HPACK/QPACK prefixed-integer decoding in Cowlib causes memory-exhaustion DoS","id":"CVE-2026-59248","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":"Other in mint","id":"CVE-2026-59249"},"packages":[{"ecosystem":"Hex","fixed":["2.19.0"],"introduced":["2.0.0-pre.1"],"last_affected":[],"package":"cowlib","purl":"pkg:hex/cowlib","source":"EEF-CVE-2026-59248"}],"prev":{"headline":"Insufficient verification of Hex package metadata in Gleam","id":"CVE-2026-59247"},"products":["cowlib"],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-29","vendors":["ninenines"]},"summary":"Unbounded HPACK/QPACK decoding in Cowlib allows remote attackers to exhaust server memory via crafted HTTP/2 or HTTP/3 headers, causing denial of service.","url":"https://insights.sbomify.com/CVE-2026-59248/"}