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.

Project Subscriptions

Vendors Products
Canonical Subscribe
Ubuntu Linux Subscribe
Debian Linux Subscribe
Enterprise Linux Subscribe
Enterprise Linux Desktop Subscribe
Enterprise Linux Server Subscribe
Enterprise Linux Server Aus Subscribe
Enterprise Linux Server Eus Subscribe
Enterprise Linux Server Tus Subscribe
Enterprise Linux Workstation Subscribe
Rhel Aus Subscribe
Rhel E4s Subscribe
Rhel Eus Subscribe
Rhel Tus Subscribe
Advisories
Source ID Title
Debian DLA Debian DLA DLA-1348-1 patch security update
Debian DSA Debian DSA DSA-4489-1 patch security update
Ubuntu USN Ubuntu USN USN-3624-1 Patch vulnerabilities
Ubuntu USN Ubuntu USN USN-3624-2 Patch vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.42803}

epss

{'score': 0.43395}


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


Projects

Sign in to view the affected projects.

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

cve-icon OpenCVE Enrichment

No data.

Weaknesses