CVE-2026-13322
KubeVirt downward metrics virtio-serial server vulnerable to unbounded memory consumption
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko für Ausfälle. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/kubevirt/kubevirt | >= 1.1.0-alpha.0, <= 1.10.0-rc.0 | nicht erfasst |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Kubevirt | Kubevirt | Alle Versionen |
| Red Hat | Openshift Virtualization | ab 4 bis einschließlich 4.22.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://access.redhat.com/security/cve/CVE-2026-13322
- https://bugzilla.redhat.com/show_bug.cgi?id=2492681
- https://github.com/advisories/GHSA-6f2p-2qg2-qqch
- https://nvd.nist.gov/vuln/detail/CVE-2026-13322
- https://github.com/kubevirt/kubevirt/blob/e63503d2f3a166f79f0891f8e1c3450eb39f88ac/pkg/downwardmetrics/virtio-serial/server.go#L240-L251