{"answers":{"affected":"3 open source packages ship an affected version, including hpack.","exploited":"There is no known exploitation of CVE-2026-59980 in the wild and no public exploit code.","fix":"Upgrade hpack to 4.2.0 or later.","what":"CVE-2026-59980 is a medium-severity vulnerability in python-hyper hpack, published on 23 Sep 2026."},"fix_prompt":"Check this codebase for CVE-2026-59980 and fix it if it is affected.\n\nWhat it is: CVE-2026-59980 is a medium-severity vulnerability in python-hyper hpack, published on 23 Sep 2026. \nExploitation: There is no known exploitation of CVE-2026-59980 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- hpack (PyPI): affected all versions; fixed in 4.2.0\n- hpack (PyPI): affected all versions; fixed in 4.2.0\n- hpack (PyPI): affected all versions; fixed in 4.2.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-59980/ (Markdown: https://insights.sbomify.com/CVE-2026-59980/index.md)","id":"CVE-2026-59980","markdown":"https://insights.sbomify.com/CVE-2026-59980/index.md","name":"CVE-2026-59980","record":{"aliases":["CLEANSTART-2026-WU74095","CLEANSTART-2026-YJ27178","DEBIAN-CVE-2026-59980","ECHO-b10e-5b40-f5bb","GHSA-8v8h-hg4w-mvq2","MGASA-2026-0349","MINI-33cj-rpv8-jp3g","MINI-q34p-fr92-r6wf","OESA-2026-4239","OESA-2026-4240","OESA-2026-4241","OESA-2026-4242","PYSEC-2026-4053","SUSE-SU-2026:24216-1","SUSE-SU-2026:4593-1","SUSE-SU-2026:4832-1","UBUNTU-CVE-2026-59980","openSUSE-SU-2026:22070-1"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"hpack is an HTTP/2 Header Encoding for Python. Prior to version 4.2.0, unbounded variable integer decoding can cause run-away computation on malformed input leading to O(n^2) runtime, effectively blocking further processing with large enough unsanitized input. A fix is available in python-hyper/hpack v4.2.0 to restricted variable integer decoding to uint32 to prevent run-away computation. As a workaround, sanitize input to hpack decoder for long sequences of `0xFF` values to prevent malicious use.","ecosystems":["PyPI","SUSE:Linux Enterprise Module for Python 3 15 SP7","SUSE:Linux Enterprise Module for Server Applications 15 SP7","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 16.0"],"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":"hpack: Unbounded variable integer decoding can cause run-away computation on malformed input","id":"CVE-2026-59980","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2026"},"n_packages":8,"n_references":4,"next":{"headline":"OpenEXR: Heap OOB read in SampleCountChannel row when using nonzero dataWindow","id":"CVE-2026-59981"},"packages":[{"ecosystem":"PyPI","fixed":["4.2.0"],"introduced":["0"],"last_affected":[],"package":"hpack","purl":null,"source":"GHSA-8v8h-hg4w-mvq2"},{"ecosystem":"PyPI","fixed":["4.2.0"],"introduced":["0"],"last_affected":[],"package":"hpack","purl":"pkg:pypi/hpack","source":"GHSA-8v8h-hg4w-mvq2"},{"ecosystem":"PyPI","fixed":["4.2.0"],"introduced":["0"],"last_affected":[],"package":"hpack","purl":"pkg:pypi/hpack","source":"PYSEC-2026-4053"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP7","fixed":["4.0.0-150400.8.6.1"],"introduced":["0"],"last_affected":[],"package":"python-hpack","purl":"pkg:rpm/suse/python-hpack\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP7","source":"SUSE-SU-2026:4832-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP7","fixed":["3.0.0-150200.3.5.1"],"introduced":["0"],"last_affected":[],"package":"python-hpack","purl":"pkg:rpm/suse/python-hpack\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP7","source":"SUSE-SU-2026:4593-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["4.1.0-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-hpack","purl":"pkg:rpm/suse/python-hpack\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:24216-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["4.1.0-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-hpack","purl":"pkg:rpm/suse/python-hpack\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:24216-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["4.1.0-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-hpack","purl":"pkg:rpm/opensuse/python-hpack\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:22070-1"}],"prev":{"headline":"YosemiteCrew: Missing organization authorization on service and PMS library/template routes","id":"CVE-2026-59979"},"products":["hpack"],"published":"2026-09-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-09-24","vendors":["python-hyper"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-59980/"}