CVE-2018-18718 Use after free in n/a

High 7.8 Published Updated

A double-free vulnerability in gThumb allows attackers to cause a denial of service or potentially execute arbitrary code via crafted image files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2018-18718?

CVE-2018-18718 is a high-severity use after free vulnerability in Debian Debian Linux, published on 28 Oct 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in gThumb through 3.6.2. There is a double-free vulnerability in the add_themes_from_dir method in dlg-contact-sheet.c because of two successive calls of g_free, each of which frees the same buffer.

Weakness: CWE-415

Which versions are affected by CVE-2018-18718?

It affects 2 products.

Linux distribution packages (3)
gthumb SUSE:Package Hub 15All versions3.6.1-bp150.2.3.1
gthumb openSUSE:Leap 15.0All versions3.6.1-bp150.2.3.1
gthumb openSUSE:TumbleweedAll versions3.12.0-3.1

Products include Debian Debian Linux, Gnome Gthumb.

How do I fix CVE-2018-18718?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2018-18718 being exploited?

There is no known exploitation of CVE-2018-18718 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-18718, DLA-1567-1, GHSA-rr89-xjwm-mp65, MGASA-2019-0039, UBUNTU-CVE-2018-18718, openSUSE-SU-2019:0022-1 and 1 more.

Is CVE-2018-18718 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free