{
  "id": "CVE-2026-58472",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-58472",
  "published_at": "2026-07-07T19:50:53.967Z",
  "title": "GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding",
  "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 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.",
  "cwe": "CWE-190",
  "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": [
          "dd692d9cea5335b181d877ae917fe6e75587a812"
        ]
      }
    ],
    "upgrade": [
      "Upgrade wget to dd692d9cea5335b181d877ae917fe6e75587a812 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://gitlab.com/gnuwget/wget/-/commit/dd692d9cea5335b181d877ae917fe6e75587a812"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
