CVE-2025-12748
JSON

5.5medium

Libvirt: denial of service in xml parsing

Severity
5.5medium CVSS:3.1 by redhat
Exploit likelihood
0.27% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

A flaw was discovered in libvirt in the XML file processing. More specifically, the parsing of user provided XML files was performed before the ACL checks. A malicious user with limited permissions could exploit this flaw by submitting a specially crafted XML file, causing libvirt to allocate too much memory on the host. The excessive memory consumption could lead to a libvirt process crash on the host, resulting in a denial-of-service condition.

Affected

Product or packageVersionsReported by
libvirtup to 11.9.0
Not affected: from 0:11.10.0-12.el10_2 before *, from 0:11.10.0-12.el9_8 before *
CVE List
virt:rhel/libvirtNot specifiedCVE List

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

A flaw was discovered in libvirt in the XML file processing. More specifically, the parsing of user provided XML files was performed before the ACL checks. A malicious user with limited permissions could exploit this flaw by submitting a specially crafted XML file, causing libvirt to allocate too much memory on the host. The excessive memory consumption could lead to a libvirt process crash on the host, resulting in a denial-of-service condition.

NVD (es)

Se descubrió una falla en libvirt en el procesamiento de archivos XML. Más específicamente, el análisis de archivos XML proporcionados por el usuario se realizaba antes de las comprobaciones de ACL. Un usuario malintencionado con permisos limitados podría exploitar esta falla al enviar un archivo XML especialmente diseñado, lo que provocaría que libvirt asignara demasiada memoria en el host. El consumo excesivo de memoria podría provocar la caída de un proceso de libvirt en el host, lo que resultaría en una condición de denegación de servicio.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12748 changed 2026-11-24CVE Terms of Use
NVDCVE-2025-12748 changed 2026-11-24Public domain