{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-58471 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-58471 is a medium-severity memory corruption vulnerability in gnuwget wget, published on 7 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-58471 and fix it if it is affected.\n\nWhat it is: CVE-2026-58471 is a medium-severity memory corruption vulnerability in gnuwget wget, published on 7 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-58471 in the wild and no public exploit code.\n\nAffected product: gnuwget wget. 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-58471/ (Markdown: https://insights.sbomify.com/CVE-2026-58471/index.md)","id":"CVE-2026-58471","markdown":"https://insights.sbomify.com/CVE-2026-58471/index.md","name":"CVE-2026-58471","record":{"aliases":["BELL-CVE-2026-58471","DEBIAN-CVE-2026-58471","ECHO-333a-02b0-5dac","GHSA-vv88-699v-w5rh","JLSEC-2026-1160","ROOT-OS-ALPINE-322-CVE-2026-58471","ROOT-OS-ALPINE-323-CVE-2026-58471","ROOT-OS-DEBIAN-11-CVE-2026-58471","ROOT-OS-DEBIAN-12-CVE-2026-58471","ROOT-OS-DEBIAN-13-CVE-2026-58471","UBUNTU-CVE-2026-58471"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"GNU Wget","requires_auth":"none","summary":"Remote attackers can trigger heap buffer overflow in GNU Wget via malicious server responses, potentially leading to code execution or denial of service.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"wget","vendor":"gnu"}],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"GNU Wget through 1.25.0, fixed in commit c2640fe, contains a heap buffer overflow vulnerability in the convert_fname() function within src/url.c that allows remote attackers to trigger memory corruption through a server-supplied filename requiring character set conversion. When the output buffer is too small during iconv E2BIG reallocation, the reallocation logic miscalculates the remaining space, leading to a heap buffer overflow that can be exploited via a maliciously crafted server response.","ecosystems":[],"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":"GNU Wget 1.25.0 Heap Buffer Overflow via convert_fname() in url.c","id":"CVE-2026-58471","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding","id":"CVE-2026-58472"},"packages":[],"prev":{"headline":"GNU Wget 1.25.0 Integer Overflow via Content-Range Header Parsing","id":"CVE-2026-58470"},"products":["wget"],"published":"2026-07-07","related":[{"cvss_score":9.8,"headline":"Memory corruption in GNU Wget","id":"CVE-2019-5953","kev_date_added":null,"published":"2019-05-17"},{"cvss_score":9.3,"headline":"Path traversal in n/a","id":"CVE-2014-4877","kev_date_added":null,"published":"2014-10-29"},{"cvss_score":9.1,"headline":"Other in n/a","id":"CVE-2024-38428","kev_date_added":null,"published":"2024-06-16"},{"cvss_score":8.7,"headline":"GNU Wget 1.25.0 Heap Buffer Underread via Metalink URL Parsing","id":"CVE-2026-58469","kev_date_added":null,"published":"2026-07-07"},{"cvss_score":8.1,"headline":"Race condition in n/a","id":"CVE-2016-7098","kev_date_added":null,"published":"2016-09-26"},{"cvss_score":7.8,"headline":"Information disclosure in n/a","id":"CVE-2018-20483","kev_date_added":null,"published":"2018-12-26"},{"cvss_score":6.9,"headline":"GNU Wget 1.25.0 Integer Overflow via Content-Range Header Parsing","id":"CVE-2026-58470","kev_date_added":null,"published":"2026-07-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-14","vendors":["gnuwget"]},"summary":"Remote attackers can trigger heap buffer overflow in GNU Wget via malicious server responses, potentially leading to code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2026-58471/"}