CVE Vulnerabilities

CVE-2019-20633

Double Free

Published: Mar 25, 2020 | Modified: Nov 21, 2024
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/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

GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

Weakness

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

Affected Software

NameVendorStart VersionEnd Version
PatchGnu*2.7.6 (including)
PatchUbuntubionic*
PatchUbuntueoan*
PatchUbuntufocal*
PatchUbuntugroovy*
PatchUbuntuhirsute*
PatchUbuntuimpish*
PatchUbuntukinetic*
PatchUbuntulunar*
PatchUbuntumantic*
PatchUbuntuoracular*
PatchUbuntuplucky*
PatchUbuntuprecise/esm*
PatchUbuntutrusty*
PatchUbuntutrusty/esm*
PatchUbuntuxenial*

Potential Mitigations

References