CVE-2018-6952: Double Free

Published Feb 13, 2018
·
Updated

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

Other sources

GNU patch through version 2.7.6 is vulnerable to a double freeing of memory when supplied a crafted patch file leading to a crash.

Upstream Issue:

https://savannah.gnu.org/bugs/index.php?53133

Red Hat

Affected Software

1 affected component
GNU patch<=2.7.6

Event History

Feb 13, 2018
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
via NVD·07:29 PM
DescriptionSeverityWeaknessAffected Software
Feb 14, 2018
Data Sourced
via Red Hat·07:19 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-6952?

CVE-2018-6952 is classified as a high severity vulnerability due to the potential for crash and denial of service.

2

How do I fix CVE-2018-6952?

To fix CVE-2018-6952, upgrade GNU patch to version 2.7.7 or later.

3

What exploitation methods are associated with CVE-2018-6952?

Exploitation of CVE-2018-6952 involves supplying a crafted patch file that triggers the double free condition.

4

What are the implications of CVE-2018-6952 on system stability?

CVE-2018-6952 can lead to unpredictable application behavior, including crashes, impacting overall system stability.

5

Which versions of GNU patch are affected by CVE-2018-6952?

All versions of GNU patch up to and including 2.7.6 are affected by CVE-2018-6952.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203