LiveActive security incident?Get immediate response
CVE Record

CVE-2018-1000156: GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specificall...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysis

Security readout for executives and security teams

A malicious patch file can make GNU patch invoke its ed-based editing path in a way that may execute code. This matters most where developers, build systems, packaging tools, or CI jobs automatically apply patches from external or low-trust sources. Exposure is likely on Unix/Linux systems with GNU patch used by developers, package maintainers, build pipelines, or automation that applies patch files. It is not described as a standalone network-facing bug; interaction requires a patch file to be processed. Prioritize remediation for developer workstations, build infrastructure, and packaging systems. Business risk is highest where external patch files are routinely processed, because compromise there can affect software supply-chain integrity. Mitigation focus: Apply GNU patch updates from the operating-system vendor or distribution.; Prioritize Debian, Ubuntu, Red Hat, and Gentoo systems covered by listed advisories.; Avoid applying untrusted patch files on unpatched systems..

Prepared

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-1000156 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
20Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.