CVEfocus › CVE database › CVE-2026-105959

CVE-2026-105959Spice-server: spice: heap buffer overflow via glz dictionary max_encoders integer…

CVSS 7.5 HighEPSS 0.5% (higher than 38% of CVEs)Published 2026-10-16Updated 2026-11-23Assigner: redhat

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.

CWE-190

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

24Fix pending
9Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10spiceFix pendingUBUNTU-CVE-2026-105959
Ubuntu 26.10spice-gtkFix pendingUBUNTU-CVE-2026-105959
Ubuntu 26.10spice-protocolFix pendingUBUNTU-CVE-2026-105959
Ubuntu 26.04spiceUnder investigationUBUNTU-CVE-2026-105959
Ubuntu 26.04spice-gtkUnder investigationUBUNTU-CVE-2026-105959
Ubuntu 26.04spice-protocolUnder investigationUBUNTU-CVE-2026-105959
Ubuntu 24.04spiceUnder investigationUBUNTU-CVE-2026-105959
Ubuntu 24.04spice-gtkUnder investigationUBUNTU-CVE-2026-105959
Ubuntu 24.04spice-protocolUnder investigationUBUNTU-CVE-2026-105959
Ubuntu 22.04spiceUnder investigationUBUNTU-CVE-2026-105959
Ubuntu 22.04spice-gtkUnder investigationUBUNTU-CVE-2026-105959
Ubuntu 22.04spice-protocolUnder investigationUBUNTU-CVE-2026-105959
Ubuntu 20.04spiceFix pendingUBUNTU-CVE-2026-105959
Ubuntu 20.04spice-gtkFix pendingUBUNTU-CVE-2026-105959
Ubuntu 20.04spice-protocolFix pendingUBUNTU-CVE-2026-105959
Ubuntu 18.04spiceFix pendingUBUNTU-CVE-2026-105959
Ubuntu 18.04spice-gtkFix pendingUBUNTU-CVE-2026-105959
Ubuntu 18.04spice-protocolFix pendingUBUNTU-CVE-2026-105959
Ubuntu 16.04spiceFix pendingUBUNTU-CVE-2026-105959
Ubuntu 16.04spice-gtkFix pendingUBUNTU-CVE-2026-105959
Ubuntu 16.04spice-protocolFix pendingUBUNTU-CVE-2026-105959
Ubuntu 14.04spiceFix pendingUBUNTU-CVE-2026-105959
Debian 14spiceFix pendingDEBIAN-CVE-2026-105959
Debian 13spiceFix pendingDEBIAN-CVE-2026-105959
Debian 12spiceFix pendingDEBIAN-CVE-2026-105959
Red Hat Enterprise Linux 8spiceFix pending
Affected
Red Hat Enterprise Linux 8spice-serverFix pending
Affected
Red Hat Enterprise Linux 8spice-server-develFix pending
Affected
Red Hat Enterprise Linux 7spiceFix pending
Affected
Red Hat Enterprise Linux 7spice-serverFix pending
Affected
Red Hat Enterprise Linux 7spice-server-develFix pending
Affected
Red Hat Enterprise Linux 6spice-serverFix pending
Affected
Red Hat Enterprise Linux 6spice-server-develFix 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.

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

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.