CVE-2018-7225 Integer overflow in n/a

Critical 9.8 Published Updated

Attackers can trigger an integer overflow in LibVNCServer via crafted packets, leading to access to sensitive uninitialized data or service disruption.

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

CVE-2018-7225 is a critical vulnerability in Canonical Ubuntu Linux, published on 19 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in LibVNCServer through 0.9.11. rfbProcessClientNormalMessage() in rfbserver.c does not sanitize msg.cct.length, leading to access to uninitialized and potentially sensitive data or possibly unspecified other impact (e.g., an integer overflow) via specially crafted VNC packets.

Weakness: CWE-190

Which versions are affected by CVE-2018-7225?

It affects 9 products.

Linux distribution packages (12)
libvncserver Red Hat:enterprise_linux:7::clientAll versions0:0.9.9-12.el7_5
libvncserver-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:0.9.9-12.el7_5
libvncserver-devel Red Hat:enterprise_linux:7::clientAll versions0:0.9.9-12.el7_5
libvncserver Red Hat:enterprise_linux:7::serverAll versions0:0.9.9-12.el7_5
libvncserver-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:0.9.9-12.el7_5
libvncserver-devel Red Hat:enterprise_linux:7::serverAll versions0:0.9.9-12.el7_5
libvncserver Red Hat:enterprise_linux:7::workstationAll versions0:0.9.9-12.el7_5
libvncserver-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:0.9.9-12.el7_5
libvncserver-devel Red Hat:enterprise_linux:7::workstationAll versions0:0.9.9-12.el7_5
LibVNCServer SUSE:Linux Enterprise Server 11 SP4All versions0.9.1-160.3.1
LibVNCServer SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions0.9.1-160.3.1
LibVNCServer SUSE:Linux Enterprise Software Development Kit 11 SP4All versions0.9.1-160.3.1

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

How do I fix CVE-2018-7225?

Apply the vendor's patch.

Is CVE-2018-7225 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-7225, DEBIAN-CVE-2018-7225, DLA-1332-1, DSA-4221-1, GHSA-2v5x-9xhg-52hm, MGASA-2018-0198 and 4 more.

Is CVE-2018-7225 in your software?

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

Check your SBOMs for free