VDB

CVE-2018-1000156

CVE-2018-1000156 PUBLISHED

Reported by mitre · Published April 6, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
patchChainguard2.7.6-r3
patchUbuntu:14.04:LTS2.7.1-4ubuntu2.4

Affected products

VendorProductVersions
n/an/an/a
chainguardpatch0
n/an/a*
alpinepatch0, 0, 0
amazon:2patch0
archpatch0, 0
wolfipatch0

Timeline

  • Apr 6, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (11 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (13 in total, the first dated here)
  • Sep 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-1000156
vulnetix vdb fixes CVE-2018-1000156

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1000156/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 1 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›