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 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.
Published:Apr 5, 2018
Last Modified:Apr 14, 2025
EPS:Apr 6, 2018
EPSS Score:0.42803
CVSS Score:7.8
Affected Products
Vendor
Product
Action
Vendor
Canonical
Product
Ubuntu Linux
Canonical
Ubuntu Linux
Vendor
Debian
Product
Debian Linux
Debian
Debian Linux
Vendor
Gnu
Product
Patch
Gnu
Patch
Vendor
Redhat
Product
Enterprise Linux
Redhat
Enterprise Linux
Vendor
Redhat
Product
Enterprise Linux Desktop
Redhat
Enterprise Linux Desktop
Vendor
Redhat
Product
Enterprise Linux Server
Redhat
Enterprise Linux Server
Vendor
Redhat
Product
Enterprise Linux Server Aus
Redhat
Enterprise Linux Server Aus
Vendor
Redhat
Product
Enterprise Linux Server Eus
Redhat
Enterprise Linux Server Eus
Vendor
Redhat
Product
Enterprise Linux Server Tus
Redhat
Enterprise Linux Server Tus
Vendor
Redhat
Product
Enterprise Linux Workstation
Redhat
Enterprise Linux Workstation
Vendor
Redhat
Product
Rhel Aus
Redhat
Rhel Aus
Vendor
Redhat
Product
Rhel E4s
Redhat
Rhel E4s
Vendor
Redhat
Product
Rhel Eus
Redhat
Rhel Eus
Vendor
Redhat
Product
Rhel Tus
Redhat
Rhel Tus
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
