{"id":"CVE-2026-105959","aliases":["BELL-CVE-2026-105959","DEBIAN-CVE-2026-105959","EUVD-2026-102846","GHSA-m5f2-676c-jfj7","UBUNTU-CVE-2026-105959","openSUSE-SU-2026:12222-1"],"status":"published","title":"Spice-server: spice: heap buffer overflow via glz dictionary max_encoders integer truncation","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.0048,"percentile":0.41929,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2026-10-16T11:53:00Z","modified":"2026-11-11T07:30:06Z","fixes":[{"ecosystem":"Alpaquita:23","package":"spice","fixed_in":["0.15.1-r1"],"sources":["osv"]},{"ecosystem":"Alpaquita:25","package":"spice","fixed_in":["0.15.2-r2"],"sources":["osv"]},{"ecosystem":"Alpaquita:stream","package":"spice","fixed_in":["0.16.0-r1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpaquita:23","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.15.1-r0"},{"fixed":"0.15.1-r1"}]}]},{"source":"osv","ecosystem":"Alpaquita:25","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.15.2-r1"},{"fixed":"0.15.2-r2"}]}]},{"source":"osv","ecosystem":"Alpaquita:stream","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.15.0-r2"},{"fixed":"0.16.0-r1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.15.1-1","0.15.2-1","0.16.0-1","0.16.0-2","0.16.0-3"]},{"source":"osv","ecosystem":"Debian:13","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.15.2-1","0.16.0-1","0.16.0-2","0.16.0-3"]},{"source":"osv","ecosystem":"Debian:14","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.15.2-1","0.16.0-1","0.16.0-2","0.16.0-3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.4-0nocelt1","0.12.4-0nocelt1.1","0.12.4-0nocelt1.1ubuntu1","0.12.4-0nocelt2","0.12.4-0nocelt2ubuntu1","0.12.4-0nocelt2ubuntu1.1","0.12.4-0nocelt2ubuntu1.2","0.12.4-0nocelt2ubuntu1.3","0.12.4-0nocelt2ubuntu1.4","0.12.4-0nocelt2ubuntu1.5","0.12.4-0nocelt2ubuntu1.6","0.12.4-0nocelt2ubuntu1.7","0.12.4-0nocelt2ubuntu1.8","0.12.4-0nocelt2ubuntu1.8+esm1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.5-1.1ubuntu2","0.12.6-4","0.12.6-4ubuntu0.1","0.12.6-4ubuntu0.2","0.12.6-4ubuntu0.3","0.12.6-4ubuntu0.4","0.12.6-4ubuntu0.5"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"spice-protocol","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.7-1","0.12.10-1","0.12.10-1ubuntu0.1","0.12.10-1ubuntu0.2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"spice-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.28-1ubuntu1","0.29-1","0.30-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.8-2.2","0.14.0-1","0.14.0-1ubuntu1","0.14.0-1ubuntu2","0.14.0-1ubuntu2.1","0.14.0-1ubuntu2.2","0.14.0-1ubuntu2.4","0.14.0-1ubuntu2.5"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"spice-protocol","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.13-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"spice-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.33-3.3","0.34-1.1","0.34-1.1build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.2-0ubuntu2","0.14.2-4ubuntu1","0.14.2-4ubuntu2","0.14.2-4ubuntu3","0.14.2-4ubuntu3.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"spice-protocol","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.0-0ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"spice-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.37-0ubuntu1","0.37-0ubuntu2","0.37-2fakesync1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.3-2.1ubuntu1","0.15.0-2ubuntu1","0.15.0-2ubuntu2","0.15.0-2ubuntu3","0.15.0-2ubuntu4"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"spice-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.39-1","0.39-3","0.39-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"spice-protocol","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.3-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.15.1-1","0.15.1-1build1","0.15.1-1build2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"spice-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.42-2","0.42-2ubuntu1","0.42-2ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"spice-protocol","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.3-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16.0-1","0.16.0-2","0.16.0-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"spice-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.42-4build1","0.42-4build2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"spice-protocol","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.5-1build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.15.2-1","0.16.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"spice-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.42-4","0.42-4build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"spice-protocol","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.3-1","0.14.5-1","0.14.5-1build1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"spice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.16.0-3.1"}]}],"bundled":2}],"products":[{"vendor":"red hat","product":"red hat enterprise linux 6"},{"vendor":"red hat","product":"red hat enterprise linux 7"},{"vendor":"red hat","product":"red hat enterprise linux 8"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-105959","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2554008","tags":["issue-tracking","x_refsource_REDHAT","report"]},{"url":"https://gitlab.freedesktop.org/spice/spice/-/merge_requests/253","tags":["report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105959"},{"url":"https://github.com/advisories/GHSA-m5f2-676c-jfj7"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2026-105959","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-105959","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-105959","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-105959","tags":["report"]},{"url":"https://gitlab.freedesktop.org/spice/spice/-/commit/a3b9feb121fa6b19dc55cca6ec546e35fe4c9573","tags":["report"]},{"url":"https://gitlab.freedesktop.org/spice/spice/-/commit/4807b923d09e656d3f414ccde16d83189ba79ac9","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-105958","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-105959","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-105959","title":"Spice-server: spice: heap buffer overflow via glz dictionary max_encoders integer truncation","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.","status":"published","published":"2026-10-16T11:53:00.84Z","modified":"2026-11-04T21:41:27.104Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-190"],"updated_at":"2026-11-04T22:39:14.734949Z"}],"euvd":[{"id":"EUVD-2026-102846","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.","status":"published","published":"2026-10-16T11:53:00Z","modified":"2026-11-04T21:41:27Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-04T23:47:19.24864Z"}],"ghsa":[{"id":"GHSA-m5f2-676c-jfj7","title":"A flaw was found in spice-server. The GLZ encoder dictionary restore path truncates a size_t...","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.","status":"published","published":"2026-10-16T12:31:22Z","modified":"2026-10-16T12:31:22Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T15:13:51.12467Z"}],"nvd":[{"id":"CVE-2026-105959","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.","status":"published","published":"2026-10-16T12:16:31.733Z","modified":"2026-11-04T22:17:45.677Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-190"],"updated_at":"2026-11-04T23:43:40.883865Z"}],"osv":[{"id":"BELL-CVE-2026-105959","status":"published","published":"2026-10-17T06:05:36.122263Z","modified":"2026-11-11T07:30:06.272054166Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-11T07:56:32.232974Z"},{"id":"DEBIAN-CVE-2026-105959","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.","status":"published","published":"2026-10-16T12:16:31.733Z","modified":"2026-11-05T09:47:29.237495981Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-05T13:31:24.64316Z"},{"id":"UBUNTU-CVE-2026-105959","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.","status":"published","published":"2026-10-16T12:16:00Z","modified":"2026-10-28T20:17:40.742185975Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:59.130573Z"},{"id":"openSUSE-SU-2026:12222-1","title":"libspice-server-devel-0.16.0-3.1 on GA media","description":"These are all security issues fixed in the libspice-server-devel-0.16.0-3.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-10-21T00:00:00Z","modified":"2026-10-22T17:23:12.293034988Z","updated_at":"2026-11-02T16:58:40.245664Z"}]}}
