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

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

NameVendorStart VersionEnd Version
GimpGimp*2.8.18 (excluding)
Red Hat Enterprise Linux 7RedHatgimp-2:2.8.16-3.el7*
Red Hat Enterprise Linux 7RedHatgimp-help-0:2.8.2-1.el7*
GimpUbuntudevel*
GimpUbuntuesm-apps/xenial*
GimpUbuntuprecise*
GimpUbuntutrusty*
GimpUbuntuupstream*
GimpUbuntuwily*
GimpUbuntuxenial*

Potential Mitigations

References