CVE Vulnerabilities

CVE-2018-6952

Double Free

Published: Feb 13, 2018 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
3.3 LOW
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Ubuntu
NEGLIGIBLE

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

Weakness

The product calls free() twice on the same memory address.

Affected Software

Name Vendor Start Version End Version
Patch Gnu * 2.7.6 (including)
Red Hat Enterprise Linux 7 RedHat patch-0:2.7.1-11.el7 *
Patch Ubuntu artful *
Patch Ubuntu bionic *
Patch Ubuntu cosmic *
Patch Ubuntu disco *
Patch Ubuntu eoan *
Patch Ubuntu focal *
Patch Ubuntu groovy *
Patch Ubuntu hirsute *
Patch Ubuntu impish *
Patch Ubuntu kinetic *
Patch Ubuntu lunar *
Patch Ubuntu mantic *
Patch Ubuntu oracular *
Patch Ubuntu precise/esm *
Patch Ubuntu trusty *
Patch Ubuntu trusty/esm *
Patch Ubuntu xenial *

Potential Mitigations

References