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

Mon, 14 Apr 2025 19:45:00 +0000


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-04-14T19:36:21.263Z

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

Link: CVE-2018-1000156

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2025-04-14T20:15:16.763

Link: CVE-2018-1000156

cve-icon Redhat

Severity : Important

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

Links: CVE-2018-1000156 - Bugzilla