7.6High

CVE-2025-69195Wget2: gnu wget2: memory corruption and crash via filename sanitization logic with attacker-controlled urls

wget2 Published: (10 months ago)

Description

A flaw was found in GNU Wget2. This vulnerability, a stack-based buffer overflow, occurs in the filename sanitization logic when processing attacker-controlled URL paths, particularly when filename restriction options are active. A remote attacker can exploit this by providing a specially crafted URL, which, upon user interaction with wget2, can lead to memory corruption. This can cause the application to crash and potentially allow for further malicious activities.

Weakness (CWE): CWE-121

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
gnu wget2 2.1.0 – < 2.2.1
— wget2 2.1.0 – ≤ 2.2.0, fixed 2.2.1

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:gnu:wget2:*:*:*:*:*:*:*:* ≥ 2.1.0 < 2.2.1