CVE Vulnerabilities

CVE-2017-6362

Double Free

Published: Sep 07, 2017 | 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
5.3 MODERATE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM

Double free vulnerability in the gdImagePngPtr function in libgd2 before 2.2.5 allows remote attackers to cause a denial of service via vectors related to a palette with no colors.

Weakness

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Libgd Libgd 2.2.4 (including) 2.2.4 (including)
Libgd2 Ubuntu devel *
Libgd2 Ubuntu trusty *
Libgd2 Ubuntu upstream *
Libgd2 Ubuntu xenial *
Libgd2 Ubuntu zesty *

Potential Mitigations

References