CVE-2018-12713
gimp: predictable temporary file name in test-xcf.c unit test
Severity by source
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
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | gimp | no fix listed |
| debian 12 | gimp | no fix listed |
| debian 13 | gimp | 3.0.0~RC1-4 |
| debian 14 | gimp | 3.0.0~RC1-4 |
| echo | gimp | 3.0.0~RC1-4 |
| rapidfort debian 12 | gimp | 0:3.0.0~RC1-4 |
| rapidfort debian 13 | gimp | 0:3.0.0~RC1-4 |
| rapidfort ubuntu 20.04 | gimp | no fix listed |
| rapidfort ubuntu 22.04 | gimp | no fix listed |
| rapidfort ubuntu 24.04 | gimp | no fix listed |
| Red Hat | gimp, gimp-devel, gimp-devel-tools and 12 more | no fix listed |
| ubuntu 18.04-ESM | gimp | no fix listed |
Show all 31 entries from 17 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | gimp | no fix listed |
| debian 12 | gimp | no fix listed |
| debian 13 | gimp | 3.0.0~RC1-4 |
| debian 14 | gimp | 3.0.0~RC1-4 |
| echo | gimp | 3.0.0~RC1-4 |
| rapidfort debian 12 | gimp | 0:3.0.0~RC1-4 |
| rapidfort debian 13 | gimp | 0:3.0.0~RC1-4 |
| rapidfort ubuntu 20.04 | gimp | no fix listed |
| rapidfort ubuntu 22.04 | gimp | no fix listed |
| rapidfort ubuntu 24.04 | gimp | no fix listed |
| Red Hat | gimp | no fix listed |
| Red Hat | gimp-devel | no fix listed |
| Red Hat | gimp-devel-tools | no fix listed |
| Red Hat | gimp-libs | no fix listed |
| Red Hat | pygobject2 | no fix listed |
| Red Hat | pygobject2-codegen | no fix listed |
| Red Hat | pygobject2-devel | no fix listed |
| Red Hat | pygobject2-doc | no fix listed |
| Red Hat | pygtk2 | no fix listed |
| Red Hat | pygtk2-codegen | no fix listed |
| Red Hat | pygtk2-devel | no fix listed |
| Red Hat | pygtk2-doc | no fix listed |
| Red Hat | python2-cairo | no fix listed |
| Red Hat | python2-cairo-devel | no fix listed |
| Red Hat | python2-pycairo | no fix listed |
| ubuntu 18.04-ESM | gimp | no fix listed |
| ubuntu 20.04-ESM | gimp | no fix listed |
| ubuntu 22.04 | gimp | no fix listed |
| ubuntu 24.04 | gimp | no fix listed |
| ubuntu 26.04 | gimp | no fix listed |
| ubuntu 26.10 | gimp | no fix listed |