Description
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.
Published: 2026-08-20
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A local unprivileged user can trigger an integer overflow in libvirt's NodeGetFreePages RPC handler. This overflow allows crafted input to bypass a size check and allocate an undersized buffer on the heap. Real NUMA node data can then overwrite this buffer, corrupting the memory of the daemon that runs as root. The resulting heap corruption can cause a denial of service or enable the attacker to gain additional privileges on the system.

Affected Systems

The vulnerability affects Red Hath Enterprise Linux 10, 6, 7, 8, 9, and the NVIDIA‑specific RHEL for NVIDIA 26 distribution through the libvirt service. All supported versions of the libvirt daemon in these distributions are potentially impacted.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity, and the EPSS score of less than 1% suggests that exploitation is currently unlikely but not impossible. The vulnerability is not listed in the CISA KEV catalog. The attack vector is local; an attacker must have a user account on the host and must be able to communicate with the libvirt RPC service. The flaw can be exploited by sending a specially crafted request to the libvirt daemon over the insecure read‑only Unix socket, leading to memory corruption without requiring elevated privileges.

Generated by OpenCVE AI on August 20, 2026 at 21:26 UTC.

Remediation

Vendor 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.


OpenCVE Recommended Actions

  • Configure the libvirt read‑only Unix socket to restrict access by setting unix_sock_ro_perms to "0770" (or "0700") and defining unix_sock_group to a group containing only trusted local users, then restart libvirtd.
  • Enable polkit authentication for the read‑only socket by setting auth_unix_ro to "polkit", ensuring that callers are authorized before any RPC dispatch occurs.
  • When a vendor patch becomes available, apply it to eliminate the integer overflow and consequent heap corruption.

Generated by OpenCVE AI on August 20, 2026 at 21:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 20 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Libvirt: integer overflow in nodegetfreepages rpc handler leading to heap buffer overflow
First Time appeared Redhat
Redhat enterprise Linux
Redhat enterprise Linux Nvidia
Weaknesses CWE-190
CPEs cpe:/a:redhat:enterprise_linux_nvidia:
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat enterprise Linux Nvidia
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Redhat Enterprise Linux Enterprise Linux Nvidia
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-08-20T15:36:10.363Z

Reserved: 2026-08-05T07:41:23.966Z

Link: CVE-2026-18917

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-20T10:16:40.507

Modified: 2026-08-20T16:17:17.847

Link: CVE-2026-18917

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T21:30:05Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound