CVE-2025-12748: Denial of service in libvirt XML parsing
CVE-2025-12748 is a denial-of-service vulnerability in libvirt's processing of user-supplied XML files. According to the provided content, libvirt parses the XML input before performing ACL checks. Because this parsing occurs prior to authorization enforcement, a malicious user with limited permissions can submit a specially crafted XML document that causes excessive memory allocation on the host during parsing. This can exhaust memory available to the libvirt process and trigger a crash.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can cause excessive memory consumption in the affected libvirt process on the host, potentially crashing the process and resulting in a denial-of-service condition. Based on the provided information, the impact is service disruption rather than code execution or privilege escalation.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to interfaces that accept user-supplied libvirt XML, limit use of accounts with permission to submit such XML, and apply resource controls/monitoring to reduce the impact of memory-exhaustion conditions until patches can be deployed. Where possible, reduce exposure of libvirt management interfaces to untrusted or low-privileged users. The available content does not provide an official vendor mitigation.
Remediation
Patch, then assume compromise.
Apply the vendor-provided libvirt update that fixes CVE-2025-12748 by correcting the XML processing behavior so that ACL checks are enforced before expensive parsing/allocation occurs, or otherwise preventing untrusted XML input from triggering excessive memory allocation. Specific fixed versions are not provided in the available content.
Exploits
1 exploit validated by Mallory's analysis.
References
Frequently asked questions
- Is CVE-2025-12748 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2025-12748 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-12748?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2025-12748, the earliest disclosed Nov 6, 2025.
- Is there a patch for CVE-2025-12748?
- Apply the vendor-provided libvirt update that fixes CVE-2025-12748 by correcting the XML processing behavior so that ACL checks are enforced before expensive parsing/allocation occurs, or otherwise preventing untrusted XML input from triggering excessive memory allocation. Specific fixed versions are not provided in the available content.
- How severe is CVE-2025-12748?
- CVE-2025-12748 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.22% (13th percentile) as of Sep 25, 2026.
Recent activity
9 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.