# CVE-2018-6952

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 8% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2018-02-13 · Modified: 2024-08-05
- Aliases: ALPINE-CVE-2018-6952, UBUNTU-CVE-2018-6952, DEBIAN-CVE-2018-6952, CGA-29vq-v7j9-xr8h, CGA-86r8-3w4r-3q64
- Record: https://cvemate.com/vulnerability/CVE-2018-6952 · JSON: https://cvemate.com/vulnerability/CVE-2018-6952/json

## Description

```text
A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.
```

## Signals

- CVSS: 7.5 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 8.257%, percentile 95.061%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine patch (Alpine Linux): \< 2.7.6-r4 \| \< 2.7.6-r0
- chainguard patch (Chainguard): \< 2.7.6-r3
- wolfi patch (Wolfi): \< 2.7.6-r3
- debian patch (Debian): All versions (No fix recorded)
- ubuntu patch (Ubuntu): All versions (No fix recorded)
- gnu patch: ≤ 2.7.6

## References

- <https://savannah.gnu.org/bugs/index.php?53133>
- <http://www.securityfocus.com/bid/103047>
- <https://security.gentoo.org/glsa/201904-17>
- <https://access.redhat.com/errata/RHSA-2019:2033>
- <https://security.alpinelinux.org/vuln/CVE-2018-6952>
- <https://ubuntu.com/security/CVE-2018-6952>
- <https://www.cve.org/CVERecord?id=CVE-2018-6952>
- <https://security-tracker.debian.org/tracker/CVE-2018-6952>
- <https://nvd.nist.gov/vuln/detail/CVE-2018-6952>

---

Data as of 2026-12-05T03:10:47.342Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
