CVE-2018-1000156
Publication date 6 April 2018
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| patch | ||
| 16.04 LTS xenial |
Fixed 2.7.5-1ubuntu0.16.04.1
|
|
| 14.04 LTS trusty |
Fixed 2.7.1-4ubuntu2.4
|
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-3624-1
- Patch vulnerabilities
- 10 April 2018
- USN-3624-2
- Patch vulnerabilities
- 16 April 2018