CVE & CISA-KEV Catalog

CVE-2018-1000156

HIGHEPSS 92th pctl
7.8
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
patchDebian
Fixed in:2.7.6-2CVE-2018-1000156
Fixed in:2.7.6-2CVE-2018-1000156
Fixed in:2.7.6-2CVE-2018-1000156
Fixed in:2.7.6-2CVE-2018-1000156
patchUbuntu
Fixed in:2.7.1-4ubuntu2.4USN-3624-1
Fixed in:2.7.5-1ubuntu0.16.04.1USN-3624-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

5.56%probability of exploitation in 30 days
92ndpercentile

High risk: more likely to be exploited than 92% of all known CVEs.

References

Related Vulnerabilities

Other CWE-20 (Improper Input Validation) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-3400Critical10.0100%KEV + Ransom-
CVE-2021-45105Medium5.9100%-Fix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2021-21985Critical9.8100%KEV + RansomFix
CVE-2018-7600Critical9.8100%KEV + RansomFix
CVE-2020-3452High7.5100%KEVFix
Embed a live status badge for CVE-2018-1000156
CVE-2018-1000156 severity badge

Markdown

[![CVE-2018-1000156](https://tridentstack.com/cve/badge/CVE-2018-1000156.svg)](https://tridentstack.com/cve/CVE-2018-1000156)

HTML

<a href="https://tridentstack.com/cve/CVE-2018-1000156"><img src="https://tridentstack.com/cve/badge/CVE-2018-1000156.svg" alt="CVE-2018-1000156"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-04-14.