CVE-2018-1000156
publishedPackage status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2018-1008 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | patch | Fixed | 2.7.6-r6 | Package fix record |
| Debian | wheezy | patch | Advisory build | 2.6.1-3+deb7u1 | DLA-1348-1 |
| Oracle Linux | 6 | patchi686 | Advisory build | 0:2.6-8.el6_9 | ELSA-2018-1199 |
| Red Hat Enterprise Linux | RHEL-6 | patchi686 | Advisory build | 2.6-8.el6_7 | RHSA-2018:2094 |
| SUSE / openSUSE | SLE-11-SP3 | patchi586 | Advisory build | 2.5.9-252.22.7.1 | SUSE-SU-2018:1162-1 |
| Alpine Linux | v3.10 | patch | Fixed | 2.7.6-r6 | Package fix record |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.11 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Alpine Linux | v3.12 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Alpine Linux | v3.13 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Alpine Linux | v3.14 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Alpine Linux | v3.15 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Alpine Linux | v3.16 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Alpine Linux | v3.17 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Alpine Linux | v3.18 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Alpine Linux | v3.19 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Alpine Linux | v3.20 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Alpine Linux | v3.21 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Alpine Linux | v3.22 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Alpine Linux | v3.23 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Alpine Linux | v3.24 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Alpine Linux | v3.7 | patch | Fixed | 2.7.6-r0 | Package fix record |
| Alpine Linux | v3.8 | patch | Fixed | 2.7.6-r4 | Package fix record |
| Alpine Linux | v3.9 | patch | Fixed | 2.7.6-r6 | Package fix record |
| Oracle Linux | 6 | patchx86_64 | Advisory build | 0:2.6-8.el6_9 | ELSA-2018-1199 |
| Oracle Linux | 7 | patchaarch64 | Advisory build | 0:2.7.1-10.el7_5 | ELSA-2018-1200 |
| Oracle Linux | 7 | patchx86_64 | Advisory build | 0:2.7.1-10.el7_5 | ELSA-2018-1200 |
| Red Hat Enterprise Linux | RHEL-6 | patchi686 | Advisory build | 2.6-8.el6_9 | RHSA-2018:1199 |
| Red Hat Enterprise Linux | RHEL-6 | patchppc64 | Advisory build | 2.6-8.el6_7 | RHSA-2018:2094 |
| Red Hat Enterprise Linux | RHEL-6 | patchppc64 | Advisory build | 2.6-8.el6_9 | RHSA-2018:1199 |
| Red Hat Enterprise Linux | RHEL-6 | patchs390x | Advisory build | 2.6-8.el6_7 | RHSA-2018:2094 |
| Red Hat Enterprise Linux | RHEL-6 | patchs390x | Advisory build | 2.6-8.el6_9 | RHSA-2018:1199 |
| Red Hat Enterprise Linux | RHEL-6 | patchsrc | Advisory build | 2.6-8.el6_4 | RHSA-2018:2097 |
| Red Hat Enterprise Linux | RHEL-6 | patchsrc | Advisory build | 2.6-8.el6_5 | RHSA-2018:2096 |
| Red Hat Enterprise Linux | RHEL-6 | patchsrc | Advisory build | 2.6-8.el6_6 | RHSA-2018:2095 |
| Red Hat Enterprise Linux | RHEL-6 | patchsrc | Advisory build | 2.6-8.el6_7 | RHSA-2018:2094 |
| Red Hat Enterprise Linux | RHEL-6 | patchsrc | Advisory build | 2.6-8.el6_9 | RHSA-2018:1199 |
| Red Hat Enterprise Linux | RHEL-6 | patchx86_64 | Advisory build | 2.6-8.el6_4 | RHSA-2018:2097 |
| Red Hat Enterprise Linux | RHEL-6 | patchx86_64 | Advisory build | 2.6-8.el6_5 | RHSA-2018:2096 |
| Red Hat Enterprise Linux | RHEL-6 | patchx86_64 | Advisory build | 2.6-8.el6_6 | RHSA-2018:2095 |
| Red Hat Enterprise Linux | RHEL-6 | patchx86_64 | Advisory build | 2.6-8.el6_7 | RHSA-2018:2094 |
| Red Hat Enterprise Linux | RHEL-6 | patchx86_64 | Advisory build | 2.6-8.el6_9 | RHSA-2018:1199 |
| Red Hat Enterprise Linux | RHEL-6 | patch-debuginfoi686 | Advisory build | 2.6-8.el6_7 | RHSA-2018:2094 |
| Red Hat Enterprise Linux | RHEL-6 | patch-debuginfoi686 | Advisory build | 2.6-8.el6_9 | RHSA-2018:1199 |
| Red Hat Enterprise Linux | RHEL-6 | patch-debuginfoppc64 | Advisory build | 2.6-8.el6_7 | RHSA-2018:2094 |
| Red Hat Enterprise Linux | RHEL-6 | patch-debuginfoppc64 | Advisory build | 2.6-8.el6_9 | RHSA-2018:1199 |
| Red Hat Enterprise Linux | RHEL-6 | patch-debuginfos390x | Advisory build | 2.6-8.el6_7 | RHSA-2018:2094 |
| Red Hat Enterprise Linux | RHEL-6 | patch-debuginfos390x | Advisory build | 2.6-8.el6_9 | RHSA-2018:1199 |
| Red Hat Enterprise Linux | RHEL-6 | patch-debuginfox86_64 | Advisory build | 2.6-8.el6_4 | RHSA-2018:2097 |
| Red Hat Enterprise Linux | RHEL-6 | patch-debuginfox86_64 | Advisory build | 2.6-8.el6_5 | RHSA-2018:2096 |
| Red Hat Enterprise Linux | RHEL-6 | patch-debuginfox86_64 | Advisory build | 2.6-8.el6_6 | RHSA-2018:2095 |
| Red Hat Enterprise Linux | RHEL-6 | patch-debuginfox86_64 | Advisory build | 2.6-8.el6_7 | RHSA-2018:2094 |
| Red Hat Enterprise Linux | RHEL-6 | patch-debuginfox86_64 | Advisory build | 2.6-8.el6_9 | RHSA-2018:1199 |
| Red Hat Enterprise Linux | RHEL-7 | patchaarch64 | Advisory build | 2.7.1-10.el7_5 | RHSA-2018:1200 |
| Red Hat Enterprise Linux | RHEL-7 | patchppc64 | Advisory build | 2.7.1-10.el7_3 | RHSA-2018:2092 |
| Red Hat Enterprise Linux | RHEL-7 | patchppc64 | Advisory build | 2.7.1-10.el7_4 | RHSA-2018:2091 |
| Red Hat Enterprise Linux | RHEL-7 | patchppc64 | Advisory build | 2.7.1-10.el7_5 | RHSA-2018:1200 |
| Red Hat Enterprise Linux | RHEL-7 | patchppc64le | Advisory build | 2.7.1-10.el7_3 | RHSA-2018:2092 |
| Red Hat Enterprise Linux | RHEL-7 | patchppc64le | Advisory build | 2.7.1-10.el7_4 | RHSA-2018:2091 |
| Red Hat Enterprise Linux | RHEL-7 | patchppc64le | Advisory build | 2.7.1-10.el7_5 | RHSA-2018:1200 |
| Red Hat Enterprise Linux | RHEL-7 | patchs390x | Advisory build | 2.7.1-10.el7_3 | RHSA-2018:2092 |
| Red Hat Enterprise Linux | RHEL-7 | patchs390x | Advisory build | 2.7.1-10.el7_4 | RHSA-2018:2091 |
| Red Hat Enterprise Linux | RHEL-7 | patchs390x | Advisory build | 2.7.1-10.el7_5 | RHSA-2018:1200 |
| Red Hat Enterprise Linux | RHEL-7 | patchsrc | Advisory build | 2.7.1-10.el7_2 | RHSA-2018:2093 |
| Red Hat Enterprise Linux | RHEL-7 | patchsrc | Advisory build | 2.7.1-10.el7_3 | RHSA-2018:2092 |
| Red Hat Enterprise Linux | RHEL-7 | patchsrc | Advisory build | 2.7.1-10.el7_4 | RHSA-2018:2091 |
| Red Hat Enterprise Linux | RHEL-7 | patchsrc | Advisory build | 2.7.1-10.el7_5 | RHSA-2018:1200 |
| Red Hat Enterprise Linux | RHEL-7 | patchx86_64 | Advisory build | 2.7.1-10.el7_2 | RHSA-2018:2093 |
| Red Hat Enterprise Linux | RHEL-7 | patchx86_64 | Advisory build | 2.7.1-10.el7_3 | RHSA-2018:2092 |
| Red Hat Enterprise Linux | RHEL-7 | patchx86_64 | Advisory build | 2.7.1-10.el7_4 | RHSA-2018:2091 |
| Red Hat Enterprise Linux | RHEL-7 | patchx86_64 | Advisory build | 2.7.1-10.el7_5 | RHSA-2018:1200 |
| Red Hat Enterprise Linux | RHEL-7 | patch-debuginfoaarch64 | Advisory build | 2.7.1-10.el7_5 | RHSA-2018:1200 |
| Red Hat Enterprise Linux | RHEL-7 | patch-debuginfoppc64 | Advisory build | 2.7.1-10.el7_3 | RHSA-2018:2092 |
| Red Hat Enterprise Linux | RHEL-7 | patch-debuginfoppc64 | Advisory build | 2.7.1-10.el7_4 | RHSA-2018:2091 |
| Red Hat Enterprise Linux | RHEL-7 | patch-debuginfoppc64 | Advisory build | 2.7.1-10.el7_5 | RHSA-2018:1200 |
| Red Hat Enterprise Linux | RHEL-7 | patch-debuginfoppc64le | Advisory build | 2.7.1-10.el7_3 | RHSA-2018:2092 |
| Red Hat Enterprise Linux | RHEL-7 | patch-debuginfoppc64le | Advisory build | 2.7.1-10.el7_4 | RHSA-2018:2091 |
| Red Hat Enterprise Linux | RHEL-7 | patch-debuginfoppc64le | Advisory build | 2.7.1-10.el7_5 | RHSA-2018:1200 |
| Red Hat Enterprise Linux | RHEL-7 | patch-debuginfos390x | Advisory build | 2.7.1-10.el7_3 | RHSA-2018:2092 |
| Red Hat Enterprise Linux | RHEL-7 | patch-debuginfos390x | Advisory build | 2.7.1-10.el7_4 | RHSA-2018:2091 |
| Red Hat Enterprise Linux | RHEL-7 | patch-debuginfos390x | Advisory build | 2.7.1-10.el7_5 | RHSA-2018:1200 |
| Red Hat Enterprise Linux | RHEL-7 | patch-debuginfox86_64 | Advisory build | 2.7.1-10.el7_2 | RHSA-2018:2093 |
| Red Hat Enterprise Linux | RHEL-7 | patch-debuginfox86_64 | Advisory build | 2.7.1-10.el7_3 | RHSA-2018:2092 |
| Red Hat Enterprise Linux | RHEL-7 | patch-debuginfox86_64 | Advisory build | 2.7.1-10.el7_4 | RHSA-2018:2091 |
| Red Hat Enterprise Linux | RHEL-7 | patch-debuginfox86_64 | Advisory build | 2.7.1-10.el7_5 | RHSA-2018:1200 |
| SUSE / openSUSE | SLE-11-SP3 | patchs390x | Advisory build | 2.5.9-252.22.7.1 | SUSE-SU-2018:1162-1 |
| SUSE / openSUSE | SLE-11-SP3 | patchx86_64 | Advisory build | 2.5.9-252.22.7.1 | SUSE-SU-2018:1162-1 |
| SUSE / openSUSE | SLE-11-SP4 | patchi586 | Advisory build | 2.5.9-252.22.7.1 | SUSE-SU-2018:1162-1 |
| SUSE / openSUSE | SLE-11-SP4 | patchia64 | Advisory build | 2.5.9-252.22.7.1 | SUSE-SU-2018:1162-1 |
| SUSE / openSUSE | SLE-11-SP4 | patchppc64 | Advisory build | 2.5.9-252.22.7.1 | SUSE-SU-2018:1162-1 |
| SUSE / openSUSE | SLE-11-SP4 | patchs390x | Advisory build | 2.5.9-252.22.7.1 | SUSE-SU-2018:1162-1 |
| SUSE / openSUSE | SLE-11-SP4 | patchx86_64 | Advisory build | 2.5.9-252.22.7.1 | SUSE-SU-2018:1162-1 |
| SUSE / openSUSE | SLE-12-SP3 | patchaarch64 | Advisory build | 2.7.5-8.5.1 | SUSE-SU-2018:1128-1 |
| SUSE / openSUSE | SLE-12-SP3 | patchppc64le | Advisory build | 2.7.5-8.5.1 | SUSE-SU-2018:1128-1 |
| SUSE / openSUSE | SLE-12-SP3 | patchs390x | Advisory build | 2.7.5-8.5.1 | SUSE-SU-2018:1128-1 |
| SUSE / openSUSE | SLE-12-SP3 | patchx86_64 | Advisory build | 2.7.5-8.5.1 | SUSE-SU-2018:1128-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | boshaarch64 | Advisory build | 2021.09.01-44.2 | OPENSUSE-SU-2024:11372-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | boshppc64le | Advisory build | 2021.09.01-44.2 | OPENSUSE-SU-2024:11372-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | boshs390x | Advisory build | 2021.09.01-44.2 | OPENSUSE-SU-2024:11372-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | boshx86_64 | Advisory build | 2021.09.01-44.2 | OPENSUSE-SU-2024:11372-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | btcflashaarch64 | Advisory build | 2021.09.01-44.2 | OPENSUSE-SU-2024:11372-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
21- http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html
- http://rachelbythebay.com/w/2018/04/05/bangpatch/
- RHSA-2018:1199 https://access.redhat.com/errata/RHSA-2018:1199
- RHSA-2018:1200 https://access.redhat.com/errata/RHSA-2018:1200
- RHSA-2018:2091 https://access.redhat.com/errata/RHSA-2018:2091
- RHSA-2018:2092 https://access.redhat.com/errata/RHSA-2018:2092
- RHSA-2018:2093 https://access.redhat.com/errata/RHSA-2018:2093
- RHSA-2018:2094 https://access.redhat.com/errata/RHSA-2018:2094
- RHSA-2018:2095 https://access.redhat.com/errata/RHSA-2018:2095
- RHSA-2018:2096 https://access.redhat.com/errata/RHSA-2018:2096
- RHSA-2018:2097 https://access.redhat.com/errata/RHSA-2018:2097
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894667#19
- [debian-lts-announce] 20180416 [SECURITY] [DLA 1348-1] patch security update https://lists.debian.org/debian-lts-announce/2018/04/msg00013.html
- https://savannah.gnu.org/bugs/index.php?53566
- 20190816 Details about recent GNU patch vulnerabilities https://seclists.org/bugtraq/2019/Aug/29
- 20190730 [SECURITY] [DSA 4489-1] patch security update https://seclists.org/bugtraq/2019/Jul/54
- GLSA-201904-17 https://security.gentoo.org/glsa/201904-17
- https://twitter.com/kurtseifried/status/982028968877436928
- USN-3624-1 https://usn.ubuntu.com/3624-1/
- USN-3624-2 https://usn.ubuntu.com/3624-2/
- https://web.archive.org/web/20180405231329/https://twitter.com/kurtseifried/status/982028968877436928
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b2136929860d29307a93fddad3248b659fa99696431e1ef2d502a6ea5fef8dde
- Ingested
- 23 Sep 2026, 07:43:16 UTC
- Source record
- Official CVE record