Skip to content

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

HighCVSS 8.8 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 5 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/wget2(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/wget2(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/wget2(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/wget2(Ubuntu 26.10) All versions No fix listed No fix yet
azure linux wget(Azure Linux 3.0) < 2.1.0-7 2.1.0-7 Fixed
debian/wget2(Debian 13) < 2.2.0+ds-1+deb13u1; = 2.2.0+ds-1 2.2.0+ds-1+deb13u1 Fixed
debian/wget2(Debian 14) < 2.2.0+ds-3; = 2.2.0+ds-1; = 2.2.0+ds-2 2.2.0+ds-3 Fixed
GNU wget2 >= 2.1.0, < 2.2.1 2.2.1 Fixed
wget2 >= 2.1.0, <= 2.2.0 after 2.2.0 Fixed

Affected products

ProductAffected versionsFixed in
azure linux wget(Azure Linux:3.0) < 2.1.0-7 2.1.0-7
debian/wget2(Debian:13) < 2.2.0+ds-1+deb13u1 2.2.0+ds-1+deb13u1
debian/wget2(Debian:13) = 2.2.0+ds-1 No fix listed
debian/wget2(Debian:14) < 2.2.0+ds-3 2.2.0+ds-3
debian/wget2(Debian:14) = 2.2.0+ds-1 No fix listed
debian/wget2(Debian:14) = 2.2.0+ds-2 No fix listed
wget2 >= 2.1.0, <= 2.2.0 No fix listed
ubuntu/wget2(Ubuntu:22.04) All versions No fix listed
ubuntu/wget2(Ubuntu:24.04) All versions No fix listed
ubuntu/wget2(Ubuntu:26.04) All versions No fix listed
ubuntu/wget2(Ubuntu:26.10) All versions No fix listed
GNU wget2 >= 2.1.0, < 2.2.1 2.2.1

References