OESA-2025-2812 (CVE-2025-12748)
Vulnerability from osv_openeuler – Published: 2025-12-12 11:09 – Updated: 2026-08-06 11:09 – Source websiteLibvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The main package includes the libvirtd server exporting the virtualization support.
Security Fix(es):
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.(CVE-2025-12748)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"libvirt-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-admin-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-bash-completion-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-client-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-config-network-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-config-nwfilter-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-interface-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-network-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-nodedev-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-nwfilter-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-qemu-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-secret-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-storage-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-storage-core-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-storage-disk-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-storage-gluster-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-storage-iscsi-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-storage-iscsi-direct-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-storage-logical-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-storage-mpath-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-storage-rbd-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-driver-storage-scsi-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-kvm-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-daemon-qemu-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-debuginfo-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-debugsource-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-devel-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-docs-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-libs-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-lock-sanlock-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-nss-6.2.0-26.oe2003sp4.aarch64.rpm",
"libvirt-wireshark-6.2.0-26.oe2003sp4.aarch64.rpm"
],
"src": [
"libvirt-6.2.0-26.oe2003sp4.src.rpm"
],
"x86_64": [
"libvirt-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-admin-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-bash-completion-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-client-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-config-network-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-config-nwfilter-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-interface-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-network-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-nodedev-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-nwfilter-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-qemu-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-secret-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-storage-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-storage-core-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-storage-disk-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-storage-gluster-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-storage-iscsi-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-storage-iscsi-direct-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-storage-logical-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-storage-mpath-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-storage-rbd-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-driver-storage-scsi-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-kvm-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-daemon-qemu-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-debuginfo-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-debugsource-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-devel-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-docs-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-libs-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-lock-sanlock-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-nss-6.2.0-26.oe2003sp4.x86_64.rpm",
"libvirt-wireshark-6.2.0-26.oe2003sp4.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP4",
"name": "libvirt",
"purl": "pkg:rpm/openEuler/libvirt\u0026distro=openEuler-20.03-LTS-SP4"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "6.2.0-26.oe2003sp4"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "Medium"
},
"details": "Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The main package includes the libvirtd server exporting the virtualization support.\r\n\r\nSecurity Fix(es):\n\nA 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.(CVE-2025-12748)",
"id": "OESA-2025-2812",
"modified": "2026-08-06T11:09:56Z",
"published": "2025-12-12T11:09:56Z",
"references": [
{
"type": "ADVISORY",
"url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-2812"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-12748"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"summary": "libvirt security update",
"upstream": [
"CVE-2025-12748"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.