Description
A flaw was found in spice-server. The GLZ encoder dictionary restore path truncates a size_t allocation size to int when calling the malloc callback, allowing a malicious authenticated SPICE client during VM live migration to trigger a massive heap buffer overflow by sending a crafted max_encoders value in migration data.
Published: 2026-10-16
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Patch Immediately
AI Analysis

Impact

A flaw in spice-server's GLZ encoder dictionary restore path truncates a size_t allocation size to int when calling the malloc callback. A malicious authenticated SPICE client can exploit this during VM live migration by sending a crafted max_encoders value, causing a massive heap buffer overflow that can lead to arbitrary code execution or denial of service.

Affected Systems

The vulnerability affects Red Hat Enterprise Linux 6, 7, and 8 systems running spice-server. The specific versions of spice-server are not enumerated in the advisory, so any installed instance on those operating systems is potentially affected.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity level, and the EPSS score is not available, implying that the exploitation likelihood is not quantified but remains a concern due to the nature of the flaw. The attack vector is limited to authenticated SPICE clients during live migration, and the vulnerability is not listed in CISA KEV. Successful exploitation could result in remote code execution or service disruption.

Generated by OpenCVE AI on October 16, 2026 at 13:35 UTC.

Remediation

Vendor Workaround

This vulnerability is only exploitable during VM live migration by an authenticated SPICE client. If live migration is not required, disabling it eliminates the attack surface. If live migration is needed, restrict SPICE client connections to trusted networks using firewall rules and enforce strong authentication (TLS with mutual certificate validation, or SASL with strong credentials) to limit who can connect as a SPICE client.


OpenCVE Recommended Actions

  • Disable VM live migration unless it is absolutely required
  • If live migration is needed, restrict SPICE client connections to trusted networks using firewall rules
  • Enforce strong authentication for SPICE clients, such as TLS with mutual certificate validation or SASL with robust credentials
  • Apply any vendor‑issued patch or update for spice‑server as soon as it becomes available

Generated by OpenCVE AI on October 16, 2026 at 13:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 12:00:00 +0000

Type Values Removed Values Added
Description A flaw was found in spice-server. The GLZ encoder dictionary restore path truncates a size_t allocation size to int when calling the malloc callback, allowing a malicious authenticated SPICE client during VM live migration to trigger a massive heap buffer overflow by sending a crafted max_encoders value in migration data.
Title Spice-server: spice: heap buffer overflow via glz dictionary max_encoders integer truncation
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-190
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-16T14:04:46.377Z

Reserved: 2026-10-06T08:37:18.542Z

Link: CVE-2026-105959

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-16T12:16:31.733

Modified: 2026-10-16T14:17:16.300

Link: CVE-2026-105959

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T13:41:27Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound