All reports
Low

patch: Double free of memory in pch.c:another_hunk() causes a crash

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2018-6952

Probability of exploitation in the next 30 days: 8.19%

FIRST EPSS · 2026-11-23

Description

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

A double-free flaw was found in the way the patch utility processed patch files. An attacker could potentially use this flaw to crash the patch utility by tricking it into processing crafted patches.