7.8

CVE-2018-1000156: canonical ubuntu_linux Improper Input Validation

Modified
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.37% chance of exploitation in the next 30 days, higher than 92.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.0 (NVD)
EPSS score
5.37%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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.37%

Chance of exploitation in the next 30 days

Percentile

93%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 5.33% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

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