CVE Catalog

CVE-2018-6952

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Summary

A double-free exists in the another_hunk function in pch.c in GNU patch through 2.7.6. It can be triggered while processing a specially crafted patch file.

Risk Assessment

An attacker could supply a malicious patch file, causing the tool to crash or potentially execute code in the context of the user running patch.

Recommendation

Update GNU patch to a version newer than 2.7.6. Do not apply unknown patch files without verifying their source.

Other vulnerabilities in GNU patch

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS