CVE-2018-1000156

Published: 06 April 2018

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.

Priority

Medium

CVSS 3 base score: 7.8

Status

Package Release Status
patch
Launchpad, Ubuntu, Debian
Upstream Needs triage

Ubuntu 18.04 LTS (Bionic Beaver)
Released (2.7.6-2ubuntu1)
Ubuntu 16.04 LTS (Xenial Xerus)
Released (2.7.5-1ubuntu0.16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr)
Released (2.7.1-4ubuntu2.4)
Patches:
Upstream: http://git.savannah.gnu.org/cgit/patch.git/commit/?id=123eaff0d5d1aebe128295959435b9ca5909c26d