CVE-2018-15127 Memory corruption in LibVNC

Critical 9.8 Published Updated

A heap out-of-bound write 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-15127?

CVE-2018-15127 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 502821828ed00b4a2c4bef90683d0fd88ce495de contains heap out-of-bound write vulnerability in server code of file transfer extension that can result remote code execution

Weakness: CWE-787

Which versions are affected by CVE-2018-15127?

It affects 9 products.

Linux distribution packages (9)
libvncserver Red Hat:enterprise_linux:7::clientAll versions0:0.9.9-13.el7_6
libvncserver-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:0.9.9-13.el7_6
libvncserver-devel Red Hat:enterprise_linux:7::clientAll versions0:0.9.9-13.el7_6
libvncserver Red Hat:enterprise_linux:7::serverAll versions0:0.9.9-13.el7_6
libvncserver-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:0.9.9-13.el7_6
libvncserver-devel Red Hat:enterprise_linux:7::serverAll versions0:0.9.9-13.el7_6
libvncserver Red Hat:enterprise_linux:7::workstationAll versions0:0.9.9-13.el7_6
libvncserver-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:0.9.9-13.el7_6
libvncserver-devel Red Hat:enterprise_linux:7::workstationAll versions0:0.9.9-13.el7_6

Products include Canonical Ubuntu Linux, Debian Debian Linux, Libvnc Project Libvncserver, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus and 3 more.

How do I fix CVE-2018-15127?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-15127, GHSA-2pgv-ghf3-xj9q, RHSA-2019:0059, UBUNTU-CVE-2018-15127.

Is CVE-2018-15127 in your software?

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

Check your SBOMs for free