Critical severity · published Jun 24, 2018
CVE-2018-12713
GIMP through 2.10.2 makes g_get_tmp_dir calls to establish temporary filenames, which may result in a filename that already exists, as demonstrated by the gimp_write_and_read_file…
9.1
CVSS
1.9%
EPSS
No
On KEV
Description
GIMP through 2.10.2 makes g_get_tmp_dir calls to establish temporary filenames, which may result in a filename that already exists, as demonstrated by the gimp_write_and_read_file function in app/tests/test-xcf.c. This might be leveraged by attackers to overwrite files or read file content that was intended to be private.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.9% · higher than 80% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GI
Gimp · Gimp
through 2.10.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-12713
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-12713
Patch
https://github.com/GNOME/gimp/commit/c21eff4b031acb04fb4dfce8bd5fdfecc2b6524f
Issue Tracking
https://gitlab.gnome.org/GNOME/gimp/issues/1689
More from Gimp
9.9
CVE-2026-59090
Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow
8.8
CVE-2026-2044
GIMP PGM File Parsing Uninitialized Memory Remote Code Execution Vulnerability
8.8
CVE-2026-0797
GIMP ICO File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
8.8
CVE-2025-5473
GIMP ICO File Parsing Integer Overflow Remote Code Execution Vulnerability
7.8
CVE-2026-92183
GIMP APNG File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
