CVE-2018-12713

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…

published June 24, 2018

CVSS
—
EPSS
2%
Percentile
80.0
In the wild
Unconfirmed
What it is

⚠️ A filename conflict in GIMP could let attackers play a sneaky game of overwrite and access! 🎨 Think of it like a busy restaurant where two chefs are trying to serve a dish with the same name at the same time. If they don’t check their orders properly, one dish could accidentally replace the other, leaving customers confused and disappointed! This vulnerability allows an attacker to potentially overwrite important files or access private content, leading to data loss or exposure. If a malicious actor exploits this, they could compromise sensitive information or disrupt your creative projects. That's absolutely devastating for anyone using GIMP!

Put simply

Think of it like a busy restaurant where two chefs are trying to serve a dish with the same name at the same time. If they don’t check their orders properly, one dish could accidentally replace the other, leaving customers confused and disappointed! The flaw in GIMP arises from its use of `g_get_tmp_dir` to generate temporary filenames, which can inadvertently create conflicts when the same name is generated, especially evident in the `gimp_write_and_read_file` function. This opens the door for overwriting files or reading unintended content.

What to do

This vulnerability allows an attacker to potentially overwrite important files or access private content, leading to data loss or exposure. If a malicious actor exploits this, they could compromise sensitive information or disrupt your creative projects. That's absolutely devastating for anyone using GIMP! To mitigate this risk, ensure you update GIMP to the latest version where this issue is addressed. Additionally, consider employing file naming strategies that incorporate unique identifiers to avoid conflicts. Regularly audit your file access controls too! You've got this! By following these steps, you can keep your creative files safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01947 · 80.0th percentile
Published
2018-06-24T22:00Z
EPSS history
Timeline
  • 24 JUN 22:00Z
    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…
    cvelistv5