CVE-2018-1000156
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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 5.32% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 92.2% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-04-06 13:00Z8 YR AGO
- Last updated
- 2025-04-14 19:36Z1 YR AGO
- Reserved
- 2018-04-06
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- a09201c808e08672c54b25b6aea3d70cd19bc6c9c0989e56020ae4dcfdab303b
05 Affected products
06 References
- savannah.gnu.orghttps://savannah.gnu.org/bugs/index.php?53566
- lists.debian.org[debian-lts-announce] 20180416 [SECURITY] [DLA 1348-1] patch security updatehttps://lists.debian.org/debian-lts-announce/2018/04/msg00013.html
- usn.ubuntu.comUSN-3624-2https://usn.ubuntu.com/3624-2/
- usn.ubuntu.comUSN-3624-1https://usn.ubuntu.com/3624-1/
- rachelbythebay.comhttp://rachelbythebay.com/w/2018/04/05/bangpatch/
- access.redhat.comRHSA-2018:2091https://access.redhat.com/errata/RHSA-2018:2091
- access.redhat.comRHSA-2018:2094https://access.redhat.com/errata/RHSA-2018:2094
- access.redhat.comRHSA-2018:2093https://access.redhat.com/errata/RHSA-2018:2093
- access.redhat.comRHSA-2018:1200https://access.redhat.com/errata/RHSA-2018:1200
- access.redhat.comRHSA-2018:2095https://access.redhat.com/errata/RHSA-2018:2095
- access.redhat.comRHSA-2018:1199https://access.redhat.com/errata/RHSA-2018:1199
- bugs.debian.orghttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894667#19
- access.redhat.comRHSA-2018:2092https://access.redhat.com/errata/RHSA-2018:2092
- access.redhat.comRHSA-2018:2097https://access.redhat.com/errata/RHSA-2018:2097
- access.redhat.comRHSA-2018:2096https://access.redhat.com/errata/RHSA-2018:2096
- security.gentoo.orgGLSA-201904-17https://security.gentoo.org/glsa/201904-17
- seclists.org20190730 [SECURITY] [DSA 4489-1] patch security updatehttps://seclists.org/bugtraq/2019/Jul/54
- seclists.org20190816 Details about recent GNU patch vulnerabilitieshttps://seclists.org/bugtraq/2019/Aug/29
- packetstormsecurity.comhttp://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html
- web.archive.orghttps://web.archive.org/web/20180405231329/https://twitter.com/kurtseifried/status/982028968877436928
- twitter.comhttps://twitter.com/kurtseifried/status/982028968877436928
07 Fixed in
Arch Linux
- patch Fixed
A version is affected if any line below covers it.
- Affected before 2.7.6-3
- Affected before 2.7.6-7
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- patch Fixed in 2.7.6-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- patch Fixed in 2.7.6-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- patch Fixed in 2.7.6-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- patch Fixed in 2.7.1-4ubuntu2.4
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- patch Fixed in 2.7.5-1ubuntu0.16.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.