CVE-2018-6118 Use after free in Chrome

High 8.8 Published Updated

A remote attacker with compromised renderer access can execute arbitrary code via a crafted HTML page due to a use-after-free in Chrome's Incognito cache.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-6118?

CVE-2018-6118 is a high-severity use after free vulnerability in Google Chrome, published on 27 Jun 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A double-eviction in the Incognito mode cache that lead to a user-after-free in cache in Google Chrome prior to 66.0.3359.139 allowed a remote attacker who had compromised the renderer process to execute arbitrary code via a crafted HTML page.

Weakness: CWE-416

Which versions are affected by CVE-2018-6118?

It affects 1 product.

Linux distribution packages (2)
chromium-browser Red Hat:rhel_extras:6All versions0:66.0.3359.139-1.el6_9
chromium-browser-debuginfo Red Hat:rhel_extras:6All versions0:66.0.3359.139-1.el6_9

Products include Google Chrome.

How do I fix CVE-2018-6118?

Upgrade to a fixed version.

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-6118 being exploited?

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

All Google Chrome vulnerabilities

Sources

Also known as GHSA-g93q-r5hj-4m44, RHSA-2018:1321, UBUNTU-CVE-2018-6118.

Is CVE-2018-6118 in your software?

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

Check your SBOMs for free