CVE-2018-6951 json
An issue was discovered in GNU patch through 2.7.6.
published 2018-02-13 8 y ago modified 2026-07-25 3 mo ago also EUVD-2018-18695 , JLSEC-2026-14
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 8.4%
- EPSS 8.4% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
An issue was discovered in GNU patch through 2.7.6. There is a segmentation fault, associated with a NULL pointer dereference, leading to a denial of service in the intuit_diff_type function in pch.c, aka a "mangled rename" issue.
Patch / fix
- julia patch_jll 2.8.0+0
- patch Ubuntu 14.04 LTS 2.7.1-4ubuntu2.4
- patch Ubuntu 16.04 LTS 2.7.5-1ubuntu0.16.04.1
ubuntu advisories UBUNTU-CVE-2018-6951
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- patch SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 2.7.5-8.5.1
suse advisories SUSE-SU-2018:1128-1
- patch openSUSE Tumbleweed 2.7.6-3.43
opensuse advisories openSUSE-SU-2024:11151-1
- patch Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 2.7.6-r2
- patch Alpine 3.7, Alpine 3.6, Alpine 3.5 +1 more 2.7.5-r2
alpine advisories ALPINE-CVE-2018-6951
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- patch Azure Linux 3.0 2.7.6-9
- patch CBL-Mariner 2.0 2.7.6-7
azure linux advisories AZL-35103AZL-6787
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- patch Arch Linux 2.7.6-3
arch linux advisories AVG-619
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-6951 updated cvss 3.3
patch: NULL pointer dereference in pch.c:intuit_diff_type() causes a crash
-
Red Hat Enterprise Linux 5 patch Red Hat Enterprise Linux 6 patch Red Hat Enterprise Linux 7 patch Red Hat Enterprise Linux 8 patchnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
8.36% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | patch_jll | <2.8.0+0 |
2.8.0+0 |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
git.savannah.gnu.org
/cgit/patch.git/commit/?id=f290f48a621867084884bfff87f8093c15195e6a
patch, vendor-advisory, web
-
usn.ubuntu.com
/3624-1/
vendor-advisory, third-party-advisory, web
-
security.gentoo.org
/glsa/201904-17
vendor-advisory, web
-
savannah.gnu.org
/bugs/index.php?53132
issue-tracking, vendor-advisory, web
-
securityfocus.com
/bid/103044
vdb-entry, third-party-advisory, web
Sources
- CVE List CVE-2018-6951
- NVD CVE-2018-6951
- OSV JLSEC-2026-14
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.