CVE-2018-20020 Memory corruption in LibVNC

Critical 9.8 Published Updated

A heap out-of-bound write in LibVNC allows remote attackers to execute arbitrary code via malicious VNC server responses.

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-20020?

CVE-2018-20020 is a critical memory corruption 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 7b1ef0ffc4815cab9a96c7278394152bdc89dc4d contains heap out-of-bound write vulnerability inside structure in VNC client code that can result remote code execution

Weakness: CWE-787

Which versions are affected by CVE-2018-20020?

It affects 3 products.

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

How do I fix CVE-2018-20020?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-20020 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-20020, GHSA-v93r-hw5v-g7wc, UBUNTU-CVE-2018-20020.

Is CVE-2018-20020 in your software?

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

Check your SBOMs for free