CVE-2017-12194
Critical · 9.8CVSS
9.8
EPSS
5.2%
Published
Mar 14, 2018
CISA due date
—
Cloudanix analysis
A remote server an employee connects to for virtual-machine access could silently take over their computer if the connection software is outdated.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Improper input validation in spice-gtk allows a malicious SPICE server to send crafted messages that trigger out-of-bounds access, resulting in client crash or arbitrary code execution under the privileges of the connecting user.
Why it matters to the business
Organizations relying on SPICE for virtual-machine remote access face risk of workstation compromise, lateral movement, or data exfiltration when users connect to untrusted or compromised hypervisors; the flaw has remained unpatched in the listed versions for years with no observed mass exploitation.
How an attack unfolds
An attacker hosts or compromises a SPICE server, lures a victim into connecting using a vulnerable spice-gtk client, and sends specially constructed server-to-client messages that bypass input checks, achieving code execution without user interaction beyond the initial connection.
How to fix it
Upgrade spice-gtk to a version newer than 0.34 that contains the input-validation fixes; where upgrades are unavailable, restrict connections to only trusted SPICE servers and consider disabling the client in high-risk environments.
How to confirm the fix worked
Confirm spice-gtk package version is greater than 0.34; test connectivity against a non-malicious SPICE server and verify absence of crashes or unexpected process behavior under controlled conditions.
Typical attack path
- Attacker gains control of or impersonates a SPICE server reachable by the target
- Victim launches spice-gtk client and initiates connection to the attacker-controlled endpoint
- Server transmits malicious protocol messages that exploit the validation flaw
- Client process crashes or executes attacker-supplied code with user privileges
How to detect it
Review client application logs and system crash reports for spice-gtk terminations immediately following SPICE connection attempts; correlate with network flows to external or unexpected SPICE ports.
What your security team should do
- Inventory all systems using spice-gtk and prioritize upgrade of any version 0.34 or earlier
- Block or monitor outbound connections to untrusted SPICE endpoints via network controls
- Add spice-gtk client crash and unexpected termination events to security monitoring
- Review dependency graphs to identify downstream projects that embed vulnerable spice-gtk
The record
A flaw was found in the way spice-client processed certain messages sent from the server. An attacker, having control of malicious spice-server, could use this flaw to crash the client or execute arbitrary code with permissions of the user running the client. spice-gtk versions through 0.34 are believed to be vulnerable.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | spice-gtk | 0 | 0.35-1 |
| Debian:12 | spice-gtk | 0 | 0.35-1 |
| Debian:13 | spice-gtk | 0 | 0.35-1 |
| Mageia:6 | spice-gtk | 0 | 0.33-3.1.mga6 |
| SUSE:Linux Enterprise Desktop 12 SP3 | spice-gtk | 0 | 0.33-3.3.2 |
| SUSE:Linux Enterprise Server 12 SP3 | spice-gtk | 0 | 0.33-3.3.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | spice-gtk | 0 | 0.33-3.3.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | spice-gtk | 0 | 0.33-3.3.2 |
| Ubuntu:14.04:LTS | spice | 0 | 0.12.4-0nocelt2ubuntu1.6 |
| Ubuntu:16.04:LTS | spice-protocol | 0 | 0.12.10-1ubuntu0.1 |
| Ubuntu:18.04:LTS | spice | 0 | 0.14.0-1ubuntu2.1 |
| Ubuntu:18.04:LTS | spice-gtk | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | spice-gtk | 0 | No fix |
Related vulnerabilities
- CVE-2017-7506 spice versions though 0.13 are vulnerable to out-of-bounds memory access when processing… Also affects spice
- CVE-2016-0749 The smartcard interaction in SPICE allows remote attackers to cause a denial of service… 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-2026-113786 pypdf is a free and open-source pure-python PDF library. CWE-20
- CVE-2026-112081 A vulnerability was determined in hankcs HanLP up to 2.1.0-beta.64. CWE-20
- CVE-2026-111869 A vulnerability was identified in makeplane plane up to 1.4.2. CWE-20
- CVE-2026-100347 kin-openapi is a Go project for handling OpenAPI files. CWE-20