CVE-2025-12748: Libvirt: denial of service in xml parsing

Published Nov 10, 2025
·
Updated

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 (https://libvirt.org/acl.html). 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.

Upstream issue: https://gitlab.com/libvirt/libvirt/-/issues/825

Patch: https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/LTGHU3S4JEMCF5KJNJGWWZ7F2CS6L5SG/

Other sources

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

Libvirt: denial of service in xml parsing

Microsoft

Affected Software

9 affected componentsFixes available
libvirt libvirt
debian/libvirt<=7.0.0-3+deb11u3, <=9.0.0-4+deb12u2, <=11.3.0-3+deb13u1, <=11.9.0-2
11.10.0-1
Microsoft azl3 libvirt 10.0.0-5
Microsoft cbl2 libvirt 7.10.0-10
Microsoft azl3 libvirt 10.0.0-6
Microsoft cbl2 libvirt 7.10.0-11
Microsoft azl3 libvirt 10.0.0-7
Microsoft cbl2 libvirt 7.10.0-10
Microsoft azl3 libvirt 10.0.0-6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libvirt to a version that resolves this vulnerability.

    Fixed in 11.10.0-1

Event History

Nov 10, 2025
Data Sourced
via Red Hat·04:19 PM
DescriptionSeverityAffected Software
Nov 11, 2025
CVE Published
via MITRE·07:49 PM
Data Sourced
via MITRE·07:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Nov 15, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:01 AM
SeverityAffected Software
Updated
via Microsoft·01:01 AM
Affected Software
Updated
via Microsoft·09:01 AM
DescriptionSeverity
Updated
via Microsoft·09:01 AM
SeverityAffected Software
Updated
via Microsoft·09:01 AM
Affected Software
Dec 3, 2025
Data Sourced
via Debian·08:56 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-12748?

CVE-2025-12748 is considered a high-severity vulnerability due to its potential for exploitation by users with limited permissions.

2

How do I fix CVE-2025-12748?

To fix CVE-2025-12748, ensure you apply the latest patches and updates provided by the libvirt maintainers.

3

What type of vulnerability is CVE-2025-12748?

CVE-2025-12748 is a flaw in XML file processing related to improper handling of user provided XML files in libvirt.

4

Who is affected by CVE-2025-12748?

CVE-2025-12748 affects users of the libvirt software that processes user-provided XML files without proper ACL checks.

5

What can an attacker achieve by exploiting CVE-2025-12748?

An attacker could exploit CVE-2025-12748 to bypass security restrictions and potentially execute unauthorized actions in the system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203