A flaw was found in libvirt. An unprivileged local user could exploit an integer overflow vulnerability in the NodeGetFreePages RPC handler. (CVE-2026-18917)
An integer overflow vulnerability exists in the NodeGetFreePages RPC handler of libvirt, allowing an unprivileged local user to bypass size checks and cause a heap buffer overflow. This can corrupt the root libvirt daemon's memory, potentially resulting in denial of service or local privilege escalation. The vulnerability has a high severity with a CVSS score of 7.8. Mitigations include restricting access to the libvirt read-only Unix socket or enabling polkit authentication to control access. No explicit patch is currently confirmed in the provided data.
AI Analysis
Technical Summary
CVE-2026-18917 is an integer overflow vulnerability in libvirt's NodeGetFreePages RPC handler. Crafted input values can bypass size checks, leading to an undersized memory buffer and subsequent heap buffer overflow when real NUMA node data overwrites this buffer. This memory corruption affects the root libvirt daemon, potentially causing denial of service or local privilege escalation. The flaw requires local, low-privilege user access and does not require user interaction. The vulnerability is rated high severity with a CVSS 3.1 score of 7.8. The vendor advisory from Red Hat recommends restricting access to the vulnerable RPC handler via Unix socket permissions or enabling polkit authentication. No patch availability is explicitly stated in the advisory.
Potential Impact
The vulnerability allows an unprivileged local user to cause heap buffer overflow in the root libvirt daemon's memory. This can lead to denial of service by crashing or destabilizing the daemon or local privilege escalation by corrupting memory to execute unauthorized code or commands. The CVSS vector indicates high impact on confidentiality, integrity, and availability. The flaw can bypass protection mechanisms and cause significant system instability or compromise.
Mitigation Recommendations
Red Hat advises restricting access to the libvirt read-only Unix socket by setting 'unix_sock_ro_perms' to '0770' or '0700' and configuring 'unix_sock_group' to include only trusted users. Alternatively, enable polkit authentication for the read-only socket by setting 'auth_unix_ro = "polkit"', requiring authorization before RPC dispatch. After configuration changes, restart the libvirtd service. Note that restricting socket access may prevent unprivileged monitoring or read-only management tools from connecting. No official patch is confirmed in the advisory; therefore, these mitigations are currently recommended.
A flaw was found in libvirt. An unprivileged local user could exploit an integer overflow vulnerability in the NodeGetFreePages RPC handler. (CVE-2026-18917)
Description
An integer overflow vulnerability exists in the NodeGetFreePages RPC handler of libvirt, allowing an unprivileged local user to bypass size checks and cause a heap buffer overflow. This can corrupt the root libvirt daemon's memory, potentially resulting in denial of service or local privilege escalation. The vulnerability has a high severity with a CVSS score of 7.8. Mitigations include restricting access to the libvirt read-only Unix socket or enabling polkit authentication to control access. No explicit patch is currently confirmed in the provided data.
CVSS v3.1
Score 7.8high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-18917 is an integer overflow vulnerability in libvirt's NodeGetFreePages RPC handler. Crafted input values can bypass size checks, leading to an undersized memory buffer and subsequent heap buffer overflow when real NUMA node data overwrites this buffer. This memory corruption affects the root libvirt daemon, potentially causing denial of service or local privilege escalation. The flaw requires local, low-privilege user access and does not require user interaction. The vulnerability is rated high severity with a CVSS 3.1 score of 7.8. The vendor advisory from Red Hat recommends restricting access to the vulnerable RPC handler via Unix socket permissions or enabling polkit authentication. No patch availability is explicitly stated in the advisory.
Potential Impact
The vulnerability allows an unprivileged local user to cause heap buffer overflow in the root libvirt daemon's memory. This can lead to denial of service by crashing or destabilizing the daemon or local privilege escalation by corrupting memory to execute unauthorized code or commands. The CVSS vector indicates high impact on confidentiality, integrity, and availability. The flaw can bypass protection mechanisms and cause significant system instability or compromise.
Mitigation Recommendations
Red Hat advises restricting access to the libvirt read-only Unix socket by setting 'unix_sock_ro_perms' to '0770' or '0700' and configuring 'unix_sock_group' to include only trusted users. Alternatively, enable polkit authentication for the read-only socket by setting 'auth_unix_ro = "polkit"', requiring authorization before RPC dispatch. After configuration changes, restart the libvirtd service. Note that restricting socket access may prevent unprivileged monitoring or read-only management tools from connecting. No official patch is confirmed in the advisory; therefore, these mitigations are currently recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-6jq9-9f7w-h7mc
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-18917"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a870a4facd9273b49b58503
Added to database: 08/20/2026, 14:08:15 UTC
Last enriched: 08/20/2026, 14:15:51 UTC
Last updated: 08/21/2026, 02:51:59 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.