Description
GNU patch 2.7.2 and earlier allows remote attackers to cause a denial of service (memory consumption and segmentation fault) via a crafted diff file.
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 | 2.7.1-7 | — |
| Debian 13 | patch | 2.7.1-7 | — |
| Debian 12 | patch | 2.7.1-7 | — |
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 |
Advisories 2
- 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
References
- https://savannah.gnu.org/bugs/?44051
- [oss-security] 20150122 Re: CVE request: directory traversal flaw in patch mailing-list
- FEDORA-2015-1134 vendor-advisory
- http://advisories.mageia.org/MGASA-2015-0068.html
- 72286 vdb-entry
- https://git.savannah.gnu.org/cgit/patch.git/commit/?id=0c08d7a902c6fdd49b704623a12d8d672ef18944
- FEDORA-2015-1165 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1185262
- USN-2651-1 vendor-advisory