CVE-2016-4020: Medium severity qemu vulnerability

Published Mar 2, 2016
·
Updated

Qemu emulator built with the Task Priority Register(TPR) optimizations for 32-bit Windows guests, is vulnerable to a information leakage issue. It could occur while accessing Task Priority Register(TPR).

A privileged user/process inside guest could use this issue to leak host memory bytes.

Upstream patch: --------------- -> https://lists.gnu.org/archive/html/qemu-devel/2016-04/msg01118.html

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2016/04/14/3

Other sources

The patchinstruction function in hw/i386/kvmvapic.c in QEMU does not initialize the imm32 variable, which allows local guest OS administrators to obtain sensitive information from host stack memory by accessing the Task Priority Register (TPR).

MITRE

Affected Software

26 affected components
Qemu Qemu<=2.6.2
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.10
Canonical Ubuntu Linux=16.04
Debian Debian Linux=8.0
redhat Openstack=6.0
redhat Openstack=7.0
redhat Openstack=8
redhat Openstack=9
redhat Openstack=10
redhat Openstack=11
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Eus=7.4
redhat Enterprise Linux Eus=7.5
redhat Enterprise Linux Eus=7.6
redhat Enterprise Linux Eus=7.7
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.4
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Aus=7.7
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Server Tus=7.7
redhat Enterprise Linux Workstation=7.0
redhat Virtualization=4.0
redhat Enterprise Linux=7.0

Event History

Mar 2, 2016
Data Sourced
via Red Hat·08:41 AM
DescriptionSeverityAffected Software
May 25, 2016
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2016-4020?

CVE-2016-4020 has a moderate severity rating, as it allows local guest OS administrators to access sensitive information from the host's memory.

2

How do I fix CVE-2016-4020?

To mitigate CVE-2016-4020, update QEMU to the latest version or apply the patched versions indicated by your distribution.

3

Is CVE-2016-4020 exploitable remotely?

No, CVE-2016-4020 is not remotely exploitable as the attack requires local access to the guest OS.

4

Which software versions are affected by CVE-2016-4020?

CVE-2016-4020 affects various versions of QEMU up to and including 2.6.2 and specific versions of Ubuntu and Red Hat OpenStack.

5

What types of systems are vulnerable to CVE-2016-4020?

Systems running vulnerable versions of QEMU, Ubuntu 12.04, 14.04, 15.10, 16.04, and various Red Hat OpenStack versions are susceptible to CVE-2016-4020.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203