
CVE catalog
CVE-2018-6951
patch: CVE-2018-6951
- Severity
- Low · CVSS 3.3
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 8.36% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | patch | sid | 2.8.1-1 | vulnerable |
| Debian | patch | forky | 2.8.1-1 | vulnerable |
| Debian | patch | trixie | 2.8-2 | vulnerable |
| Debian | patch | bookworm | 2.7.6-7 | vulnerable |
| Alpine | patch | 3.10 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.11 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.12 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.13 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.14 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.15 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.16 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.17 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.18 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.19 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.20 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.21 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.22 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.23 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.24 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.4 | 2.7.5-r2 | fixed |
| Alpine | patch | 3.5 | 2.7.5-r2 | fixed |
| Alpine | patch | 3.6 | 2.7.5-r2 | fixed |
| Alpine | patch | 3.7 | 2.7.5-r2 | fixed |
| Alpine | patch | 3.8 | 2.7.6-r2 | fixed |
| Alpine | patch | 3.9 | 2.7.6-r2 | fixed |
| Ubuntu | patch | 14.04 | 2.7.1-3 | vulnerable |
| Ubuntu | patch | 14.04 | 2.7.1-4 | vulnerable |
| Ubuntu | patch | 14.04 | 2.7.1-4ubuntu1 | vulnerable |
| Ubuntu | patch | 14.04 | 2.7.1-4ubuntu2 | vulnerable |
| Ubuntu | patch | 14.04 | 2.7.1-4ubuntu2.3 | vulnerable |
| Ubuntu | patch | 14.04 | 2.7.1-4ubuntu2.4 | fixed |
| Ubuntu | patch | 16.04 | 2.7.5-1 | vulnerable |
| Ubuntu | patch | 16.04 | 2.7.5-1ubuntu0.16.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | patch | source | sid | (unfixed) | unimportant | Not reported | Not reported |
| Debian | patch | source | forky | (unfixed) | unimportant | Not reported | Not reported |
| Debian | patch | source | trixie | (unfixed) | unimportant | Not reported | Not reported |
| Debian | patch | source | bookworm | (unfixed) | unimportant | Not reported | Not reported |
| Alpine | patch | apk | 3.10 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.11 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.12 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.13 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.14 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.15 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.16 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.17 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.18 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.19 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.20 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.21 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.22 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.23 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.24 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.4 | 2.7.5-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.5 | 2.7.5-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.6 | 2.7.5-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.7 | 2.7.5-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.8 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Alpine | patch | apk | 3.9 | 2.7.6-r2 | Not reported | ALPINE-CVE-2018-6951 | Not reported |
| Ubuntu | patch | deb | 14.04 | 2.7.1-4ubuntu2.4 | Not reported | UBUNTU-CVE-2018-6951 | Not reported |
| Ubuntu | patch | deb | 16.04 | 2.7.5-1ubuntu0.16.04.1 | Not reported | UBUNTU-CVE-2018-6951 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [patch]Affected
Details (2)
2.7.6-7· amd64 · bookwormAffected
dsa · patch · debian · bookworm; dsa · patch · debian · 12
2.7.6-7· arm64 · bookwormAffected
dsa · patch · debian · bookworm; dsa · patch · debian · 12
[Debian 13 (Trixie)]
- [patch]Affected
Details (2)
2.8-2· amd64 · trixieAffected
dsa · patch · debian · 13
2.8-2· arm64 · trixieAffected
dsa · patch · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2018_1128-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2018-6951]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-6951]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-6951]
- [https://security-tracker.debian.org/tracker/CVE-2018-6951]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]