BreachSpiderVerified, not vibes

CVE-2016-4020 in Canonical Ubuntu Linux and 11 more products

Medium 6.5

The patch_instruction 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).

Affects 12 products from 4 vendors. Facts below cite their sources.

CVSS 3.16.5
EPSS0.4%
EPSS percentile23th
FixSee advisory

Requires local access, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Canonical Ubuntu Linux 12.04 14.04 15.10 16.04
Debian Debian Linux 8.0
Qemu Qemu ≤ 2.6.2
Redhat Enterprise Linux Server 7.0
Redhat Enterprise Linux Workstation 7.0
Redhat Enterprise Linux Eus 7.4 7.5 7.6 7.7
Redhat Enterprise Linux Server Aus 7.4 7.6 7.7
Redhat Virtualization 4.0
Redhat Openstack 6.0 7.0 8 9 10 11
Redhat Enterprise Linux Server Tus 7.6 7.7
Redhat Enterprise Linux Desktop 7.0

Show 3 more products

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Redhat Enterprise Linux

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

The patch_instruction 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).

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2016-4020
BreachSpider IDBS-2016-GLOBAL-256769-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Published2016-05-25
Last modified2026-06-17
SourceNVD

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2016. A medium severity vulnerability affects Canonical systems (CVE-2016-4020). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: The patch_instruction 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). CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N.

Questions

What is CVE-2016-4020?

This vulnerability was disclosed in 2016. A medium severity vulnerability affects Canonical systems (CVE-2016-4020). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2016-4020?

CVE-2016-4020 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N. EPSS: 0.4%.

Is CVE-2016-4020 actively exploited?

No confirmed active exploitation of CVE-2016-4020 as of 2026-09-25.

How do I remediate CVE-2016-4020?

Priority: MONITOR. Advisory: https://access.redhat.com/errata/RHSA-2017:1856

What systems are affected by CVE-2016-4020?

CVE-2016-4020 affects Canonical Ubuntu Linux; Debian Debian Linux; Qemu Qemu; Redhat Enterprise Linux Server, Enterprise Linux Workstation, Enterprise Linux Eus, Enterprise Linux Server Aus, Virtualization, Openstack, Enterprise Linux Server Tus (plus 1 more product).

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.