Vulnerabilities / CVE-2018-12713

critical

CVE-2018-12713

gimp: predictable temporary file name in test-xcf.c unit test

Published Modified
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Red Hat6.7CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (low), Ubuntu (low).

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 11gimpno fix listed
debian 12gimpno fix listed
debian 13gimp3.0.0~RC1-4
debian 14gimp3.0.0~RC1-4
echogimp3.0.0~RC1-4
rapidfort debian 12gimp0:3.0.0~RC1-4
rapidfort debian 13gimp0:3.0.0~RC1-4
rapidfort ubuntu 20.04gimpno fix listed
rapidfort ubuntu 22.04gimpno fix listed
rapidfort ubuntu 24.04gimpno fix listed
Red Hatgimp, gimp-devel, gimp-devel-tools and 12 moreno fix listed
ubuntu 18.04-ESMgimpno fix listed
Show all 31 entries from 17 sources
SourcePackageFixed in
debian 11gimpno fix listed
debian 12gimpno fix listed
debian 13gimp3.0.0~RC1-4
debian 14gimp3.0.0~RC1-4
echogimp3.0.0~RC1-4
rapidfort debian 12gimp0:3.0.0~RC1-4
rapidfort debian 13gimp0:3.0.0~RC1-4
rapidfort ubuntu 20.04gimpno fix listed
rapidfort ubuntu 22.04gimpno fix listed
rapidfort ubuntu 24.04gimpno fix listed
Red Hatgimpno fix listed
Red Hatgimp-develno fix listed
Red Hatgimp-devel-toolsno fix listed
Red Hatgimp-libsno fix listed
Red Hatpygobject2no fix listed
Red Hatpygobject2-codegenno fix listed
Red Hatpygobject2-develno fix listed
Red Hatpygobject2-docno fix listed
Red Hatpygtk2no fix listed
Red Hatpygtk2-codegenno fix listed
Red Hatpygtk2-develno fix listed
Red Hatpygtk2-docno fix listed
Red Hatpython2-cairono fix listed
Red Hatpython2-cairo-develno fix listed
Red Hatpython2-pycairono fix listed
ubuntu 18.04-ESMgimpno fix listed
ubuntu 20.04-ESMgimpno fix listed
ubuntu 22.04gimpno fix listed
ubuntu 24.04gimpno fix listed
ubuntu 26.04gimpno fix listed
ubuntu 26.10gimpno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.