{"answers":{"affected":"3 open source packages ship an affected version, including cowlib.","exploited":"There is no known exploitation of CVE-2026-43970 in the wild and no public exploit code.","fix":"Upgrade cowlib to 2.16.1 or later.","what":"CVE-2026-43970 is a high-severity denial of service vulnerability in ninenines cowlib, published on 13 May 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-43970 and fix it if it is affected.\n\nWhat it is: CVE-2026-43970 is a high-severity denial of service vulnerability in ninenines cowlib, published on 13 May 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-43970 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cowlib (Hex): affected from 0.1.0; fixed in 2.16.1\n- cowlib (Hex): affected from 0.1.0; fixed in 2.16.1\n- cowlib (Hex): affected from 0.1.0; fixed in 2.16.1\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-43970/ (Markdown: https://insights.sbomify.com/CVE-2026-43970/index.md)","id":"CVE-2026-43970","markdown":"https://insights.sbomify.com/CVE-2026-43970/index.md","name":"CVE-2026-43970","record":{"aliases":["DEBIAN-CVE-2026-43970","EEF-CVE-2026-43970","GHSA-84f2-rp86-235p","UBUNTU-CVE-2026-43970"],"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":"Unauthenticated attackers can cause memory exhaustion and denial of service in cowlib by sending crafted SPDY frames that decompress to excessive sizes.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"description":"Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in ninenines cowlib allows unauthenticated remote denial of service via memory exhaustion.\n\ncow_spdy:inflate/2 in cowlib passes peer-supplied compressed bytes directly to zlib:inflate/2 with no output size bound. The SPDY header compression dictionary (?ZDICT) is public, and zlib compresses long runs of repeated bytes at roughly 1024:1, so a few kilobytes of SPDY frame payload can decompress to gigabytes on the BEAM heap, OOM-killing the node. A single unauthenticated SPDY frame is sufficient to trigger the condition. The parsers for syn_stream, syn_reply, and headers frame types are all affected via cow_spdy:parse_headers/2.\n\nThis issue affects cowlib from 0.1.0 before 2.16.1.","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":"Decompression Bomb in cow_spdy:inflate/2 Allows Memory Exhaustion via Crafted SPDY Frame","id":"CVE-2026-43970","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Link Header Directive Smuggling via Unescaped target/rel/Attribute Keys in cow_link:link/1","id":"CVE-2026-43971"},"packages":[{"ecosystem":"Hex","fixed":["2.16.1"],"introduced":["0.1.0"],"last_affected":[],"package":"cowlib","purl":"pkg:hex/cowlib","source":"EEF-CVE-2026-43970"},{"ecosystem":"Hex","fixed":["2.16.1"],"introduced":["0.1.0"],"last_affected":[],"package":"cowlib","purl":null,"source":"GHSA-84f2-rp86-235p"},{"ecosystem":"Hex","fixed":["2.16.1"],"introduced":["0.1.0"],"last_affected":[],"package":"cowlib","purl":"pkg:hex/cowlib","source":"GHSA-84f2-rp86-235p"}],"prev":{"headline":"Cookie Request Header Injection via Unvalidated Encoder in cow_cookie:cookie/1","id":"CVE-2026-43969"},"products":["cowlib"],"published":"2026-05-13","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":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-15","vendors":["ninenines"]},"summary":"Unauthenticated attackers can cause memory exhaustion and denial of service in cowlib by sending crafted SPDY frames that decompress to excessive sizes.","url":"https://insights.sbomify.com/CVE-2026-43970/"}