CVEfocus › CVE database › CVE-2018-12713

CVE-2018-12713

CVSS 9.1 CriticalEPSS 1.9% (higher than 80% of CVEs)Published 2018-06-24Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
5Fix pending
23Will not fix
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10gimpFix pendingUBUNTU-CVE-2018-12713
Ubuntu 26.04gimpNot affected
vulnerable_code_not_present
Ubuntu 25.10gimpWill not fix
This code is part of the unit tests for gimp which are not distributed in Ubuntu
UBUNTU-CVE-2018-12713
Ubuntu 24.04gimpFix pendingUBUNTU-CVE-2018-12713
Ubuntu 22.04gimpFix pendingUBUNTU-CVE-2018-12713
Ubuntu 20.04gimpFix pendingUBUNTU-CVE-2018-12713
Ubuntu 18.04gimpFix pendingUBUNTU-CVE-2018-12713
Ubuntu 16.04gimpWill not fix
This code is part of the unit tests for gimp which are not distributed in Ubuntu
UBUNTU-CVE-2018-12713
Ubuntu 14.04gimpWill not fix
This code is part of the unit tests for gimp which are not distributed in Ubuntu
Debian 14gimpFixed3.0.0~RC1-4DEBIAN-CVE-2018-12713
Debian 13gimpFixed3.0.0~RC1-4DEBIAN-CVE-2018-12713
Debian 12gimpWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-12713
Red Hat Enterprise Linux 8gimpWill not fix
Will not fix
Red Hat Enterprise Linux 8gimp-develWill not fix
Will not fix
Red Hat Enterprise Linux 8gimp-devel-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 8gimp-libsWill not fix
Will not fix
Red Hat Enterprise Linux 8pygobject2Will not fix
Will not fix
Red Hat Enterprise Linux 8pygobject2-codegenWill not fix
Will not fix
Red Hat Enterprise Linux 8pygobject2-develWill not fix
Will not fix
Red Hat Enterprise Linux 8pygobject2-docWill not fix
Will not fix
Red Hat Enterprise Linux 8pygtk2Will not fix
Will not fix
Red Hat Enterprise Linux 8pygtk2-codegenWill not fix
Will not fix
Red Hat Enterprise Linux 8pygtk2-develWill not fix
Will not fix
Red Hat Enterprise Linux 8pygtk2-docWill not fix
Will not fix
Red Hat Enterprise Linux 8python2-cairoWill not fix
Will not fix
Red Hat Enterprise Linux 8python2-cairo-develWill not fix
Will not fix
Red Hat Enterprise Linux 8python2-pycairoWill not fix
Will not fix
Red Hat Enterprise Linux 7gimpWill not fix
Will not fix
Red Hat Enterprise Linux 7gimp-develWill not fix
Will not fix
Red Hat Enterprise Linux 7gimp-devel-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 7gimp-libsWill not fix
Will not fix
Red Hat Enterprise Linux 6gimpNot affected
Red Hat Enterprise Linux 6gimp-develNot affected
Red Hat Enterprise Linux 6gimp-devel-toolsNot affected
Red Hat Enterprise Linux 6gimp-help-browserNot affected
Red Hat Enterprise Linux 6gimp-libsNot affected
Red Hat Enterprise Linux 5gimpNot affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.