CVE-2026-105958

Spice-server: spice: heap oob read/write via unchecked migration data offsets

Published Oct 16, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
A flaw was found in spice-server. Multiple migration data handlers use client-supplied offsets from SPICE_MSGC_MIGRATE_DATA messages without bounds validation, allowing a malicious authenticated SPICE client during VM live migration to read arbitrary heap memory or trigger heap corruption via out-of-bounds read and write operations on the message buffer.

Analysis

AI-generated

Technical impact

A flaw in spice-server allows unvalidated offsets supplied by a SPICE client in migration data messages to lead to out‑of‑bounds read and write operations on the server’s heap buffer. This can cause arbitrary heap memory reads or heap corruption when a live migration is performed. The CVE does not explicitly state that code execution or privilege escalation is achieved, only that memory can be read or corrupted.

Affected Systems

The vulnerability affects Red Hat Enterprise Linux 6, 7 and 8 through the spice‑server component that ships with these distributions. No specific patch version is listed; any installation of spice‑server that has not incorporated the mitigations described in the workaround is considered vulnerable.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity, but no EPSS score is available and the vulnerability is not listed in the CISA KEV catalog, suggesting no publicly known exploitation to date. An attacker would need an authenticated SPICE client during a VM live migration to exploit the flaw. Under those conditions, the unchecked offsets can be used to read or write arbitrary heap data, which may result in heap corruption or denial of service on the host running the virtualization system.

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. --- CME Mitigation Guidance (2026-10-20) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to enforce strict bounds validation on client-supplied offsets and buffer lengths across all SPICE migration data handlers prior to memory operations: upgrade to the fixed Spice/Spice Server builds, which validate migration data offsets and read bounds against declared message lengths instead of reallocating from attacker-controlled values, closing all 4 injection vectors (RedCharDevice restore via write_data_ptr offset manipulation, smartcard restore via read_data_ptr offset manipulation, reds agent state restore via msg_header_ptr offset manipulation, DisplayChannelClient migrate data handling via surfaces_at_client_ptr offset manipulation). Until patched, this is a concern on Linux hosts running Spice Server with VM live migration enabled, so disable VM live migration if not required, restrict SPICE client network access using firewall rules, and enforce strong authentication via SASL or mutual TLS. As a compensating measure, randomize heap and binary addresses using ASLR to impede reliable exploitation of out-of-bounds reads and writes, enforce full RELRO and PIE to make Global Offset Table entries read-only and prevent control flow diversion via heap corruption, validate indirect call targets using Control Flow Integrity or shadow call stacks to block redirection upon corruption of function pointers or vtables, enable FORTIFY_SOURCE to detect buffer overflows during memory copy operations such as memcpy and abort execution, and confine the SPICE server process using SELinux in enforcing mode to restrict host access if arbitrary code execution occurs. These controls limit blast radius and contain exploitation, but they do not fix the underlying unchecked migration data offsets defect — apply the upstream patch to fully remediate. Highest-impact CME: CME-301 SELinux (Enforcing Mode) (medium)


OpenCVE Recommended Actions

  • Disable live migration or SPICE client connections entirely if not required for business operations
  • If live migration must be retained, limit SPICE client access to a trusted network segment using firewall rules
  • Enforce strong authentication for SPICE clients by requiring TLS with mutual certificate validation or SASL with robust credentials

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8 cpe:/o:redhat:enterprise_linux:8
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:8
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
First Time appeared Red Hat
Red Hat enterprise Linux
Vendors & Products Red Hat
Red Hat enterprise Linux
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in spice-server. Multiple migration data handlers use client-supplied offsets from SPICE_MSGC_MIGRATE_DATA messages without bounds validation, allowing a malicious authenticated SPICE client during VM live migration to read arbitrary heap memory or trigger heap corruption via out-of-bounds read and write operations on the message buffer.
Title Spice-server: spice: heap oob read/write via unchecked migration data offsets
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-787
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 23, 2026, 2:24 PM
Reserved
Oct 6, 2026, 8:37 AM
Status
Awaiting Analysis
Published
Oct 16, 2026, 1:16 PM
Modified
Nov 23, 2026, 3:17 PM
Severity
Important
Public date
Oct 9, 2026, 9:34 PM