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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
PatchGnu*2.7.6 (including)
Red Hat Enterprise Linux 7RedHatpatch-0:2.7.1-11.el7*
PatchUbuntuartful*
PatchUbuntubionic*
PatchUbuntucosmic*
PatchUbuntudisco*
PatchUbuntueoan*
PatchUbuntufocal*
PatchUbuntugroovy*
PatchUbuntuhirsute*
PatchUbuntuimpish*
PatchUbuntukinetic*
PatchUbuntulunar*
PatchUbuntumantic*
PatchUbuntuoracular*
PatchUbuntuplucky*
PatchUbuntuprecise/esm*
PatchUbuntutrusty*
PatchUbuntutrusty/esm*
PatchUbuntuxenial*

Potential Mitigations

References