Wget2: gnu wget2: memory corruption and crash via filename sanitization logic with attacker-controlled urls
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-69195
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 15:04 UTC · Revision 1
Source evidence
Wget2: gnu wget2: memory corruption and crash via filename sanitization logic with attacker-controlled urls
core-osv · Original sourcePublished 9 Jan 2026, 07:57 UTC
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.
osv:CVE-2025-69195
Complete source record
{
"id": "712767cee58d8f2ea493bf2ef04e620272f12d4e5bf9ce930c99dbe9c04e0826",
"url": "https://osv.dev/vulnerability/CVE-2025-69195",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Wget2: gnu wget2: memory corruption and crash via filename sanitization logic with attacker-controlled urls",
"summary": "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.",
"evidence": "osv:CVE-2025-69195",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-69195",
"aliases": [
"CVE-2025-69195"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.com/gnuwget/wget2",
"type": "GIT",
"events": [
{
"introduced": "657e3d22c488a2d1f173e208e253995e15f8b6db"
},
{
"last_affected": "f2071aaaf6f947fd03d243c6b619302d31d497f1"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "2.1.0"
},
{
"last_affected": "2.2.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"v2.2.0",
"v2.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-69195.json"
}
}
],
"modified": "2026-10-28T02:30:29.935382863Z",
"provider": "osv",
"references": [
"https://access.redhat.com/security/cve/CVE-2025-69195",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/69xxx/CVE-2025-69195.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-69195",
"https://bugzilla.redhat.com/show_bug.cgi?id=2425770",
"https://gitlab.com/gnuwget/wget2"
],
"provider_metadata": {
"cwe_ids": [
"CWE-121"
],
"cna_assigner": "fedora",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/69xxx/CVE-2025-69195.json"
}
},
"related_cves": [
{
"value": "CVE-2025-69195",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496647,
"published_at": "2026-01-09T07:57:17.24+00:00"
}