CVE-2018-6951Gnu Patch
High 7.5 No auth needed
Follow: this CVE · Gnu · Gnu Patch We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.0
- 7.5
- EPSS
- 8.4% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Feb 13, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-476
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Patch.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gnu | patch | ≤ 2.7.6 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 17.10 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- git.savannah.gnu.org Patch Vendor Advisory
- savannah.gnu.org Issue Tracking Vendor Advisory
- security.gentoo.org
- usn.ubuntu.com Third Party Advisory