CVE Vulnerabilities

CVE-2018-7589

Double Free

Published: Mar 01, 2018 | Modified: Nov 02, 2020
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

An issue was discovered in CImg v.220. A double free in load_bmp in CImg.h occurs when loading a crafted bmp image.

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
Cimg Cimg .220 (including) .220 (including)
Cimg Ubuntu artful *
Cimg Ubuntu bionic *
Cimg Ubuntu cosmic *
Cimg Ubuntu esm-apps/xenial *
Cimg Ubuntu trusty *
Cimg Ubuntu upstream *
Cimg Ubuntu xenial *

Potential Mitigations

References