gimp: predictable temporary file name in test-xcf.c unit test
Published Jun 24, 2018
9.1
CRITICALCVSS 3.1
EPSS 1.95%
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 products
No data.
No data.
Red Hat Enterprise Linux 5
gimp
Not affected
Red Hat Enterprise Linux 6
gimp
Not affected
Red Hat Enterprise Linux 7
gimp
Will not fix
Red Hat Enterprise Linux 8
gimp
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | gimp | Not affected | n/a |
| Red Hat Enterprise Linux 6 | gimp | Not affected | n/a |
| Red Hat Enterprise Linux 7 | gimp | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | gimp | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did affect the versions of gimp as shipped with Red Hat Enterprise Linux 7. However, as this is an issue in a unit test, it is not a problem if you are using the precompiled gimp package. This is only a problem if you recompile gimp using the src.rpm/SPEC file. Even then it's only a problem if you do not make use of isolating build tools like mock, but instead use rpmbuild directly.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.95% (0.01947) | 79.47th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.95% (0.01947) | 77.49th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.17% (0.00170) | 54.33th | v3 (v2023.03.01) |
| Nov 15, 2023 | 0.17% (0.00170) | 53.97th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.15% (0.00149) | 50.07th | v3 (v2023.03.01) |
| May 8, 2023 | 0.19% (0.00193) | 55.48th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.15% (0.00149) | 49.20th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00885) | 26.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.62% (0.00624) | 17.80th | v1 |
| Jan 6, 2022 | 0.62% (0.00624) | 17.24th | v1 |
| Sep 1, 2021 | 0.62% (0.00624) | 45.04th | v1 |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
References (6)
- https://access.redhat.com/security/cve/CVE-2018-12713 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1595819 Issue Tracking
- https://github.com/GNOME/gimp/commit/c21eff4b031acb04fb4dfce8bd5fdfecc2b6524f x_refsource_MISCPatchThird Party Advisory
- https://gitlab.gnome.org/GNOME/gimp/issues/1689 x_refsource_MISCIssue TrackingThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-12713
- https://www.cve.org/CVERecord?id=CVE-2018-12713
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-12713 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1595819 | Issue Tracking | |
| https://github.com/GNOME/gimp/commit/c21eff4b031acb04fb4dfce8bd5fdfecc2b6524f | x_refsource_MISCPatchThird Party Advisory | |
| https://gitlab.gnome.org/GNOME/gimp/issues/1689 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-12713 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-12713 |
Change history (0)
No recorded changes yet.