{
  "id": "CVE-2026-58471",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-58471",
  "published_at": "2026-07-07T19:47:47.662Z",
  "title": "GNU Wget 1.25.0 Heap Buffer Overflow via convert_fname() in url.c",
  "vendor": "gnuwget",
  "product": "wget",
  "cvss": {
    "score": 7.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": 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.",
  "cwe": "CWE-122",
  "cpes": [
    "cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6,
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "gnuwget",
        "product": "wget",
        "ranges": [
          "\u003c= 1.25.0"
        ],
        "fixed_in": [
          "c2640fe5171c59f87c58dc9fcb195b2d18b010ee"
        ]
      }
    ],
    "upgrade": [
      "Upgrade wget to c2640fe5171c59f87c58dc9fcb195b2d18b010ee or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://gitlab.com/gnuwget/wget/-/commit/c2640fe5171c59f87c58dc9fcb195b2d18b010ee"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
