CVE-2017-16845 Memory corruption in n/a

Critical 10.0 Published Updated

A guest can trigger out-of-bounds access in QEMU's PS2 input device during migration, potentially leading to code execution or denial of service.

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

What is CVE-2017-16845?

CVE-2017-16845 is a critical memory corruption vulnerability in Canonical Ubuntu Linux, published on 17 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.

Weakness: CWE-20

Which versions are affected by CVE-2017-16845?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Qemu Qemu.

How do I fix CVE-2017-16845?

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-2017-16845 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-16845, GHSA-3whx-jj33-9r95, UBUNTU-CVE-2017-16845.

Is CVE-2017-16845 in your software?

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

Check your SBOMs for free