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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2018-04-06T13:00:00

Updated: 2024-08-05T12:33:49.376Z

Reserved: 2018-04-06T00:00:00

Link: CVE-2018-1000156

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-04-06T13:29:00.377

Modified: 2024-11-21T03:39:48.730

Link: CVE-2018-1000156

cve-icon Redhat

Severity : Important

Publid Date: 2018-04-05T00:00:00Z

Links: CVE-2018-1000156 - Bugzilla