← Vulnerability feed

Vulnerability record · CVE-2010-2252 · published 6 July 2010

CVE-2010-2252: Gnu wget improper input validation vulnerability

Gnu · Wget

GNU Wget 1.12 and earlier uses a server-provided filename instead of the original URL to determine the destination filename of a download, which allows remote servers to create or overwrite arbitrary files via a 3xx redirect to a URL with a .wgetrc filename followed by a 3xx redirect to a URL with a crafted filename, and possibly execute arbitrary code as a consequence of writing to a dotfile in a home directory.

6.8 CVSS 2.0 Medium EPSS 4.2% · top 8.8% CWE-20 · Improper input validation
6.8CVSS 2.0 base score
4.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
36References
16 Jun 2026Last modified by NVD

Description

GNU Wget 1.12 and earlier uses a server-provided filename instead of the original URL to determine the destination filename of a download, which allows remote servers to create or overwrite arbitrary files via a 3xx redirect to a URL with a .wgetrc filename followed by a 3xx redirect to a URL with a crafted filename, and possibly execute arbitrary code as a consequence of writing to a dotfile in a home directory.

AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00023.html
http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00031.html
http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00032.html
http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00033.html
http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00034.html
http://marc.info/?l=oss-security&m=127411372529485&w=2
http://marc.info/?l=oss-security&m=127412569216380&w=2
http://marc.info/?l=oss-security&m=127416905831994&w=2
http://marc.info/?l=oss-security&m=127422615924593&w=2
http://marc.info/?l=oss-security&m=127427572721591&w=2
http://marc.info/?l=oss-security&m=127432968701342&w=2
http://marc.info/?l=oss-security&m=127441275821210&w=2
http://marc.info/?l=oss-security&m=127611288927500&w=2
http://rhn.redhat.com/errata/RHSA-2014-0151.html
http://www.ocert.org/advisories/ocert-2010-001.html
http://www.securityfocus.com/bid/65722
https://bugzilla.redhat.com/show_bug.cgi?id=591580
https://bugzilla.redhat.com/show_bug.cgi?id=602797
http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00023.html
http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00031.html
http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00032.html
http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00033.html
http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00034.html
http://marc.info/?l=oss-security&m=127411372529485&w=2
http://marc.info/?l=oss-security&m=127412569216380&w=2
http://marc.info/?l=oss-security&m=127416905831994&w=2
http://marc.info/?l=oss-security&m=127422615924593&w=2
http://marc.info/?l=oss-security&m=127427572721591&w=2
http://marc.info/?l=oss-security&m=127432968701342&w=2
http://marc.info/?l=oss-security&m=127441275821210&w=2
http://marc.info/?l=oss-security&m=127611288927500&w=2
http://rhn.redhat.com/errata/RHSA-2014-0151.html
http://www.ocert.org/advisories/ocert-2010-001.html
http://www.securityfocus.com/bid/65722
https://bugzilla.redhat.com/show_bug.cgi?id=591580
https://bugzilla.redhat.com/show_bug.cgi?id=602797

Track CVE-2010-2252 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2019-5953Gnu wget out-of-bounds write vulnerabilityBuffer overflow in GNU Wget 1.20.1 and earlier allows remote attackers to cause a denial-of-service (DoS) or may execute an arbitrary code via unspec…EPSS 5.9%9.3CVE-2014-4877Gnu wget path traversal vulnerabilityAbsolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled, allows remote FTP servers to write to arbitrary files, and …EPSS 40%9.1CVE-2024-38428Gnu wget interpretation conflict vulnerabilityurl.c in GNU Wget through 1.24.5 mishandles semicolons in the userinfo subcomponent of a URI, and thus there may be insecure behavior in which data t…EPSS 0.67%8.8CVE-2017-13089GNU Wget chunked transfer parser stack buffer overflowWget before 1.19.2 fails to validate that a chunk length in a chunked HTTP response is non-negative. A negative length is passed through MIN() to fd_…EPSS 80%analysed8.8CVE-2017-13090Gnu wget heap-based buffer overflow vulnerabilityThe retr.c:fd_read_body() function is called when processing OK responses. When the response is sent chunked in wget before 1.19.2, the chunk parser …EPSS 37%8.8CVE-2016-4971GNU wget HTTP-to-FTP redirect arbitrary file writeGNU wget before 1.18 follows a server-supplied redirect from HTTP to a crafted FTP resource and writes the retrieved content to an attacker-chosen pa…EPSS 46%analysed8.7CVE-2026-58469Gnu wget out-of-bounds read vulnerabilityGNU Wget through 1.25.0, fixed in commit 37a40fc, contains a heap buffer underread vulnerability in the clean_metalink_string() function within src/m…EPSS 0.49%8.1CVE-2016-7098Gnu wget race condition vulnerabilityRace condition in wget 1.17 and earlier, when used in recursive or mirroring mode to download a single file, might allow remote servers to bypass int…EPSS 7.5%

Source: NIST National Vulnerability Database (record CVE-2010-2252), CISA KEV, FIRST EPSS (scores of 2026-11-20). This page is refreshed as NVD updates the record.