7.8

CVE-2018-1000156: canonical ubuntu_linux Improper Input Validation

CVSS: 7.8v3.0HighModified
AliasesALPINE-CVE-2018-1000156RHSA-2018:1199RHSA-2018:1200
Published 06-04-2018Last modified 14-04-2025

Vulnerability summary

CVE-2018-1000156 is a high (CVSS 7.8) Improper Input Validation vulnerability in canonical ubuntu_linux. EPSS estimates a 5.33% chance of exploitation in the next 30 days, higher than 92.5% of scored vulnerabilities.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.0 (NVD)
EPSS score
5.33%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 6

Timeline

  1. 06-04-2018
    PublishedVulnerability first disclosed.
  2. 14-04-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 7 sources · 2 versions

EPSS trend

Probability

5.33%

Chance of exploitation in the next 30 days

Percentile

93%

Versus all other CVEs

30-day change

0.00 pp

From 5.33% on 18-09-2026

18-09-202618-10-2026
EPSS score
5.33%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat8 products
Debian2 products
Alpine1 product
  • patch< 2.7.6-r6 | < 2.7.6-r0 | < 2.7.6-r4
Canonical1 product
Chainguard1 product
  • patch< 2.7.6-r3
Gnu1 product
Ubuntu1 product
  • patch< 2.7.1-4ubuntu2.4 | < 2.7.5-1ubuntu0.16.04.1
Wolfi1 product
  • patch< 2.7.6-r3

8 vendors · 16 products

References

41 links
Show all 41 references