Public vulnerability disclosure

CVE-2026-18917

Libvirt: integer overflow in nodegetfreepages rpc handler leading to heap buffer overflow

publishedCWE-190

A flaw was found in libvirt. An unprivileged local user could exploit an integer overflow vulnerability in the NodeGetFreePages RPC handler. This flaw allows crafted values to bypass a size check, leading to an undersized memory buffer. Subsequently, real NUMA node data can overwrite this buffer. This heap buffer overflow can corrupt the root libvirt daemon's memory, potentially leading to a denial of service or local privilege escalation.

Technical severity7.8 highCVSS 3.1 · CNA: redhat
Published2026-08-20Source updated 2026-11-23
Collected2026-11-233 attributed sources

Fixes and workarounds

Workaround

Restrict access to the libvirt read-only Unix socket to limit which local users can reach the vulnerable RPC handler. In /etc/libvirt/libvirtd.conf, set unix_sock_ro_perms to "0770" (or "0700") and configure unix_sock_group to a group containing only trusted users. Alternatively, enable polkit authentication for the read-only socket by setting auth_unix_ro = "polkit", which requires callers to be authorized before any RPC dispatch occurs. After changing the configuration, restart the libvirtd service. Note: restricting socket access may prevent unprivileged monitoring tools or read-only management clients from connecting.

Source: CNA: redhat

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Red Hat Enterprise Linux 10
Red Hat
libvirt
https://access.redhat.com/downloads/content/package-browser/
≥ 0:11.10.0-12.9.el10_2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 10.0 Extended Update Support
Red Hat
libvirt
https://access.redhat.com/downloads/content/package-browser/
≥ 0:10.10.0-8.12.el10_0; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 7 Extended Lifecycle Support
Red Hat
libvirt
https://access.redhat.com/downloads/content/package-browser/
≥ 0:4.5.0-36.el7_9.7; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
Red Hat
virt:rhel
https://access.redhat.com/downloads/content/package-browser/
≥ 8040020260916092751.522a0ee4; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
Red Hat
virt:rhel
https://access.redhat.com/downloads/content/package-browser/
≥ 8040020260916092751.522a0ee4; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red Hat
virt:rhel
https://access.redhat.com/downloads/content/package-browser/
≥ 8060020260910092451.ad008a3a; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
Red Hat
virt:rhel
https://access.redhat.com/downloads/content/package-browser/
≥ 8060020260910092451.ad008a3a; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
Red Hat
virt:rhel
https://access.redhat.com/downloads/content/package-browser/
≥ 8080020260910092120.63b34585; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Red Hat
virt:rhel
https://access.redhat.com/downloads/content/package-browser/
≥ 8080020260910092120.63b34585; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9
Red Hat
libvirt
https://access.redhat.com/downloads/content/package-browser/
≥ 0:11.10.0-12.7.el9_8; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Red Hat
libvirt
https://access.redhat.com/downloads/content/package-browser/
≥ 0:9.0.0-10.17.el9_2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
Red Hat
libvirt
https://access.redhat.com/downloads/content/package-browser/
≥ 0:10.0.0-6.24.el9_4; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 9.6 Extended Update Support
Red Hat
libvirt
https://access.redhat.com/downloads/content/package-browser/
≥ 0:10.10.0-7.19.el9_6; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux 6
Red Hat
libvirt
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Enterprise Linux 8
Red Hat
virt:rhel/libvirt
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat Enterprise Linux for NVIDIA 26
Red Hat
libvirt
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unknown
CNA: redhat

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.8
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCNA: redhat
3.1 / 7.8
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide