{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-58472 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-58472 is a medium-severity 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-58472 and fix it if it is affected.\n\nWhat it is: CVE-2026-58472 is a medium-severity 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-58472 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-58472/ (Markdown: https://insights.sbomify.com/CVE-2026-58472/index.md)","id":"CVE-2026-58472","markdown":"https://insights.sbomify.com/CVE-2026-58472/index.md","name":"CVE-2026-58472","record":{"aliases":["CLSA-2026-1784107647","DEBIAN-CVE-2026-58472","ECHO-3772-079f-c642","GHSA-332r-8pmf-8m9p","JLSEC-2026-1161","ROOT-OS-ALPINE-322-CVE-2026-58472","ROOT-OS-ALPINE-323-CVE-2026-58472","ROOT-OS-DEBIAN-11-CVE-2026-58472","ROOT-OS-DEBIAN-12-CVE-2026-58472","ROOT-OS-DEBIAN-13-CVE-2026-58472","UBUNTU-CVE-2026-58472"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"GNU Wget","requires_auth":"none","summary":"A remote attacker can trigger a heap buffer overflow in GNU Wget via crafted HTML attributes, potentially leading to code execution or denial of service.","user_interaction":"required","vuln_class":"integer_overflow"},"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-190","name":"Integer Overflow or Wraparound"}],"description":"GNU Wget through 1.25.0, fixed in commit dd692d9, contains a heap buffer overflow vulnerability in the html_quote_string() function in src/convert.c that allows a remote attacker to trigger memory corruption by supplying a crafted HTML attribute with a large number of characters requiring entity encoding. A server-supplied HTML attribute causes a signed integer counter to overflow during output size accumulation, resulting in an undersized heap allocation and subsequent heap buffer overflow during the copy phase.","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 HTML Attribute Encoding","id":"CVE-2026-58472","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Cognee \u003c 1.2.0 Unauthorized LLM Configuration Overwrite via /api/v1/settings","id":"CVE-2026-58473"},"packages":[],"prev":{"headline":"GNU Wget 1.25.0 Heap Buffer Overflow via convert_fname() in url.c","id":"CVE-2026-58471"},"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":"A remote attacker can trigger a heap buffer overflow in GNU Wget via crafted HTML attributes, potentially leading to code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2026-58472/"}