CVE-2026-137653
Description
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.
Statement
This vulnerability is rated Moderate rather than Important because its impact is limited to availability: the process hosting the SPICE server terminates when the attacker-triggered memory allocation fails, with no confidentiality or integrity impact, and only the virtual machine whose console is attacked is lost. The host and other virtual machines continue running. The attacker must be able to connect to the SPICE port as a client. Where SPICE authentication (ticketing or SASL) is enforced, valid credentials are required to reach the affected code; the unauthenticated variant requires ticketing to have been explicitly disabled, which is not a default configuration. On hosts with large amounts of free memory, a single crafted message may allocate successfully instead, and the same technique can be used to hold large amounts of memory per connection, which is also an availability impact. Among currently supported Red Hat Enterprise Linux releases, the affected package ships only in Red Hat Enterprise Linux 8, where the SPICE protocol has been deprecated since 8.4; Red Hat Enterprise Linux 9 and later do not ship spice-server.
Mitigation
Restricting SPICE ports to trusted management networks and enforcing SPICE authentication (ticketing or SASL) limits who can reach the affected code path; no patch is currently available.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 6.5 | N/A | N/A |
| Attack Vector | Network | N/A | N/A |
| Attack Complexity | Low | N/A | N/A |
| Privileges Required | Low | N/A | N/A |
| User Interaction | None | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | None | N/A | N/A |
| Integrity Impact | None | N/A | N/A |
| Availability Impact | High | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat CVSS v3 Score Explanation
Rating for supported-product exposure with SPICE authentication enforced. Worst case under explicitly disabled ticketing (disable-ticketing) is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H = 7.5.
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)
When allocating resources without limits, an attacker could prevent other systems, applications, or processes from accessing the same type of resource. It can be easy for an attacker to consume many resources by rapidly making many requests or causing larger resources to be used than is needed.
Acknowledgements
Red Hat would like to thank Adrian Pfeffer for reporting this issue.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.