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 package | Versions | Reported by |
|---|---|---|
| libvirt | up 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/libvirt | Not specified | CVE List |
Classification
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
| https://access.redhat.com/errata/RHSA-2026:18326 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:18748 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2025-12748 | vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2413801 | issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-12748 changed 2026-11-24 | CVE Terms of Use |
| NVD | CVE-2025-12748 changed 2026-11-24 | Public domain |