Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659360 (CVE-2018-12713) - media-gfx/gimp: privilege escalation in gimp_write_and_read_file function in app/tests/test-xcf.c (CVE-2018-12713)
Summary: media-gfx/gimp: privilege escalation in gimp_write_and_read_file function in ...
Alias: CVE-2018-12713
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Depends on:
Reported: 2018-06-27 14:51 UTC by Florian Schuhmacher
Modified: 2019-04-26 23:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schuhmacher 2018-06-27 14:51:30 UTC
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.

Gentoo Security Scout
Florian Schuhmacher
Comment 1 Yury German Gentoo Infrastructure gentoo-dev 2019-04-26 23:54:08 UTC
Base on information available here:

Indeed this is just a unit test run when a dev/packager/other runs make check on the source code. This is not part of GIMP at all and nothing is installed with this code.
I added a comment there to clarify:

and reading through the thread. This is not an issue of Gimp. 

Closing Bug.