CVE-2026-137653: Spice-server: spice-server: remote denial of service via unbounded message-size allocation
A flaw was found in spice-server. A malicious SPICE client can send a message header declaring an arbitrarily large message body. The server sizes the receive-buffer allocation for the message from this declared size before any message content is received; when the allocation fails, the process hosting the SPICE server terminates abruptly, causing a denial of service for the virtual machine it serves. On hosts with sufficient free memory, a single declared size may instead allocate successfully, and the same technique can be used to hold large amounts of memory per connection. The easiest trigger is available on every SPICE server regardless of the virtual machine's device configuration. Exploitation requires network access to the SPICE port; whether credentials are needed depends on the server's authentication configuration, and the unauthenticated variant requires authentication to be explicitly disabled. Among currently supported Red Hat Enterprise Linux releases, the affected package ships in Red Hat Enterprise Linux 8 (spice-server 0.14.3); the SPICE protocol has been deprecated there since 8.4 and is not shipped in Red Hat Enterprise Linux 9 or 10.
Other sources
A flaw was found in spice-server. A malicious SPICE client can send a message header declaring an arbitrarily large message body. The server sizes the receive-buffer allocation from this declared size before any message content is received; when the allocation fails, the process hosting the SPICE server terminates abruptly, causing a denial of service for the virtual machine it serves. On hosts with sufficient free memory, the same technique can instead hold large amounts of memory per connection. Exploitation requires network access to the SPICE port; credential requirements depend on the server's authentication configuration.
— MITRE
Affected Software
Event History
Frequently Asked Questions
Does exploitation require a valid SPICE login?
It depends on the SPICE server's authentication configuration. An attacker must have network access to the SPICE port, but credential requirements vary by deployment.
Can this be used for memory exhaustion as well as a crash?
Yes. Where sufficient host memory is available, an attacker can cause large memory allocations for each connection rather than immediately triggering an allocation failure and process termination.