CVE-2025-12748

Libvirt: denial of service in xml parsing

State
Published
Severity
5.5 Medium
Published
Nov 11, 2025
Updated
Jun 29, 2026
Reserved
Nov 5, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Hredhat

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected Products

ProductVersions
libvirt
  • 11.9.0 and earlierAffected
Red Hat Enterprise Linux 10Red Hat
  • 0:11.10.0-12.el10_2 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:11.10.0-12.el9_8 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 7Red Hat
      Red Hat Enterprise Linux 8Red Hat

        References

        Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.