Back
CVE-2018-1000156
GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation…
High7.8EPSS 5.3%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 5.3% · top 7.3% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
n/a
- affected n/a
References (21)
- https://savannah.gnu.org/bugs/index.php?53566 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [debian-lts-announce] 20180416 [SECURITY] [DLA 1348-1] patch security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- USN-3624-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-3624-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- http://rachelbythebay.com/w/2018/04/05/bangpatch/ (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2018:2091 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2094 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2093 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:1200 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2095 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:1199 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894667#19 (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2018:2092 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2097 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2096 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- GLSA-201904-17 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 20190730 [SECURITY] [DSA 4489-1] patch security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20190816 Details about recent GNU patch vulnerabilities (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html (opens in a new tab)x_refsource_MISCx_transferred
- https://web.archive.org/web/20180405231329/https://twitter.com/kurtseifried/status/982028968877436928 (opens in a new tab)
- https://twitter.com/kurtseifried/status/982028968877436928 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-1000156)Record last updated .