CVE-2025-69195 Wget2: gnu wget2: memory corruption and crash via filename sanitization logic with attacker-controlled urls
A stack-based buffer overflow in GNU Wget2 allows remote attackers to cause crashes or execute code via crafted URLs when filename restrictions are enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-69195?
CVE-2025-69195 is a high-severity memory corruption vulnerability in gnu:wget2, published on 9 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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-121
Which versions are affected by CVE-2025-69195?
It affects 1 product.
Products include Gnu Wget2.
How do I fix CVE-2025-69195?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-69195 being exploited?
There is no known exploitation of CVE-2025-69195 in the wild and no public exploit code.
Other vulnerabilities in gnu:wget2
Sources
Also known as AZL-73904, DEBIAN-CVE-2025-69195, GHSA-q2gj-jpwc-8f46, UBUNTU-CVE-2025-69195.