CVE-2018-6952
CVE-2018-6952 is a high-severity vulnerability in Gnu Patch with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-415.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 5.0
- EPSS exploit prediction: 8% (94th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-415
- Affected product: Gnu Patch
- Published:
- Last modified:
Description
A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.
Frequently asked questions
- What is CVE-2018-6952?
- A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.
- How severe is CVE-2018-6952?
- CVE-2018-6952 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2018-6952 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 8% (94th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-6952?
- CVE-2018-6952 affects Gnu Patch. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2018-6952?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2018-6952 published?
- CVE-2018-6952 was published on 2018-02-13 and last updated on 2026-06-17.
References
- http://www.securityfocus.com/bid/103047
- https://access.redhat.com/errata/RHSA-2019:2033
- https://savannah.gnu.org/bugs/index.php?53133
- https://security.gentoo.org/glsa/201904-17
Affected products (1)
- cpe:2.3:a:gnu:patch:*:*:*:*:*:*:*:*
More vulnerabilities in Gnu Patch
- CVE-2018-20969 — High (CVSS 7.8): do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the…
- CVE-2019-13638 — High (CVSS 7.8): GNU patch through 2.7.6 is vulnerable to OS shell command injection that can be exploited by opening a crafted patch…
- CVE-2018-1000156 — High (CVSS 7.8): GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the…
- CVE-2015-1396 — High (CVSS 7.5): A Directory Traversal vulnerability exists in the GNU patch before 2.7.4. A remote attacker can write to arbitrary…
- CVE-2018-6951 — High (CVSS 7.5): An issue was discovered in GNU patch through 2.7.6. There is a segmentation fault, associated with a NULL pointer…
- CVE-2015-1395 — High (CVSS 7.5): Directory traversal vulnerability in GNU patch versions which support Git-style patching before 2.7.3 allows remote…
All CVEs affecting Gnu Patch →
Other CWE-415 (Double Free) vulnerabilities
- CVE-2018-0101 — Critical (CVSS 10.0): A vulnerability in the Secure Sockets Layer (SSL) VPN functionality of the Cisco Adaptive Security Appliance (ASA)…
- CVE-2026-8925 — Critical (CVSS 9.8): The curl logic that works with SASL authentication could end up cleaning up the GSASL context *twice* without clearing…
- CVE-2020-37239 — Critical (CVSS 9.8): libbabl 0.1.62 contains a broken double free detection vulnerability that allows attackers to bypass memory safety…
- CVE-2026-43011 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: net/x25: Fix potential double free of skb When…
- CVE-2026-31609 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: smb: client: avoid double-free in…
- CVE-2026-31608 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: smb: server: avoid double-free in…