CVE-2026-105959Spice-server: spice: heap buffer overflow via glz dictionary max_encoders integer…
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.
What to do
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | spice | Fix pending | UBUNTU-CVE-2026-105959 | |
| Ubuntu 26.10 | spice-gtk | Fix pending | UBUNTU-CVE-2026-105959 | |
| Ubuntu 26.10 | spice-protocol | Fix pending | UBUNTU-CVE-2026-105959 | |
| Ubuntu 26.04 | spice | Under investigation | UBUNTU-CVE-2026-105959 | |
| Ubuntu 26.04 | spice-gtk | Under investigation | UBUNTU-CVE-2026-105959 | |
| Ubuntu 26.04 | spice-protocol | Under investigation | UBUNTU-CVE-2026-105959 | |
| Ubuntu 24.04 | spice | Under investigation | UBUNTU-CVE-2026-105959 | |
| Ubuntu 24.04 | spice-gtk | Under investigation | UBUNTU-CVE-2026-105959 | |
| Ubuntu 24.04 | spice-protocol | Under investigation | UBUNTU-CVE-2026-105959 | |
| Ubuntu 22.04 | spice | Under investigation | UBUNTU-CVE-2026-105959 | |
| Ubuntu 22.04 | spice-gtk | Under investigation | UBUNTU-CVE-2026-105959 | |
| Ubuntu 22.04 | spice-protocol | Under investigation | UBUNTU-CVE-2026-105959 | |
| Ubuntu 20.04 | spice | Fix pending | UBUNTU-CVE-2026-105959 | |
| Ubuntu 20.04 | spice-gtk | Fix pending | UBUNTU-CVE-2026-105959 | |
| Ubuntu 20.04 | spice-protocol | Fix pending | UBUNTU-CVE-2026-105959 | |
| Ubuntu 18.04 | spice | Fix pending | UBUNTU-CVE-2026-105959 | |
| Ubuntu 18.04 | spice-gtk | Fix pending | UBUNTU-CVE-2026-105959 | |
| Ubuntu 18.04 | spice-protocol | Fix pending | UBUNTU-CVE-2026-105959 | |
| Ubuntu 16.04 | spice | Fix pending | UBUNTU-CVE-2026-105959 | |
| Ubuntu 16.04 | spice-gtk | Fix pending | UBUNTU-CVE-2026-105959 | |
| Ubuntu 16.04 | spice-protocol | Fix pending | UBUNTU-CVE-2026-105959 | |
| Ubuntu 14.04 | spice | Fix pending | UBUNTU-CVE-2026-105959 | |
| Debian 14 | spice | Fix pending | DEBIAN-CVE-2026-105959 | |
| Debian 13 | spice | Fix pending | DEBIAN-CVE-2026-105959 | |
| Debian 12 | spice | Fix pending | DEBIAN-CVE-2026-105959 | |
| Red Hat Enterprise Linux 8 | spice | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | spice-server | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | spice-server-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | spice | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | spice-server | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | spice-server-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | spice-server | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | spice-server-devel | Fix pending Affected |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
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 prevent integer truncation of size_t allocation…
References
- https://access.redhat.com/security/cve/CVE-2026-105959
- https://bugzilla.redhat.com/show_bug.cgi?id=2554008
- https://gitlab.freedesktop.org/spice/spice/-/merge_requests/253
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.