CVE-2016-0749
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe smartcard interaction in SPICE allows remote attackers to cause a denial of service (QEMU-KVM process crash) or possibly execute arbitrary code via vectors related to connecting to a guest VM, which triggers a heap-based buffer overflow.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceHeap-based buffer overflow in the SPICE protocol's smartcard interaction component. When a remote attacker connects to a guest VM, the smartcard handling code fails to properly validate buffer sizes during the connection process, leading to heap memory corruption that can crash the QEMU-KVM process or potentially allow arbitrary code execution.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 8.0= 6.0= 7.0= 6.0= 7.0= 6.0= 7.0= 6.0= 7.0= 7.2= 7.2= 7.2CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify QEMU-KVM versionRun 'rpm -q qemu-kvm' on RHEL or 'dpkg -l qemu-kvm' on Debian to get the installed version, then compare against affected version ranges (RHEL 6.0, 7.0, 7.2; Debian 8.0)Affected if The installed version matches an affected version listed in the CVE advisory
-
Confirm SPICE display protocol is in useCheck VM configuration XML (virsh dumpxml <vmname>) or VM settings for '<graphics type="spice">' or check running processes for 'qemu-kvm.*-spice'Affected if SPICE graphics are configured for the VM
-
Verify smartcard redirection is enabledLook for '<redirdev>' or '<smartcard>' elements in VM XML configuration (virsh dumpxml <vmname>), or check for '-device usb-redir,smartcard' in qemu command line (ps aux | grep qemu)Affected if Smartcard redirection device is attached to the VM (type='smartcard' or similar)
-
Assess network exposure of SPICE portCheck VM XML for '<listen type="address">' under graphics or run 'netstat -tlnp | grep -i spice' to see if SPICE listens on 0.0.0.0 or non-loopback interfaceAffected if SPICE port (typically 5900+) is bound to a network interface accessible to untrusted clients
You are affected if running an affected QEMU-KVM version with SPICE smartcard redirection enabled and the SPICE interface is exposed to untrusted network access.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedApply the QEMU-KVM security patch for CVE-2016-0749 to all affected virtualization hosts. As a compensating control, disable the smartcard redirection feature in SPICE if not required, or restrict SPICE network access to trusted clients only.
Upgrade to the latest available package versions in the distribution's security repositories that address CVE-2016-0749. For RHEL, this is available via RHSA-2016:0043 or subsequent errata. For Debian 8 (Jessie), this is available in security updates.
- 1. Identify the affected SPICE and QEMU-KVM packages installed on the system using the package manager (e.g., yum, rpm, apt).
- 2. For Debian systems: Run 'apt-get update' followed by 'apt-get upgrade' or 'apt-get install --only-upgrade <package-name>' to apply security updates.
- 3. For RHEL/CentOS systems: Run 'yum update' or 'yum update qemu-kvm spice-server' to apply the latest security patches.
- 4. After updating, restart the QEMU-KVM virtual machines or the libvirt service to ensure the patched libraries are loaded.
- 5. Verify the installed versions are no longer vulnerable by checking the package version against the security advisory.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2016-0749 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2016-0749 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data