CVE-2018-1000156: Canonical Ubuntu Linux
High severity, CVSS 7.8. EPSS: 5.3% chance of exploitation in the next 30 days.
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.
Affected products
- Canonical Ubuntu Linux: version 12.04 only; version 14.04 only; version 16.04 only; version 17.10 only
- Debian Debian Linux: version 7.0 only
- GNU Patch: version 2.7.6 only
- Red Hat Enterprise Linux Desktop: version 6.0 only; version 7.0 only
- Red Hat Enterprise Linux Server: version 6.0 only; version 7.0 only
- Red Hat Enterprise Linux Server Aus: version 6.4 only; version 6.5 only; version 6.6 only; version 7.2 only; version 7.3 only; version 7.4 only; …
- Red Hat Enterprise Linux Server Eus: version 6.7 only; version 7.3 only; version 7.4 only; version 7.5 only; version 7.6 only
- Red Hat Enterprise Linux Server Tus: version 6.6 only; version 7.2 only; version 7.3 only; version 7.4 only; version 7.6 only
- Red Hat Enterprise Linux Workstation: version 6.0 only; version 7.0 only
Published 2018-04-06. Last modified 2026-06-17.