---
title: "CVE-2018-6952"
canonical_url: "https://pkgseek.com/security/CVE-2018-6952"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2018-6952

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

CVE-2018-6952 is rated HIGH (7.5), with 3 indexed affected package builds across 2 distributions.

- **Severity / Score**: HIGH (7.5)
- **Affected builds**: 3
- **Affected distros**: 2
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | patch | 2.8-2+deb13u1 | — |
| Ubuntu | focal | patch | 2.7.6-6 | — |
| Ubuntu | noble | patch | 2.7.6-7build3 | — |
