Description
An issue was discovered in GNU patch through 2.7.6. There is a segmentation fault, associated with a NULL pointer dereference, leading to a denial of service in the intuit_diff_type function in pch.c, aka a "mangled rename" issue.
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 16.04 LTS | patch | 2.7.5-1ubuntu0.16.04.1 | USN-3624-1 |
| Ubuntu 14.04 LTS | patch | 2.7.1-4ubuntu2.4 | USN-3624-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | patch | 2.7.5-8.5.1 | SUSE-SU-2018:1128-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | patch | 2.7.5-8.5.1 | SUSE-SU-2018:1128-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | patch | 2.7.6-3.43 | openSUSE-SU-2024:11151-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | patch | 2.7.6-r2 | — |
| Alpine v3.23 | patch | 2.7.6-r2 | — |
| Alpine v3.22 | patch | 2.7.6-r2 | — |
| Alpine v3.21 | patch | 2.7.6-r2 | — |
| Alpine v3.20 | patch | 2.7.6-r2 | — |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | patch | 2.7.6-r2 | — |
| Alpine v3.18 | patch | 2.7.6-r2 | — |
| Alpine v3.17 | patch | 2.7.6-r2 | — |
| Alpine v3.16 | patch | 2.7.6-r2 | — |
| Alpine v3.15 | patch | 2.7.6-r2 | — |
| Alpine v3.14 | patch | 2.7.6-r2 | — |
| Alpine v3.13 | patch | 2.7.6-r2 | — |
| Alpine v3.12 | patch | 2.7.6-r2 | — |
| Alpine v3.11 | patch | 2.7.6-r2 | — |
| Alpine v3.10 | patch | 2.7.6-r2 | — |
| Alpine v3.9 | patch | 2.7.6-r2 | — |
| Alpine v3.8 | patch | 2.7.6-r2 | — |
| Alpine v3.7 | patch | 2.7.5-r2 | — |
| Alpine v3.6 | patch | 2.7.5-r2 | — |
| Alpine v3.5 | patch | 2.7.5-r2 | — |
| Alpine v3.4 | patch | 2.7.5-r2 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | patch | 2.7.6-9 | — |
| Azure Linux 2 (CBL-Mariner) | patch | 2.7.6-7 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | patch | 2.7.6-r3 | — |
Advisories 4
- USN-3624-1 patch vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2024:11151-1 patch-2.7.6-3.43 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- VDE-2025-053 Phoenix Contact: Multiple Vulnerabilities in PLCnext Firmware CERT@VDE · Jul 8, 2025
- SUSE-SU-2018:1128-1 Security update for patch SUSE / openSUSE Security Updates · May 2, 2025
References
- USN-3624-1 vendor-advisory
- https://git.savannah.gnu.org/cgit/patch.git/commit/?id=f290f48a621867084884bfff87f8093c15195e6a
- 103044 vdb-entry
- https://savannah.gnu.org/bugs/index.php?53132
- GLSA-201904-17 vendor-advisory