CVE-2026-9539: libslirp TCP Urgent Data Memory Leak in QEMU and Hypervisors
CVE-2026-9539 is a memory disclosure vulnerability in libslirp, a user-mode TCP/IP stack commonly used in hypervisor environments like QEMU. A privileged attacker running inside a guest virtual machine can craft malicious TCP packets to read sensitive data from the host system's memory. The vulnerability stems from improper handling of TCP urgent data flags and pointers, combined with an integer underflow condition. The attacker needs elevated privileges within the guest (root or CAP_NET_RAW capability), but can leak gigabytes of host heap memory, potentially exposing cryptographic keys, session tokens, or other confidential information.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.5 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- Weaknesses (CWE)
- CWE-125
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-24 / 2026-06-25
NVD description (verbatim)
An out-of-bounds heap read and integer underflow in the TCP urgent data handling (sosendoob) in freedesktop.org libslirp version before v4.9.2 on hypervisor host environments (e.g., QEMU) allows a privileged guest VM attacker (root or CAP_NET_RAW) to leak gigabytes of sensitive host-process heap memory via sending crafted TCP segments with manipulated URG flags and urgent pointers (ti_urp).
4 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability exists in the sosendoob (send out-of-band) function of libslirp before version 4.9.2. TCP urgent data is processed through the URG flag and urgent pointer (ti_urp) field; however, the implementation does not properly validate these values before performing heap memory reads. An integer underflow can occur when calculating buffer offsets, leading to an out-of-bounds read condition. A malicious guest with raw socket capabilities can systematically send crafted TCP segments to trigger this flaw, reading from arbitrary host process heap locations. The vulnerability is classified under CWE-125 (Out-of-bounds Read), as it permits reading memory outside intended boundaries without bounds checking.
Business impact
Organizations running QEMU or other hypervisors using libslirp face a cross-VM memory disclosure risk. Compromised guest VMs—whether through supply-chain attack, insider threat, or container escape—gain a direct channel to exfiltrate host memory. This is particularly critical in multi-tenant cloud environments, serverless platforms, and edge computing deployments where host memory may contain secrets for other tenants or critical infrastructure services. The ability to leak gigabytes of data vastly exceeds typical side-channel attacks and could expose entire credential sets, API keys, or database connection strings. Compliance frameworks (PCI-DSS, HIPAA, SOC 2) requiring strong isolation between workloads are directly impacted.
Affected systems
libslirp versions prior to 4.9.2 are affected. libslirp is primarily integrated into QEMU for user-mode networking, but may also be embedded in other hypervisors, emulators, and container runtimes. The vulnerability requires a privileged guest user (root or CAP_NET_RAW) to exploit, limiting attack surface within restrictive containerized environments but remaining a serious threat in traditional VM scenarios where tenants have administrative access to their guest OS. Systems relying on libslirp for guest-to-host network emulation are vulnerable; direct network-attached systems are not impacted.
Exploitability
Exploitation requires local privilege within a guest VM (root or CAP_NET_RAW capability) and does not require user interaction. The attack is reliable and repeatable—an attacker can systematically craft TCP packets to read arbitrary regions of host memory. The barrier to exploitation is relatively low for any attacker who has already gained elevated access within a guest, making post-compromise lateral movement to the host highly feasible. No network-level attack vector exists; the threat is strictly from guest-to-host. CVSS 3.1 score of 6.5 (MEDIUM) reflects the local attack vector and privilege requirement, but understates the confidentiality impact in multi-tenant scenarios.
Remediation
Update libslirp to version 4.9.2 or later. Vendors and maintainers distributing QEMU, KVM, or other libslirp-dependent systems should issue updates immediately. For users unable to patch immediately, network isolation policies restricting guest TCP traffic may reduce exposure, though this is not a substitute for patching. Disable raw socket capabilities (CAP_NET_RAW) in guest containers if permitted by application requirements.
Patch guidance
Verify that libslirp has been upgraded to at least version 4.9.2 by checking package versions in your hypervisor distribution. For QEMU: consult your QEMU release notes and security advisories to confirm libslirp inclusion in the patched release. Container-based environments should ensure base images and runtimes are rebuilt with the patched libslirp. Test patched hypervisors in non-production environments first to confirm guest networking stability. Coordinate updates across all hypervisor hosts, as guest VM snapshots or migration may occur during patching windows.
Detection guidance
Detection of exploitation in-flight is challenging but focus monitoring on: (1) host kernel logs for unexpected memory access patterns or page faults from hypervisor processes; (2) guest-to-host TCP traffic anomalies, particularly rapid sequences of TCP segments with manipulated URG flags; (3) host process memory dumps or core files that may indicate data exfiltration. Post-incident forensics should examine guest VM network traffic captures and host memory images. No YARA or IDS signatures can reliably catch this attack without hypervisor-level packet inspection. Assume breach if a guest VM with CAP_NET_RAW access has been running for an extended period; conduct host memory analysis and credential rotation.
Why prioritize this
This vulnerability should be prioritized for immediate patching in any environment where guest VMs have privileged user access or where multi-tenancy concerns exist. The ability to leak gigabytes of host memory represents a severe confidentiality breach with direct implications for regulatory compliance and data protection. Although the CVSS score is MEDIUM, the practical impact in cloud and hypervisor deployments is HIGH. Organizations running QEMU on Linux, KVM-based platforms, or container runtimes with networking should treat this as critical-priority. Non-urgent for air-gapped, single-tenant, or trusted-guest environments.
Risk score, explained
CVSS 3.1 score of 6.5 (MEDIUM) is driven by: Attack Vector Local (AV:L, -2.5 points), Attack Complexity Low (AC:L, no penalty), Privileges Required (PR:L, -1.5 points), No User Interaction (UI:N, no penalty), Scope Changed (S:C, +1 point), Confidentiality High (C:H, +3 points), Integrity None (I:N, no impact), Availability None (A:N, no impact). The score correctly reflects the local privilege requirement and absence of integrity or availability impact; however, in multi-tenant and high-security-posture environments, the true risk may exceed this baseline due to the breadth and sensitivity of exposed data.
Frequently asked questions
Can this vulnerability be exploited from a standard unprivileged guest user account?
No. The attacker must have root access or the CAP_NET_RAW Linux capability within the guest VM to craft raw TCP segments. Standard unprivileged users cannot trigger this flaw directly, which limits scope in restrictive containerized or sandboxed environments.
What data is at risk if this vulnerability is exploited?
Host process heap memory is exposed, which may include cryptographic keys, session tokens, database credentials, authentication material, or any sensitive data allocated on the host heap by QEMU, system services, or other processes. The attacker can leak gigabytes systematically, not just kilobytes, making data exfiltration highly practical.
Does patching require guest VM downtime?
Patching requires updating libslirp on the hypervisor host, not within guest VMs. This typically requires a hypervisor restart or live migration of VMs to a patched host. Plan accordingly, as production uptime may be affected depending on your infrastructure's fault tolerance.
Are there workarounds if we cannot patch immediately?
Partial mitigations include disabling CAP_NET_RAW in guest containers if your workloads permit, and implementing strict network policies to minimize guest-to-host traffic. However, these are not substitutes for patching. If the guest VM is untrusted or compromised, assume the host has been exposed to memory disclosure.
This analysis is based on the published CVE record and vendor advisories available as of the date of writing. Patch versions, affected products, and KEV status are subject to change; verify against official vendor security bulletins and the CISA Known Exploited Vulnerabilities catalog before deployment decisions. This document does not constitute professional security advice and is provided for informational purposes. Organizations should conduct their own risk assessment in the context of their specific infrastructure, threat model, and regulatory obligations. No exploit code or proof-of-concept details are provided or endorsed herein. Source: NVD (public-domain), retrieved 2026-07-29. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2020-9711MEDIUMAdobe Acrobat Reader Out-of-Bounds Read Memory Disclosure
- CVE-2020-9713MEDIUMAdobe Acrobat Reader Memory Disclosure Vulnerability
- CVE-2025-15661MEDIUMlibssh2 Out-of-Bounds Heap Read in SFTP Symlink Handling
- CVE-2025-70101MEDIUMlwext4 1.0.0 Out-of-Bounds Read Denial of Service
- CVE-2026-0127MEDIUMAndroid Out-of-Bounds Read in Communication Processor – Impact & Patch Guidance
- CVE-2026-0128MEDIUMAndroid RTCP Out-of-Bounds Read Information Disclosure
- CVE-2026-0136MEDIUMAndroid Modem Out-of-Bounds Read Denial of Service
- CVE-2026-0140MEDIUMAndroid RTP Integer Overflow Information Disclosure Vulnerability