---
id: CVE-2026-105959
title: A flaw was found in spice-server
summary: >-
  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 m…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-190
vendor: Red Hat
product: spice-server
affected:
  - spice-server (all versions)
  - spice (all versions)
  - spice (all versions)
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T19:23:18.623'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105959'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-105959'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2554008'
    label: secalert@redhat.com
  - url: 'https://gitlab.freedesktop.org/spice/spice/-/merge_requests/253'
    label: secalert@redhat.com
tags:
  - nvd
  - cve.org
epss: 0.0048
epssPercentile: 0.41223
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T14:04:30.322816Z'
ingestedAt: '2026-10-16T12:05:46.478Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
