Skip to content
Noroxi
CVE-2018-1000156· NVD / CVE Program· CNA mitre

GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (

Noroxi assessment

Priority: Monitor (action score 33/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 5.3% (FIRST EPSS); higher than 92.5% of all records.
  • Someone with local access to the system can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
  • Fixed version: patch (Alpine:v3.10) 2.7.6-r6; patch (Alpine:v3.7) 2.7.6-r0; patch (Alpine:v3.8) 2.7.6-r4.

Low priority for now. Upgrade to patch (Alpine:v3.10) 2.7.6-r6; patch (Alpine:v3.7) 2.7.6-r0; patch (Alpine:v3.8) 2.7.6-r4 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.8 · v3.0—No exploit Fix available
Published
Apr 6, 2018
Updated
Jun 16, 2026
EPSS
5.3% · 92th percentile

Report tools

JSON

Action score

33

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 5.3%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2018-1000156

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
gnupatch
canonicalubuntu linux
debiandebian linux
redhatenterprise linux desktop
redhatenterprise linux server
redhatenterprise linux server aus
redhatenterprise linux server eus
redhatenterprise linux server tus
redhatenterprise linux workstation

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux12.04
  • canonical ubuntu linux14.04
  • canonical ubuntu linux16.04
  • canonical ubuntu linux17.10
  • debian debian linux7.0
  • gnu patch2.7.6
  • redhat enterprise linux desktop6.0
  • redhat enterprise linux desktop7.0
  • redhat enterprise linux server6.0
  • redhat enterprise linux server7.0
  • redhat enterprise linux server aus6.4
  • redhat enterprise linux server aus6.5
  • redhat enterprise linux server aus6.6
  • redhat enterprise linux server aus7.2
  • redhat enterprise linux server aus7.3
  • redhat enterprise linux server aus7.4
  • redhat enterprise linux server aus7.6
  • redhat enterprise linux server eus6.7
  • redhat enterprise linux server eus7.3
  • redhat enterprise linux server eus7.4

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10patchbefore 2.7.6-r62.7.6-r6
Alpine:v3.7patchbefore 2.7.6-r02.7.6-r0
Alpine:v3.8patchbefore 2.7.6-r42.7.6-r4
Debian:12patchbefore 2.7.6-22.7.6-2
Debian:7patchbefore 2.6.1-3+deb7u12.6.1-3+deb7u1
openSUSE:Tumbleweedpatchbefore 2.7.6-3.432.7.6-3.43
Red Hat:enterprise_linux:6::clientpatchbefore 0:2.6-8.el6_90:2.6-8.el6_9
Red Hat:enterprise_linux:6::clientpatch-debuginfobefore 0:2.6-8.el6_90:2.6-8.el6_9
Red Hat:enterprise_linux:7::clientpatchbefore 0:2.7.1-10.el7_50:2.7.1-10.el7_5
Red Hat:enterprise_linux:7::clientpatch-debuginfobefore 0:2.7.1-10.el7_50:2.7.1-10.el7_5
Red Hat:rhel_aus:6.4::serverpatchbefore 0:2.6-8.el6_40:2.6-8.el6_4
Red Hat:rhel_aus:6.4::serverpatch-debuginfobefore 0:2.6-8.el6_40:2.6-8.el6_4
Red Hat:rhel_aus:6.5::serverpatchbefore 0:2.6-8.el6_50:2.6-8.el6_5
Red Hat:rhel_aus:6.5::serverpatch-debuginfobefore 0:2.6-8.el6_50:2.6-8.el6_5
Red Hat:rhel_aus:6.6::serverpatchbefore 0:2.6-8.el6_60:2.6-8.el6_6
Red Hat:rhel_aus:6.6::serverpatch-debuginfobefore 0:2.6-8.el6_60:2.6-8.el6_6
Red Hat:rhel_aus:7.2::serverpatchbefore 0:2.7.1-10.el7_20:2.7.1-10.el7_2
Red Hat:rhel_aus:7.2::serverpatch-debuginfobefore 0:2.7.1-10.el7_20:2.7.1-10.el7_2
Red Hat:rhel_eus:6.7::computenodepatchbefore 0:2.6-8.el6_70:2.6-8.el6_7
Red Hat:rhel_eus:6.7::computenodepatch-debuginfobefore 0:2.6-8.el6_70:2.6-8.el6_7
Red Hat:rhel_eus:7.3::computenodepatchbefore 0:2.7.1-10.el7_30:2.7.1-10.el7_3
Red Hat:rhel_eus:7.3::computenodepatch-debuginfobefore 0:2.7.1-10.el7_30:2.7.1-10.el7_3
Red Hat:rhel_eus:7.4::computenodepatchbefore 0:2.7.1-10.el7_40:2.7.1-10.el7_4
Red Hat:rhel_eus:7.4::computenodepatch-debuginfobefore 0:2.7.1-10.el7_40:2.7.1-10.el7_4

+2

Same product

gnu: all records

Other highest-scoring records for the same primary product.

  • CVE-2018-6951An issue was discovered in GNU patch through 2.7.6.
    33Monitor
  • CVE-2015-1395Directory traversal vulnerability in GNU patch versions which support Git-style patching before 2.7.3 allows remote attackers to write to ar
    33Monitor
  • CVE-2018-20969do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character.
    32Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2016-10713Feb 13, 2018 · An issue was discovered in GNU patch before 2.7.6.
    22Monitor
  • ← EarlierCVE-2018-6952Feb 13, 2018 · A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.
    32Monitor
  • Later →CVE-2019-13636Jul 17, 2019 · In GNU patch through 2.7.6, the following of symlinks is mishandled in certain cases other than input files.
    24Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:patch2.7.6-r6 · Alpine:v3.10Package registry (OSV)
debian:patch2.7.6-2 · Debian:12Package registry (OSV)
opensuse:patch2.7.6-3.43 · openSUSE:TumbleweedPackage registry (OSV)
red hat:patch0:2.6-8.el6_9 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:patch-debuginfo0:2.6-8.el6_9 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
suse:patch2.7.5-8.5.1 · SUSE:Linux Enterprise Desktop 12 SP3Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

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

nvd-primary

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records