CVE-2016-9942 Memory corruption in n/a

Critical 9.8 Published Updated

A heap-based buffer overflow in LibVNCClient allows remote servers to cause a crash or execute arbitrary code via crafted Ultra type tile messages.

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

What is CVE-2016-9942?

CVE-2016-9942 is a critical memory corruption vulnerability in n/a, published on 31 Dec 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Heap-based buffer overflow in ultra.c in LibVNCClient in LibVNCServer before 0.9.11 allows remote servers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted FramebufferUpdate message with the Ultra type tile, such that the LZO payload decompressed length exceeds what is specified by the tile dimensions.

Weakness: CWE-119

Which versions are affected by CVE-2016-9942?

It affects 1 product.

Products include Libvncserver Project Libvncserver.

How do I fix CVE-2016-9942?

Upgrade to a fixed version.

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

Is CVE-2016-9942 being exploited?

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

Sources

Also known as ALPINE-CVE-2016-9942, DEBIAN-CVE-2016-9942, GHSA-wx7p-737c-9wqw, UBUNTU-CVE-2016-9942.

Is CVE-2016-9942 in your software?

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

Check your SBOMs for free