---
id: CVE-2025-12748
title: A flaw was discovered in libvirt in the XML file processing
summary: >-
  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…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-770
published: '2025-11-11'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12748'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:18326'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:18748'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2025-12748'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2413801'
    label: secalert@redhat.com
tags:
  - nvd
  - exploit-available
epss: 0.00208
epssPercentile: 0.09847
ingestedAt: '2026-06-29T13:24:34.596Z'
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/TERESH1/CVE-2025-12748'
  checkedAt: '2026-09-27T10:33:33.249Z'
exploitAvailable: true
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
