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

- Severity: High 7.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-10-16T11:53:00.840Z
- Modified: 2026-11-23T15:17:22.897Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- spice-server: no versions given
- spice: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-105959> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2554008> (issue-tracking)
- <https://gitlab.freedesktop.org/spice/spice/-/merge_requests/253>

## Sources

- CVE List: [CVE-2026-105959](https://www.cve.org/CVERecord?id=CVE-2026-105959), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-105959](https://nvd.nist.gov/vuln/detail/CVE-2026-105959), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-105959 · Whole record: https://cve.day/CVE-2026-105959.json · Rebuilt by cve.day 2026-11-25T22:59:45.045Z
