CVE-2018-10873
Research article
spice-gtk client library: missing message size check on server data allows client crash (CVE-2018-10873)
| CVE | CVE-2018-10873 |
|---|---|
| Published | December 03, 2026 02:10 UTC |
| Research cut-off | December 03, 2026 02:05 UTC |
| Sources reviewed | 4: NVD record (last modified 2026-06-17); CISA KEV catalog; vendor advisory page (ubuntu.com); FIRST EPSS (2026-12-02) |
Executive summary
CVE-2018-10873 is a flaw in spice-gtk, the SPICE client library, which does not check message sizes when it deserializes data sent by a server [3]. NIST NVD scores it 8.8 HIGH under CVSS 3.0 with vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H and maps it to CWE-20 and CWE-119 [1]. Ubuntu states that only 16.04 LTS and 18.04 LTS are affected and that exploitation requires a malicious server to which the client has already authenticated [3]. The vendor says a successful exploit could crash spice-gtk, causing denial of service, and might have other impacts [3]. No reviewed source documents exploitation in the wild, and the CVE is not in the CISA KEV catalog as of 2026-12-03 [2]; FIRST's EPSS estimate of 30-day exploitation activity is 3.93% [4], which is a statistical estimate and not evidence of exploitation. The most important immediate action is to inventory hosts running the spice-gtk library and apply the standard Ubuntu system update, then restart client applications [3].
Key points
- CVE-2018-10873 is a missing message size check in spice-gtk when it deserializes data from a server [3].
- NVD scores it 8.8 HIGH with CVSS 3.0 vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H [1].
- The vendor says exploitation needs a malicious server with an authenticated client session, and the main documented effect is denial of service by crash [3].
- Ubuntu 16.04 LTS and 18.04 LTS are the affected releases named by the vendor; NVD also lists other distributions [1, 3].
- No reviewed source documents exploitation in the wild; the CVE is not in CISA KEV as of 2026-12-03, and the EPSS 30-day estimate is 3.93% [2, 4].
- Apply the standard Ubuntu system update and restart client applications [3].
Vulnerability identification
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2018-10873 | [1] |
| Vendor / project | SPICE project (spice); spice-gtk client library | [1, 3] |
| Component | spice-gtk; Ubuntu package libspice-client-glib-2.0-8 | [3] |
| Published | 2018-08-17 12:29:00 | [1] |
| Last modified | 2026-06-17 01:34:48 | [1] |
| Record status | Modified | [1] |
| CWE | CWE-20 Improper Input Validation; CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer | [1] |
| CVSS 3.0 base score | 8.8 HIGH; vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; scored by NIST NVD (Primary) | [1] |
| Other CVSS versions | None in the pack | [1] |
| CISA KEV status | Not listed as of 2026-12-03 | [2] |
| EPSS | 0.0393 (3.93%), percentile 0.9065, dated 2026-12-02 | [4] |
| Related advisories | Ubuntu notice USN-9465-1 [3]; Ubuntu USN-3751-1, Red Hat RHSA-2018:2731, RHSA-2018:2732 and RHSA-2018:3470, Debian DSA-4319 and three Debian LTS announcements from August 2018 are listed in the NVD references [1] | [1, 3] |
CWE-20 describes input that is not validated against the properties it must have. CWE-119 describes operations that read or write outside the intended bounds of a memory buffer. NVD assigns both, so the record treats the flaw as an input validation failure that can lead to a memory bounds problem [1].
Vulnerability description
The flaw is in spice-gtk, which fails to check message sizes when it deserializes data sent by a server [3]. Deserialization is the step that converts received bytes into the in-memory structures the client uses. Because the declared size of incoming data is not checked, the client processes data that may not fit the expected limits [3].
The attacker must be a malicious server, and the attack works after the client has authenticated to that server [3]. The vendor states that a successful exploit could crash spice-gtk, causing denial of service, and could possibly have other impacts [3]. The NVD vector additionally scores confidentiality and integrity as high [1], but the Ubuntu notice describes only the crash and possible other impacts [3]. This difference is discussed under Impact analysis.
The conditions that matter are a client connecting to a server under attacker control and an authenticated session between them [3].
Root cause analysis
Confirmed: the defect is a missing message size check during deserialization of server-supplied data [3]. The record maps it to CWE-20 and CWE-119 [1].
Analyst assessment: the CWE-119 mapping suggests that an unchecked length can cause the client to access memory beyond the intended buffer during parsing, which would be consistent with the crash the vendor describes. This is an inference; the reviewed sources do not confirm the memory behaviour, the code path or whether memory corruption occurs [1, 3]. The control that should have prevented the flaw is validation of each declared length against the buffer and the protocol limits before data is copied or parsed [3].
Attack surface and exploitation prerequisites
| Factor | Assessment | Source |
|---|---|---|
| Access vector | Network (AV:N) | [1] |
| Attack complexity | Low (AC:L) | [1] |
| Privileges required | Low (PR:L) per the vector; the vendor states the attack works after the client has authenticated | [1, 3] |
| User interaction | None (UI:N) per the vector | [1] |
| Scope | Unchanged (S:U) | [1] |
| Attacker position | A malicious server that the client connects to | [3] |
| Required configuration | Client connects to a server under attacker control; no other enabling feature is named in the pack | [3] |
The vector values are NVD's analysis and are not independent confirmation of exploitability. The authentication requirement is documented by the vendor [3]. A network attacker who is not the server is not described in the reviewed sources as a viable position.
Impact analysis
| Security property | Technically described impact | Source |
|---|---|---|
| Availability | Vendor: crash of spice-gtk, causing denial of service | [3] |
| Confidentiality | Scored High in the NVD vector; no vendor description of data exposure | [1, 3] |
| Integrity | Scored High in the NVD vector; no vendor description of data modification | [1, 3] |
| Authentication and authorization | Exploitation follows authentication to the server; the flaw itself is not described as bypassing authentication | [3] |
| Privilege boundaries | Not described by the reviewed sources | [1, 3] |
Analyst assessment: for an operator, the realistic consequence of the documented behaviour is that the client application terminates when it receives crafted data from a malicious server. Any confidentiality or integrity impact remains a scoring assumption until a vendor or researcher describes it [1, 3].
Affected products and versions
| Product / component | Affected versions | Fixed version | Source and qualification |
|---|---|---|---|
| SPICE project spice | CNA record: 0.14.1, with no comparator shown; NVD configuration: below 0.14.1 | 0.14.1 (NVD) | [1]. The two forms differ in comparator; NVD's configuration reads as affected below 0.14.1. |
| Ubuntu 16.04 LTS, spice-gtk (libspice-client-glib-2.0-8) | Affected per vendor | 0.37-2ubuntu0.1~esm1, 0.34-1.1ubuntu0.1~esm1 and 0.30-1ubuntu0.1~esm1 are listed; the notice does not map each to a release | [3] |
| Ubuntu 18.04 LTS, spice-gtk | Affected per vendor | Same three package versions; mapping to a release not stated | [3] |
| Ubuntu 14.04 | Listed in NVD configuration only | Not stated by the vendor | [1, 3]. Conflicts with the vendor, which names only 16.04 LTS and 18.04 LTS. The vendor statement is the more authoritative source. |
| Debian linux 8.0, 9.0 | Listed in NVD configuration | Fixed package version not in the pack; DSA-4319 is referenced | [1] |
| Red Hat Enterprise Linux 6.0, 7.0 (desktop, server, workstation); Red Hat Virtualization 4.0 and Virtualization Host 4.0; RHEL server AUS 7.6, EUS 7.5 and 7.6, TUS 7.6 | Listed in NVD configuration | Fixed package version not in the pack; RHSA-2018:2731, RHSA-2018:2732 and RHSA-2018:3470 are referenced | [1] |
The fixed version for the SPICE project (0.14.1) comes from NVD [1]. The vendor-specific fixed versions for Debian and Red Hat products are missing from the pack, so the advisories must be consulted for those builds. The Ubuntu package versions are vendor-published [3].
Exploitation and threat intelligence status
- Confirmed exploitation in the wild: no reviewed source documents it [1, 2, 3].
- CISA KEV: not listed as of 2026-12-03 [2]. The catalog is not evidence that exploitation has not occurred.
- EPSS: 3.93% estimated probability of exploitation activity in the next 30 days, percentile 0.9065 as of 2026-12-02 [4]. This is a model estimate and does not indicate observed activity.
- Public proof-of-concept code: none is referenced in the pack.
- Threat actors, campaigns and targeted sectors: none are attributed in the pack.
Exploitation in the wild is Unknown. The pack contains no threat intelligence on it, and the absence of public evidence does not show that it has not occurred.
Detection and exposure assessment
The pack contains no indicators of compromise or vendor detection signatures for this CVE. Detection therefore starts with inventory and version checks.
- On each Debian-family host, run dpkg-query -W libspice-client-glib-2.0-8. Prerequisite: the dpkg package manager, present on Ubuntu and Debian. Expected output: the package name and its installed version. Limitation: the version alone does not show whether the host is exploitable, and the Ubuntu notice does not map its fixed versions to releases [3].
- Compare the installed version against the three fixed versions in the Ubuntu notice [3]. Where the installed version does not clearly match one of them, check the package changelog or the vendor notice for the build before deciding that the host is patched.
- For Red Hat and Debian hosts, identify the installed spice-gtk or SPICE client package with the platform's package manager and compare it against the fixed builds in the referenced advisories [1]. The fixed builds are not in the pack.
- Identify client hosts that connect to SPICE servers outside the trusted set. This is an analyst assessment based on the malicious server precondition [3].
A version check does not prove exploitability. It shows whether the vulnerable code is present, and a patched version is the only confirmed mitigation [3].
Remediation
Immediate mitigation (analyst assessment, follows from the documented attack precondition [3]): restrict spice-gtk clients to connect only to SPICE servers on an approved list, and stop connections to unknown servers until patching is complete. Verify by reviewing the connection configuration of each client. Limitation: this does not protect against a trusted server that is compromised.
Permanent fix (vendor-supported): on Ubuntu 16.04 LTS and 18.04 LTS, apply the standard system update, which the vendor states applies the necessary changes [3]. Verify that the installed libspice-client-glib-2.0-8 package matches a fixed version in the notice, as described in the detection steps [3].
Restart (analyst assessment): restart spice-gtk client applications after the update, because a running process keeps the old library loaded.
For Debian, Red Hat and other distributions, apply the vendor updates named in DSA-4319 and RHSA-2018:2731, RHSA-2018:2732 and RHSA-2018:3470 [1]. The fixed package versions for these builds are not in the pack.
Recommended follow-up: after patching, check the client application logs for terminations of spice-gtk processes, comparing against a baseline from before the update. A crash does not prove an attack, and the pack contains no log signatures to use [3].
Remediation checklist
- Inventory every Ubuntu host with the libspice-client-glib-2.0-8 package by running dpkg-query -W libspice-client-glib-2.0-8 and recording the version and release [3].
- Restrict spice-gtk clients to connect only to approved SPICE servers until patched; verify by reviewing each client's connection settings (analyst assessment based on the malicious server precondition) [3].
- On Ubuntu 16.04 LTS and 18.04 LTS, apply the standard system update to deliver the fixed libspice-client-glib-2.0-8 build [3].
- Confirm the installed package matches one of the fixed versions 0.37-2ubuntu0.1~esm1, 0.34-1.1ubuntu0.1~esm1 or 0.30-1ubuntu0.1~esm1 in the notice; where the release mapping is unclear, check the package changelog before treating the host as patched [3].
- Restart spice-gtk client applications after the update so the patched library is loaded (analyst assessment) [3].
- On Debian, apply the update named in DSA-4319, and on Red Hat products apply the updates in RHSA-2018:2731, RHSA-2018:2732 and RHSA-2018:3470; confirm the installed build against each advisory [1].
- Check Ubuntu 14.04 against the vendor notice, which does not list it, before deciding on action; NVD lists it [1, 3].
- After patching, review spice-gtk process terminations against a pre-update baseline, and treat repeated crashes linked to one server as a reason to review that server (analyst assessment; no log signatures are in the pack) [3].
- Record the verification evidence (version output and date per host) and close the exposure only when every inventoried client is on a fixed build [1, 3].
Evidence gaps
- Not established by the reviewed sources: whether the flaw causes memory corruption, and the exact code path; the root cause is inferred from the CWE mappings and the vendor description, and the upstream commit reference is not described in the pack [1, 3]. To settle it, review the upstream patch and its commit description.
- Not established by the reviewed sources: the release mapping for the three Ubuntu fixed package versions; the Ubuntu notice does not map them to 16.04 LTS or 18.04 LTS [3]. To settle it, consult the Ubuntu package changelog or the notice's per-release details.
- Not established by the reviewed sources: fixed package versions for Debian, Red Hat and Red Hat Virtualization builds; these appear only as advisory references [1]. To settle it, consult DSA-4319 and the RHSA advisories listed in the record.
- Not established by the reviewed sources: whether Ubuntu 14.04 is affected; NVD lists it but the vendor notice does not [1, 3]. To settle it, obtain the vendor's per-release statement.
- Not established by the reviewed sources: the comparator of the CNA-published affected version (0.14.1); the record shows it without a comparator while NVD reads below 0.14.1 [1]. To settle it, obtain the CVE Numbering Authority's record text or the upstream release notes.
- Not established by the reviewed sources: CVSS scores under any version other than CVSS 3.0; only one CVSS 3.0 score is in the pack [1].
- Not established by the reviewed sources: confidentiality or integrity impact described by the vendor or a researcher; the NVD vector scores them high without a vendor description [1, 3]. To settle it, obtain a vendor or researcher analysis of the impact.
- Not established by the reviewed sources: indicators of compromise, log signatures, network patterns or public proof-of-concept code [1, 2, 3]. To settle it, obtain vendor detection guidance or a researcher analysis.
- Not established by the reviewed sources: the date of the Ubuntu notice, which is not stated on the page [3]. To settle it, confirm the publication date from the Ubuntu security notices index.
- Not established by the reviewed sources: the identifier discrepancy between the Ubuntu notice USN-9465-1 and the Ubuntu USN-3751-1 reference listed in NVD [1, 3]. To settle it, verify which notice covers the fixed builds on the Ubuntu security site.
References
- CVE-2018-10873 record. NIST National Vulnerability Database (NVD), 2026-06-17. https://nvd.nist.gov/vuln/detail/CVE-2018-10873. Accessed 2026-12-03.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-03. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-03.
- Vendor bulletin page (ubuntu.com). ubuntu.com. https://ubuntu.com/security/notices/USN-9465-1. Accessed 2026-12-03.
- EPSS score for CVE-2018-10873. FIRST, 2026-12-02. https://api.first.org/data/v1/epss?cve=CVE-2018-10873. Accessed 2026-12-03.
Summary
It was discovered that spice-gtk did not properly validate message sizes when demarshalling data received from a server. A malicious server, after authentication, could possibly use this issue to cause spice-gtk to crash, resulting in a denial of service, or possibly have other impacts. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-10873) Frediano Ziglio discovered tha…
Severity breakdown
High · 8.8
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, integrity and availability
Weakness
- CWE-20: Improper Input Validation
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| [UNKNOWN] spice: | 0.14.1 | — |
References by type
Patches and fixed releases
Other references
- securityfocus.com/bid/105152
- access.redhat.com/errata/RHSA-2018:2731
- access.redhat.com/errata/RHSA-2018:2732
- access.redhat.com/errata/RHSA-2018:3470
- bugzilla.redhat.com/show_bug.cgi
- lists.debian.org/debian-lts-announce/2018/08/msg00035.html
- lists.debian.org/debian-lts-announce/2018/08/msg00037.html
- lists.debian.org/debian-lts-announce/2018/08/msg00038.html
- usn.ubuntu.com/3751-1
- debian.org/security/2018/dsa-4319
Frequently asked questions
What is CVE-2018-10873?
CVE-2018-10873 is a flaw in spice-gtk, the SPICE client library, which does not check message sizes when it deserializes data sent by a server. NIST NVD scores it 8.8 HIGH under CVSS 3.0 with vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H and maps it to CWE-20 and CWE-119. Weakness type: Improper Input Validation (CWE-20).
How severe is CVE-2018-10873?
CVE-2018-10873 has a CVSS 3.0 base score of 8.8 (high), from NVD. An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2018-10873 being exploited?
Not as far as is known: CVE-2018-10873 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 3.9% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2018-10873?
[UNKNOWN] spice: 0.14.1.
How do I fix CVE-2018-10873?
Inventory every Ubuntu host with the libspice-client-glib-2.0-8 package by running dpkg-query -W libspice-client-glib-2.0-8 and recording the version and release. Restrict spice-gtk clients to connect only to approved SPICE servers until patched; verify by reviewing each client's connection settings (analyst assessment based on the malicious server precondition). On Ubuntu 16.04 LTS and 18.04 LTS, apply the standard system update to deliver the fixed libspice-client-glib-2.0-8 build.
Timeline & sources
References
Related vulnerabilities & news
- Ubuntu Addresses Three Vulnerabilities in the matio Library
- Ubuntu Notice USN-9451-1 Fixes Seven NASM Assembler Flaws Across Several Releases
- CVE-2026-136612 — Red Hat OpenShift Service Mesh 3.2
- Ubuntu Issues Security Update for SQLite, Fixing 10 Vulnerabilities in 24.04 LTS
- Ubuntu Issues Security Update for PyMongo Vulnerabilities Across Multiple Ubuntu Versions