{"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-59886 in the wild and no public exploit code.","fix":"Upgrade pyasn1 to 0.6.4 or later.","what":"CVE-2026-59886 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-59886 and fix it if it is affected.\n\nWhat it is: CVE-2026-59886 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-59886 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-59886/ (Markdown: https://insights.sbomify.com/CVE-2026-59886/index.md)","id":"CVE-2026-59886","markdown":"https://insights.sbomify.com/CVE-2026-59886/index.md","name":"CVE-2026-59886","record":{"aliases":["ALSA-2026:53363","ALSA-2026:53364","ALSA-2026:53365","ALSA-2026:59241","ALSA-2026:59242","ALSA-2026:59243","AZL-92436","BELL-CVE-2026-59886","CLEANSTART-2026-ON23616","CLSA-2026-1792809177","DEBIAN-CVE-2026-59886","ECHO-e4fd-e77a-5a0f","GHSA-hm4w-wwcw-mr6r","MINI-2vgq-h39x-pvg9","MINI-4ccx-rj32-2w49","MINI-59p6-3jh3-mw96","MINI-68r3-phjf-q4c4","MINI-6w72-v2v5-vj3j","MINI-76h7-35mj-95wc","MINI-8f57-2gxf-ffqh","MINI-8mrw-cqvm-74mg","MINI-8p42-px8j-xp85","MINI-8qmj-9f3w-8gg4","MINI-9955-9w2w-fq3g","MINI-9xrx-gqcq-hgv5","MINI-c34f-hvhr-2548","MINI-cw3c-wm95-xh8r","MINI-fh7g-hwwj-v5q4","MINI-g888-pqqr-v733","MINI-hrq8-x86f-mg47","MINI-mjvh-hjfg-679j","MINI-pwvv-544r-4h5v","MINI-q8mj-q5hj-qx57","MINI-qjhv-jgcg-gw29","MINI-r82q-96hp-gq73","MINI-v88q-9wjq-5x7h","MINI-vxhv-hwfw-4f2v","MINI-wh58-v4m7-mh6x","MINI-wppr-wh34-26h7","MINI-wxj6-8675-8jx4","MINI-x85p-fwq4-47m5","PYSEC-2026-3457","RHSA-2026:53363","RHSA-2026:53364","RHSA-2026:53365","RHSA-2026:58546","RHSA-2026:58547","RHSA-2026:58548","RHSA-2026:58811","RHSA-2026:58820","RHSA-2026:58821","RHSA-2026:58822","RHSA-2026:58834","RHSA-2026:58835","RHSA-2026:59238","RHSA-2026:59239","RHSA-2026:59240","RHSA-2026:59241","RHSA-2026:59242","RHSA-2026:59243","RHSA-2026:59244","RHSA-2026:59245","RHSA-2026:59246","RHSA-2026:59247","RHSA-2026:59248","RHSA-2026:59329","RLSA-2026:53363","RLSA-2026:53364","RLSA-2026:53365","RLSA-2026:59241","RLSA-2026:59242","RLSA-2026:59243","ROOT-APP-PYPI-CVE-2026-59886","UBUNTU-CVE-2026-59886"],"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 REAL values that trigger excessive resource consumption during conversion.","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-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.4, the univ.Real type converted its mantissa, base, and exponent value to a Python float using exact big-integer exponentiation. A BER, CER, or DER encoded REAL value only a few bytes long can carry a very large exponent, causing float conversion through prettyPrint(), str(), comparison, arithmetic, int(), or an explicit float() call to consume excessive CPU and memory and hang applications that decode untrusted ASN.1 data and then print, log, or compare decoded objects. This issue is fixed in version 0.6.4.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","PyPI","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::highavailability","Red Hat:enterprise_linux:8::resilientstorage","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.4::highavailability","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.8::appstream","Red Hat:rhel_e4s:8.8::highavailability","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_e4s:9.2::highavailability","Red Hat:rhel_e4s:9.2::resilientstorage","Red Hat:rhel_e4s:9.4::appstream","Red Hat:rhel_e4s:9.4::highavailability","Red Hat:rhel_e4s:9.4::resilientstorage","Red Hat:rhel_els:7","Red Hat:rhel_eus:9.6::appstream","Red Hat:rhel_eus_long_life:8.4::appstream","Red Hat:rhel_eus_long_life:8.4::highavailability","Red Hat:rhel_eus_long_life:8.6::appstream","Red Hat:rhel_eus_long_life:8.6::highavailability","Red Hat:rhel_extras_sap_els:7","Red Hat:rhel_extras_sap_hana_els:7","Red Hat:rhel_tus:8.8::appstream","Red Hat:rhel_tus:8.8::highavailability","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9"],"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: Uncontrolled resource consumption when converting decoded REAL values","id":"CVE-2026-59886","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":1034,"n_references":3,"next":{"headline":"linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text","id":"CVE-2026-59887"},"packages":[{"ecosystem":"PyPI","fixed":["0.6.4"],"introduced":["0"],"last_affected":[],"package":"pyasn1","purl":null,"source":"GHSA-hm4w-wwcw-mr6r"},{"ecosystem":"PyPI","fixed":["0.6.4"],"introduced":["0"],"last_affected":[],"package":"pyasn1","purl":"pkg:pypi/pyasn1","source":"GHSA-hm4w-wwcw-mr6r"},{"ecosystem":"PyPI","fixed":["0.6.4"],"introduced":["0"],"last_affected":[],"package":"pyasn1","purl":"pkg:pypi/pyasn1","source":"PYSEC-2026-3457"},{"ecosystem":"AlmaLinux:10","fixed":["0.6.2-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3-pyasn1","purl":"pkg:rpm/almalinux/python3-pyasn1","source":"ALSA-2026:59243"},{"ecosystem":"AlmaLinux:10","fixed":["0.6.2-1.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"python3-pyasn1-modules","purl":"pkg:rpm/almalinux/python3-pyasn1-modules","source":"ALSA-2026:59243"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-aliyun","purl":"pkg:rpm/almalinux/fence-agents-aliyun","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-all","purl":"pkg:rpm/almalinux/fence-agents-all","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-amt-ws","purl":"pkg:rpm/almalinux/fence-agents-amt-ws","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-apc","purl":"pkg:rpm/almalinux/fence-agents-apc","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-apc-snmp","purl":"pkg:rpm/almalinux/fence-agents-apc-snmp","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-aws","purl":"pkg:rpm/almalinux/fence-agents-aws","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-azure-arm","purl":"pkg:rpm/almalinux/fence-agents-azure-arm","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-bladecenter","purl":"pkg:rpm/almalinux/fence-agents-bladecenter","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-brocade","purl":"pkg:rpm/almalinux/fence-agents-brocade","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-cisco-mds","purl":"pkg:rpm/almalinux/fence-agents-cisco-mds","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-cisco-ucs","purl":"pkg:rpm/almalinux/fence-agents-cisco-ucs","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-common","purl":"pkg:rpm/almalinux/fence-agents-common","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-compute","purl":"pkg:rpm/almalinux/fence-agents-compute","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-drac5","purl":"pkg:rpm/almalinux/fence-agents-drac5","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-eaton-snmp","purl":"pkg:rpm/almalinux/fence-agents-eaton-snmp","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-emerson","purl":"pkg:rpm/almalinux/fence-agents-emerson","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-eps","purl":"pkg:rpm/almalinux/fence-agents-eps","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-gce","purl":"pkg:rpm/almalinux/fence-agents-gce","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-heuristics-ping","purl":"pkg:rpm/almalinux/fence-agents-heuristics-ping","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-hpblade","purl":"pkg:rpm/almalinux/fence-agents-hpblade","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibm-powervs","purl":"pkg:rpm/almalinux/fence-agents-ibm-powervs","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibm-vpc","purl":"pkg:rpm/almalinux/fence-agents-ibm-vpc","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ibmblade","purl":"pkg:rpm/almalinux/fence-agents-ibmblade","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ifmib","purl":"pkg:rpm/almalinux/fence-agents-ifmib","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-moonshot","purl":"pkg:rpm/almalinux/fence-agents-ilo-moonshot","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-mp","purl":"pkg:rpm/almalinux/fence-agents-ilo-mp","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo-ssh","purl":"pkg:rpm/almalinux/fence-agents-ilo-ssh","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ilo2","purl":"pkg:rpm/almalinux/fence-agents-ilo2","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-intelmodular","purl":"pkg:rpm/almalinux/fence-agents-intelmodular","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ipdu","purl":"pkg:rpm/almalinux/fence-agents-ipdu","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-ipmilan","purl":"pkg:rpm/almalinux/fence-agents-ipmilan","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-kdump","purl":"pkg:rpm/almalinux/fence-agents-kdump","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-kubevirt","purl":"pkg:rpm/almalinux/fence-agents-kubevirt","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-lpar","purl":"pkg:rpm/almalinux/fence-agents-lpar","source":"ALSA-2026:53363"},{"ecosystem":"AlmaLinux:8","fixed":["4.2.1-129.el8_10.29"],"introduced":["0"],"last_affected":[],"package":"fence-agents-mpath","purl":"pkg:rpm/almalinux/fence-agents-mpath","source":"ALSA-2026:53363"}],"prev":{"headline":"pyasn1: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service","id":"CVE-2026-59885"},"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: Quadratic complexity in OBJECT IDENTIFIER and RELATIVE-OID processing allows denial of service","id":"CVE-2026-59885","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":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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-15","vendors":["pyasn1"]},"summary":"Attackers can cause denial of service in applications using pyasn1 by sending crafted ASN.1 REAL values that trigger excessive resource consumption during conversion.","url":"https://insights.sbomify.com/CVE-2026-59886/"}