{"schemaVersion":3,"id":"CVE-2026-58471","aliases":["UBUNTU-CVE-2026-58471","DEBIAN-CVE-2026-58471","CGA-2x93-32q9-p3mg","CGA-fw8j-xmwg-pvcf","CGA-gqw4-96pw-fw38","CGA-wcr9-rxgr-hrq5"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-07-07T19:47:47.662Z","modified":"2026-07-14T22:03:12.273Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","exploitability":7.2,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","exploitability":7.2,"impact":7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":6,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":6,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6,"severity":"medium","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0039,"percentile":0.31575,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.16899999999999996,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00221},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0039,"percentile":0.31575}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00221,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0039,"percentile":0.31575}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"}],"affected":[{"vendor":"chainguard","product":"wget","name":"wget","label":"wget","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/wget","purlType":"apk","versions":[{"text":"< 1.25.0-r15","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 1.25.0-r15 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"wget-doc","name":"wget-doc","label":"wget-doc","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/wget-doc","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"wget","name":"wget","label":"wget","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/wget","purlType":"apk","versions":[{"text":"< 1.25.0-r15","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 1.25.0-r15 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"wget-doc","name":"wget-doc","label":"wget-doc","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/wget-doc","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"wget","name":"wget","label":"wget","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/wget","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"wget","name":"wget","label":"wget","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/wget","purlType":"deb","versions":[{"text":"< 1.19.4-1ubuntu2.2+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.20.3-1ubuntu2.1+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.21.2-2ubuntu1.3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.21.4-1ubuntu4.3","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.25.0-2ubuntu4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.19.4-1ubuntu2.2+esm3 | < 1.20.3-1ubuntu2.1+esm2 | < 1.21.2-2ubuntu1.3 | < 1.21.4-1ubuntu4.3 | All versions (No fix recorded) | < 1.25.0-2ubuntu4.2","eol":null,"hubHref":null},{"vendor":"gnu","product":"wget","name":"wget","label":"wget","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.25.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.25.0","eol":null,"hubHref":"/vendor/gnu/wget"},{"vendor":"gnuwget","product":"wget","name":"wget","label":"wget","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.25.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.25.0","eol":null,"hubHref":"/vendor/gnuwget/wget"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://gitlab.com/gnuwget/wget/-/commit/c2640fe5171c59f87c58dc9fcb195b2d18b010ee","label":"gitlab.com/gnuwget/wget/-/commit/c2640fe5171c59f87c58dc9fcb195b2d18b010ee","hostname":"gitlab.com","tags":["Patch","FIX"]},{"url":"https://www.vulncheck.com/advisories/gnu-wget-heap-buffer-overflow-via-convert-fname-in-url-c","label":"www.vulncheck.com/advisories/gnu-wget-heap-buffer-overflow-via-convert-fname-in-url-c","hostname":"www.vulncheck.com","tags":["Third Party Advisory","Advisory","Patch"]},{"url":"https://ubuntu.com/security/CVE-2026-58471","label":"ubuntu.com/security/CVE-2026-58471","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-58471","label":"www.cve.org/CVERecord?id=CVE-2026-58471","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8543-1","label":"ubuntu.com/security/notices/USN-8543-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-58471","label":"security-tracker.debian.org/tracker/CVE-2026-58471","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58471.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58471.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58471","label":"nvd.nist.gov/vuln/detail/CVE-2026-58471","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://gitlab.com/gnuwget/wget","label":"gitlab.com/gnuwget/wget","hostname":"gitlab.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0300","OPENSUSE-SU-2026:11252-1","OPENSUSE-SU-2026:21665-1","RHSA-2026:62142","RHSA-2026:62143","RHSA-2026:62144","SUSE-SU-2026:23053-1","SUSE-SU-2026:23163-1","SUSE-SU-2026:23297-1","SUSE-SU-2026:23326-1","SUSE-SU-2026:3148-1","SUSE-SU-2026:3206-1","USN-8543-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11252-1","OPENSUSE-SU-2026:21665-1","SUSE-SU-2026:23053-1","SUSE-SU-2026:23163-1","SUSE-SU-2026:23297-1","SUSE-SU-2026:23326-1","SUSE-SU-2026:3148-1","SUSE-SU-2026:3206-1","USN-8543-1"]},"timeline":[{"kind":"published","date":"2026-07-07T19:47:47.662Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-14T22:03:12.273Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:39:06.132Z","stale":false,"partial":false}}