GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can result in code execution. This attack appear to be exploitable via a patch file processed via the patch utility. This is similar to FreeBSD's CVE-2015-1418 however although they share a common ancestry the code bases have diverged over time.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.0 Vector: (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade patch | Mar 26, 2024 | Apr 6, 2018 |
| Amazon Linux Ami 2 | — | Upgrade patch-debuginfoUpgrade patch | Apr 27, 2020 | Apr 6, 2018 |
| Amazon_linux | — | Upgrade patch | May 11, 2018 | Apr 6, 2018 |
| Arch Linux | — | Upgrade to the latest version of Arch Linux | Jul 11, 2025 | Apr 6, 2018 |
| Centos_linux | — | Upgrade patch-debuginfoUpgrade patch | May 4, 2018 | Apr 6, 2018 |
| Debian | — | Upgrade patch | Feb 19, 2019 | Apr 6, 2018 |
| Freebsd | — | Upgrade patch | Nov 12, 2018 | Nov 11, 2018 |
| Gentoo Linux | — | Upgrade sys-devel/patch. | Apr 18, 2019 | Apr 6, 2018 |
| Huawei Euleros 2_0_sp1 | — | Upgrade patch | May 29, 2018 | Apr 6, 2018 |
| Huawei Euleros 2_0_sp2 | — | Upgrade patch | May 29, 2018 | Apr 6, 2018 |
| Huawei Euleros 2_0_sp3 | — | Upgrade patch | Jul 3, 2018 | Apr 6, 2018 |
| Oracle Solaris | — | Upgrade text/gnu-patch to version 2.7.6.1-11.4.15.0.1.2.0 on Solaris 11.4Upgrade text/gnu-patch to version 2.7.6.1-0.175.3.33.0.3.0 on Solaris 11.3 | Jun 18, 2018 | Apr 6, 2018 |
| Oracle_linux | — | Upgrade patch | Apr 24, 2018 | Apr 5, 2018 |
| Redhat_linux | — | Upgrade patchNo solution existsUpgrade patch-debuginfo | Apr 24, 2018 | Apr 6, 2018 |
| Suse | — | Upgrade patch | May 3, 2018 | Apr 6, 2018 |
| Ubuntu | — | Upgrade patch | Apr 25, 2018 | Apr 6, 2018 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Apr 6, 2018 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub