KubeVirt downward metrics virtio-serial server vulnerable to unbounded memory consumption
GHSA-6f2p-2qg2-qqch · CVE-2026-13322
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
A flaw was found in KubeVirt's downward metrics virtio-serial server. The server reads guest requests using textproto.Reader.ReadLine(), which buffers input indefinitely until a newline character is received, with no length limit or read deadline. A user with access to a VM guest that has the downward metrics virtio-serial device configured can write a continuous byte stream to the device, causing unbounded memory allocation in the virt-handler process until it is OOM-killed.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-13322
- WEB https://access.redhat.com/security/cve/CVE-2026-13322
- WEB https://bugzilla.redhat.com/show_bug.cgi?id=2492681
- PACKAGE https://github.com/kubevirt/kubevirt
- WEB https://github.com/kubevirt/kubevirt/blob/e63503d2f3a166f79f0891f8e1c3450eb39f88ac/pkg/downwardmetrics/virtio-serial/server.go#L240-L251
Ready to move
Start Securing
Free, no credit card | First findings in minutes