Description
Directory traversal vulnerability in util.c in GNU patch 2.6.1 and earlier allows user-assisted remote attackers to create or overwrite arbitrary files via a filename that is specified with a .. (dot dot) or full pathname, a related issue to CVE-2010-1679.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | patch | No fix yet | — |
| Debian 13 | patch | No fix yet | — |
| Debian 12 | patch | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | patch | 2.7.1-4ubuntu2.3 | USN-2651-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | patch | 2.5.9-252.22.7.1 | SUSE-SU-2018:1162-1 |
| SLES 11 SP3 | patch | 2.5.9-252.22.7.1 | SUSE-SU-2018:1162-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 11 SP4 | patch | 2.5.9-252.22.7.1 | SUSE-SU-2018:1162-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | patch | 2.5.9-252.22.7.1 | SUSE-SU-2018:1162-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | patch | 2.7.5-1.112 | openSUSE-SU-2024:10379-1 |
Advisories 3
- USN-2651-1 patch vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2018:1162-1 Security update for patch SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10379-1 patch-2.7.5-1.112 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- ADV-2011-0600 vdb-entry
- http://support.apple.com/kb/HT4723
- [oss-security] 20110106 Re: CVE request: patch directory traversal flaw mailing-list
- 46768 vdb-entry
- APPLE-SA-2011-06-23-1 vendor-advisory
- [oss-security] 20110106 Re: CVE request: patch directory traversal flaw mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=667529
- FEDORA-2011-1269 vendor-advisory
- [oss-security] 20110106 Re: CVE request: patch directory traversal flaw mailing-list
- http://git.savannah.gnu.org/cgit/patch.git/commit/?id=685a78b6052f4df6eac6d625a545cfb54a6ac0e1
- 43677 third-party-advisory
- FEDORA-2011-1272 vendor-advisory
- [oss-security] 20110105 CVE request: patch directory traversal flaw mailing-list
- [bug-patch] 20101230 Directory traversal vulnerability in patch (or dpkg-source) (fwd) mailing-list
- 43663 third-party-advisory