CVE-2018-6307 Use after free in LibVNC

High 8.1 Published Updated

A heap use-after-free in LibVNC's file transfer extension allows remote attackers to execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-6307?

CVE-2018-6307 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 19 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

LibVNC before commit ca2a5ac02fbbadd0a21fabba779c1ea69173d10b contains heap use-after-free vulnerability in server code of file transfer extension that can result remote code execution.

Weakness: CWE-416

Which versions are affected by CVE-2018-6307?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Libvnc Project Libvncserver.

How do I fix CVE-2018-6307?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-6307, GHSA-862p-2jpg-8gg4, UBUNTU-CVE-2018-6307.

Is CVE-2018-6307 in your software?

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

Check your SBOMs for free