{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-58058 exists.","fix":"Apply the vendor's patch.","what":"CVE-2026-58058 is a medium-severity vulnerability in Nmap, published on 28 Jun 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-58058 and fix it if it is affected.\n\nWhat it is: CVE-2026-58058 is a medium-severity vulnerability in Nmap, published on 28 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-58058 exists.\n\nAffected product: Nmap. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-58058/ (Markdown: https://insights.sbomify.com/CVE-2026-58058/index.md)","id":"CVE-2026-58058","markdown":"https://insights.sbomify.com/CVE-2026-58058/index.md","name":"CVE-2026-58058","record":{"aliases":["AZL-91391","CLSA-2026-1788628939","CLSA-2026-1788629925","DEBIAN-CVE-2026-58058","ECHO-c25e-3693-b903","GHSA-wxvj-hc4r-fq45","MGASA-2026-0268","MINI-ffcm-qx23-9736","OESA-2026-2955","OESA-2026-2956","OESA-2026-2957","OESA-2026-2958","OESA-2026-3094","SUSE-SU-2026:22739-1","SUSE-SU-2026:22814-1","SUSE-SU-2026:3333-1","SUSE-SU-2026:3340-1","UBUNTU-CVE-2026-58058"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Network scanning tool","requires_auth":"none","summary":"An attacker can cause a crash in Nmap by sending crafted IPv6 responses during scans, due to an integer underflow in extension header parsing.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"nmap","vendor":"nmap"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"}],"description":"Nmap through 7.99 does not keep the IPv6 extension-header walk within the captured packet in ipv6_get_data_primitive (libnetutil/netutil.cc), so the pointer advances past the buffer and the remaining-length computation underflows to a large value. A scanned target or on-path attacker returning a crafted IPv6 response with a truncated extension header can trigger out-of-bounds reads and a crash during raw IPv6 scans.","ecosystems":["SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Package Hub 15 SP7","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP applications 16.0","SUSE:Linux Micro Extras 6.2"],"exploits":{"exploitdb":1,"first_seen":"2026-08-17","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-08-17","kind":"exploitdb","ref":"52647","stars":null,"title":"Nmap  7.99  - Extension Header Integer Underflow"}],"tier":"weaponised"},"has_fix":true,"headline":"Nmap - Integer Underflow in IPv6 Extension Header Parsing","id":"CVE-2026-58058","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":6,"n_references":4,"next":{"headline":"Quadratic-time escaping when stringifying X.500 distinguished names","id":"CVE-2026-58059"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["7.92-150600.9.3.1"],"introduced":["0"],"last_affected":[],"package":"nmap","purl":"pkg:rpm/suse/nmap\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:3340-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP7","fixed":["7.92-150600.9.3.1"],"introduced":["0"],"last_affected":[],"package":"nmap","purl":"pkg:rpm/suse/nmap\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP7","source":"SUSE-SU-2026:3340-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["7.92-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"nmap","purl":"pkg:rpm/suse/nmap\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:22814-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["6.46-3.9.1"],"introduced":["0"],"last_affected":[],"package":"nmap","purl":"pkg:rpm/suse/nmap\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2026:3333-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["7.92-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"nmap","purl":"pkg:rpm/suse/nmap\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:22814-1"},{"ecosystem":"SUSE:Linux Micro Extras 6.2","fixed":["7.92-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"nmap","purl":"pkg:rpm/suse/nmap\u0026distro=SUSE%20Linux%20Micro%20Extras%206.2","source":"SUSE-SU-2026:22739-1"}],"prev":{"headline":"Flowise - Custom MCP Environment Variable Denylist Bypass via Case Sensitivity","id":"CVE-2026-58057"},"products":["Nmap"],"published":"2026-06-28","related":[{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2017-18594","kev_date_added":null,"published":"2019-08-28"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2018-15173","kev_date_added":null,"published":"2018-08-08"},{"cvss_score":6.8,"headline":"Path traversal in n/a","id":"CVE-2013-4885","kev_date_added":null,"published":"2013-10-26"},{"cvss_score":5.7,"headline":"Path traversal in n/a","id":"CVE-2018-1000161","kev_date_added":null,"published":"2018-04-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-29","vendors":["Nmap"]},"summary":"An attacker can cause a crash in Nmap by sending crafted IPv6 responses during scans, due to an integer underflow in extension header parsing.","url":"https://insights.sbomify.com/CVE-2026-58058/"}