CVE Vulnerabilities

CVE-2016-4994

Use After Free

Published: Jul 12, 2016 | Modified: Apr 12, 2025
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/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
2.6 MODERATE
AV:N/AC:H/Au:N/C:N/I:N/A:P
RedHat/V3
2.5 MODERATE
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM

Use-after-free vulnerability in the xcf_load_image function in app/xcf/xcf-load.c in GIMP allows remote attackers to cause a denial of service (program crash) or possibly execute arbitrary code via a crafted XCF file.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Gimp Gimp * 2.8.18 (excluding)
Red Hat Enterprise Linux 7 RedHat gimp-2:2.8.16-3.el7 *
Red Hat Enterprise Linux 7 RedHat gimp-help-0:2.8.2-1.el7 *
Gimp Ubuntu devel *
Gimp Ubuntu esm-apps/xenial *
Gimp Ubuntu precise *
Gimp Ubuntu trusty *
Gimp Ubuntu upstream *
Gimp Ubuntu wily *
Gimp Ubuntu xenial *

Potential Mitigations

References