{"answers":{"affected":"3 open source packages ship an affected version, including pyasn1. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-59885 in the wild and no public exploit code.","fix":"Upgrade pyasn1 to 0.6.4 or later.","what":"CVE-2026-59885 is a high-severity denial of service vulnerability in pyasn1, published on 14 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-59885 and fix it if it is affected.\n\nWhat it is: CVE-2026-59885 is a high-severity denial of service vulnerability in pyasn1, published on 14 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-59885 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pyasn1 (PyPI): affected all versions; fixed in 0.6.4\n- pyasn1 (PyPI): affected all versions; fixed in 0.6.4\n- pyasn1 (PyPI): affected all versions; fixed in 0.6.4\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-59885/ (Markdown: https://insights.sbomify.com/CVE-2026-59885/index.md)","id":"CVE-2026-59885","markdown":"https://insights.sbomify.com/CVE-2026-59885/index.md","name":"CVE-2026-59885","record":{"aliases":["AZL-92430","BELL-CVE-2026-59885","CLEANSTART-2026-EM41513","DEBIAN-CVE-2026-59885","ECHO-4cac-d3b9-56bc","GHSA-8ppf-4f7h-5ppj","MINI-2p6r-q22h-8vmh","MINI-3247-623w-2463","MINI-38x7-w5pg-5vq8","MINI-4397-xq49-g7p4","MINI-49v9-xwm7-57jj","MINI-4c25-4x6h-qcx4","MINI-5px6-j45f-5xmw","MINI-67v6-5hpg-cgr5","MINI-6wch-w4gg-rwvp","MINI-7mpp-6x6c-33m6","MINI-7r49-crh5-49h3","MINI-8873-gjgf-c65q","MINI-8qj9-w3pm-9666","MINI-94mh-64vv-fqv9","MINI-9mgw-mm26-jx5h","MINI-9p8f-rw58-8rxj","MINI-f7w7-736x-47qr","MINI-h7x7-62mm-ww6q","MINI-hvfg-hh7c-66cf","MINI-mhq9-33r3-c778","MINI-pjc4-pxrq-whg3","MINI-pmxx-qc2p-248h","MINI-rxc3-c9r2-8vpq","MINI-v6cm-92pw-58w9","MINI-wj94-wrgr-82cp","MINI-wpq8-rmrf-m68c","MINI-wqg7-5v7q-9h29","MINI-xjxh-cgqj-r4m6","PYSEC-2026-3456","ROOT-APP-PYPI-CVE-2026-59885","UBUNTU-CVE-2026-59885"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python ASN.1 library","requires_auth":"none","summary":"Attackers can cause denial of service in applications using pyasn1 by sending crafted ASN.1 data with many OID arcs, consuming excessive CPU.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pyasn1","vendor":"pyasn1"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the BER, CER, and DER decoders process OBJECT IDENTIFIER and RELATIVE-OID values in quadratic time relative to the number of arcs, so a small crafted payload containing an OID with many arcs consumes excessive CPU per decode() call and can deny service to applications that decode untrusted ASN.1 data. The corresponding encoders have the same quadratic behavior when an application re-encodes previously decoded attacker-supplied values. This issue is fixed in version 0.6.4.","ecosystems":["PyPI"],"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":"pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service","id":"CVE-2026-59885","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"pyasn1: Uncontrolled resource consumption when converting decoded REAL values","id":"CVE-2026-59886"},"packages":[{"ecosystem":"PyPI","fixed":["0.6.4"],"introduced":["0"],"last_affected":[],"package":"pyasn1","purl":null,"source":"GHSA-8ppf-4f7h-5ppj"},{"ecosystem":"PyPI","fixed":["0.6.4"],"introduced":["0"],"last_affected":[],"package":"pyasn1","purl":"pkg:pypi/pyasn1","source":"GHSA-8ppf-4f7h-5ppj"},{"ecosystem":"PyPI","fixed":["0.6.4"],"introduced":["0"],"last_affected":[],"package":"pyasn1","purl":"pkg:pypi/pyasn1","source":"PYSEC-2026-3456"}],"prev":{"headline":"pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs","id":"CVE-2026-59884"},"products":["pyasn1"],"published":"2026-07-14","related":[{"cvss_score":7.5,"headline":"pyasn1 BER/CER/DER decoder denial of service via unbounded long-form tag IDs","id":"CVE-2026-59884","kev_date_added":null,"published":"2026-07-14"},{"cvss_score":7.5,"headline":"pyasn1: Uncontrolled resource consumption when converting decoded REAL values","id":"CVE-2026-59886","kev_date_added":null,"published":"2026-07-14"},{"cvss_score":7.5,"headline":"pyasn1 Vulnerable to Denial of Service via Unbounded Recursion","id":"CVE-2026-30922","kev_date_added":null,"published":"2026-03-18"}],"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":"US public information, NVD API terms","name":"NVD"},{"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-14","vendors":["pyasn1"]},"summary":"Attackers can cause denial of service in applications using pyasn1 by sending crafted ASN.1 data with many OID arcs, consuming excessive CPU.","url":"https://insights.sbomify.com/CVE-2026-59885/"}