CVE-2016-0749
Critical · 9.8CVSS
9.8
EPSS
8.5%
Published
Jun 9, 2016
CISA due date
—
Cloudanix analysis
A bug in how virtual machines handle certain smartcard connections could let remote attackers crash systems or run malicious code.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap-based buffer overflow in SPICE smartcard handling that crashes the QEMU-KVM process or permits arbitrary code execution on guest VM connection.
Why it matters to the business
Virtual machine hosts can be crashed or fully compromised, causing widespread service outages and potential data exposure in virtualized environments.
How an attack unfolds
An attacker initiates a SPICE connection to a guest VM, supplies malicious smartcard data that triggers the overflow, and either crashes the process or gains code execution on the host.
How to fix it
Upgrade ghostscript to the fixed versions listed for each Debian release (9.22~dfsg-1 or newer) on Debian 10, 11, 12, and 13.
How to confirm the fix worked
Confirm the installed ghostscript package version meets or exceeds the fixed release for the running Debian distribution.
Typical attack path
- Connect to a guest VM over SPICE
- Send crafted smartcard interaction vectors
- Trigger heap buffer overflow
- Crash process or execute arbitrary code
How to detect it
Search QEMU and SPICE logs for unexpected crashes or anomalous smartcard connection attempts around the time of suspected incidents.
What your security team should do
- Apply the listed ghostscript package upgrades on all affected Debian systems
- Review virtualized workloads for continued exposure to legacy SPICE configurations
The record
The 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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | spice | 0 | 0.12.6-4.1 |
| Debian:12 | spice | 0 | 0.12.6-4.1 |
| Debian:13 | spice | 0 | 0.12.6-4.1 |
| Debian:8 | spice | 0 | 0.12.5-1+deb8u3 |
| Mageia:5 | spice | 0 | 0.12.5-2.3.mga5 |
| Red Hat:enterprise_linux:6::client | spice-server | 0 | 0:0.12.4-13.el6.1 |
| Red Hat:enterprise_linux:6::client | spice-server-debuginfo | 0 | 0:0.12.4-13.el6.1 |
| Red Hat:enterprise_linux:6::client | spice-server-devel | 0 | 0:0.12.4-13.el6.1 |
| Red Hat:enterprise_linux:6::computenode | spice-server | 0 | 0:0.12.4-13.el6.1 |
| Red Hat:enterprise_linux:6::computenode | spice-server-debuginfo | 0 | 0:0.12.4-13.el6.1 |
| Red Hat:enterprise_linux:6::computenode | spice-server-devel | 0 | 0:0.12.4-13.el6.1 |
| Red Hat:enterprise_linux:6::server | spice-server | 0 | 0:0.12.4-13.el6.1 |
| Red Hat:enterprise_linux:6::server | spice-server-debuginfo | 0 | 0:0.12.4-13.el6.1 |
| Red Hat:enterprise_linux:6::server | spice-server-devel | 0 | 0:0.12.4-13.el6.1 |
| Red Hat:enterprise_linux:6::workstation | spice-server | 0 | 0:0.12.4-13.el6.1 |
| Red Hat:enterprise_linux:6::workstation | spice-server-debuginfo | 0 | 0:0.12.4-13.el6.1 |
| Red Hat:enterprise_linux:6::workstation | spice-server-devel | 0 | 0:0.12.4-13.el6.1 |
| Red Hat:enterprise_linux:7::client | spice | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::client | spice-debuginfo | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::client | spice-server | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::client | spice-server-devel | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::computenode | spice | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::computenode | spice-debuginfo | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::computenode | spice-server | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::computenode | spice-server-devel | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::server | spice | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::server | spice-debuginfo | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::server | spice-server | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::server | spice-server-devel | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::workstation | spice | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::workstation | spice-debuginfo | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::workstation | spice-server | 0 | 0:0.12.4-15.el7_2.1 |
| Red Hat:enterprise_linux:7::workstation | spice-server-devel | 0 | 0:0.12.4-15.el7_2.1 |
| SUSE:Linux Enterprise Desktop 12 | spice | 0 | 0.12.4-8.9.1 |
| SUSE:Linux Enterprise Desktop 12 SP1 | spice | 0 | 0.12.5-4.1 |
| SUSE:Linux Enterprise Server 12 | spice | 0 | 0.12.4-8.9.1 |
| SUSE:Linux Enterprise Server 12 SP1 | spice | 0 | 0.12.5-4.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | spice | 0 | 0.12.4-8.9.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | spice | 0 | 0.12.5-4.1 |
| SUSE:Linux Enterprise Software Development Kit 12 | spice | 0 | 0.12.4-8.9.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | spice | 0 | 0.12.5-4.1 |
| Ubuntu:14.04:LTS | spice | 0 | 0.12.4-0nocelt2ubuntu1.3 |
| Ubuntu:16.04:LTS | spice | 0 | 0.12.6-4ubuntu0.1 |
| openSUSE:Tumbleweed | spice | 0 | 0.12.8-2.1 |
Related vulnerabilities
- CVE-2017-7506 spice versions though 0.13 are vulnerable to out-of-bounds memory access when processing… Also affects spice
- CVE-2015-5260 Heap-based buffer overflow in SPICE before 0.12.6 allows guest OS users to cause a denial… Also affects spice
- CVE-2015-3247 Race condition in the worker_update_monitors_config function in SPICE 0.12.4 allows a… Also affects spice
- CVE-2017-12194 A flaw was found in the way spice-client processed certain messages sent from the server. Also affects spice
- CVE-2026-112108 A vulnerability was determined in ztxz16 fastllm up to 0.1.8.2. CWE-119
- CVE-2026-112073 A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dc… CWE-119
- CVE-2026-90831 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90804 A vulnerability was detected in GNU Binutils 2.47. CWE-119