High severity7.8NVD Advisory· Published Apr 6, 2018· Updated Jun 17, 2026
CVE-2018-1000156
CVE-2018-1000156
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
14- osv-coords13 versionspkg:apk/chainguard/patchpkg:apk/chainguard/patch-docpkg:apk/wolfi/patchpkg:apk/wolfi/patch-docpkg:rpm/opensuse/patch&distro=openSUSE%20Tumbleweedpkg:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3pkg:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-LTSSpkg:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-TERADATApkg:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/patch&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3
< 2.7.6-r3+ 12 more
- (no CPE)range: < 2.7.6-r3
- (no CPE)range: < 2.7.6-r3
- (no CPE)range: < 2.7.6-r3
- (no CPE)range: < 2.7.6-r3
- (no CPE)range: < 2.7.6-3.43
- (no CPE)range: < 2.7.5-8.5.1
- (no CPE)range: < 2.5.9-252.22.7.1
- (no CPE)range: < 2.5.9-252.22.7.1
- (no CPE)range: < 2.5.9-252.22.7.1
- (no CPE)range: < 2.5.9-252.22.7.1
- (no CPE)range: < 2.7.5-8.5.1
- (no CPE)range: < 2.5.9-252.22.7.1
- (no CPE)range: < 2.7.5-8.5.1
Patches
Vulnerability mechanics
References
20- rachelbythebay.com/w/2018/04/05/bangpatch/nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2018:1199nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2018:1200nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2018:2091nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2018:2092nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2018:2093nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2018:2094nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2018:2095nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2018:2096nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2018:2097nvdThird Party Advisory
- bugs.debian.org/cgi-bin/bugreport.cginvdIssue TrackingThird Party Advisory
- lists.debian.org/debian-lts-announce/2018/04/msg00013.htmlnvdMailing ListThird Party Advisory
- security.gentoo.org/glsa/201904-17nvdThird Party Advisory
- twitter.com/kurtseifried/status/982028968877436928nvdThird Party Advisory
- usn.ubuntu.com/3624-1/nvdThird Party Advisory
- usn.ubuntu.com/3624-2/nvdThird Party Advisory
- packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.htmlnvd
- seclists.org/bugtraq/2019/Aug/29nvd
- seclists.org/bugtraq/2019/Jul/54nvd
- web.archive.org/web/20180405231329/https://twitter.com/kurtseifried/status/982028968877436928nvd
News mentions
0No linked articles in our index yet.