Skip to main content

libslirp CVE-2026-9539

| EUVDEUVD-2026-38654 MEDIUM
Out-of-bounds Read (CWE-125)
2026-06-24 STAR_Labs GHSA-4243-hp56-4m7f
6.5
CVSS 3.1 · Vendor: STAR_Labs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain root or CAP_NET_RAW inside guest VM
  2. Delivery
    Craft TCP segments with malformed URG flags and ti_urp values
  3. Exploit
    Send segments to libslirp sosendoob() on host
  4. Execution
    Trigger integer underflow in urgent pointer calculation
  5. Persist
    Host performs out-of-bounds heap read
  6. Impact
    Exfiltrate gigabytes of host process memory

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to hold root or CAP_NET_RAW privileges inside a guest VM running on a host that uses libslirp before v4.9.2 for user-space network emulation (e.g., QEMU with the default user-mode networking backend). The attacker must be able to send raw TCP segments with manipulated URG flags and urgent pointer (ti_urp) values from within the guest network stack toward the libslirp-emulated interface on the host. Exploitation is blocked when: the guest VM operates without root or CAP_NET_RAW (e.g., unprivileged containers or VMs running as a non-root user without the capability granted); the hypervisor uses a kernel-backed network backend (TAP/TUN, virtio-net) rather than libslirp; or libslirp v4.9.2 or later is in use. The attack does not cross network boundaries to remote hosts - it is entirely contained within the guest-to-host user-space networking path.

Impact

The CVSS 3.1 base score of 6.5 (AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N) is technically sound but operationally understates the cross-boundary impact in multi-tenant environments: S:C signals the exploit crosses the guest-to-host boundary, and C:H confirms the full confidentiality impact on host process memory. AC:L means no special race conditions or environment factors are needed beyond sending crafted TCP segments - the trigger is deterministic. PR:L reflects the requirement for root or CAP_NET_RAW inside the guest, which is a realistic baseline in many cloud or lab VM workloads. No EPSS score was provided in the input data, so exploitation probability cannot be quantified numerically. The vulnerability is not listed in CISA KEV and no public exploit or proof-of-concept was identified at time of analysis. Despite the moderate numeric score, teams operating QEMU-based multi-tenant infrastructure where guests hold root should treat this as elevated priority: the attacker has no integrity or availability impact, but the ability to exfiltrate gigabytes of host heap across a VM boundary is a high-value reconnaissance capability for staged attacks or co-tenant data theft.

Exploit ScenarioDerived

An attacker who controls a guest VM with root or CAP_NET_RAW privileges writes a tool that repeatedly sends TCP segments with crafted URG flags and computed ti_urp values designed to underflow the urgent pointer arithmetic in libslirp's sosendoob() on the host. Each crafted segment causes the host process to read beyond the intended heap buffer boundary, and the returned data - accumulated over many requests - leaks gigabytes of host memory potentially containing co-tenant VM data, TLS session keys, or credentials held in the hypervisor process. No public exploit code has been identified at time of analysis, but the attack requires only standard raw socket capabilities available to guest root and the trigger mechanism (URG flag manipulation) is well-understood.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 24, 2026

Out-of-bounds heap read and integer underflow in libslirp's TCP urgent data handler (sosendoob) exposes gigabytes of host process heap memory to a privileged guest VM attacker. All libslirp releases before v4.9.2, as embedded in hypervisors such as QEMU, are affected when guest workloads hold root or CAP_NET_RAW privileges. No public exploit has been identified and the vulnerability is not listed in CISA KEV, but the cross-VM-boundary scope change (S:C) and high confidentiality impact make this a material risk in multi-tenant or shared virtualization environments.

RemediationAI

The primary remediation is to upgrade libslirp to v4.9.2 or later, available at https://gitlab.freedesktop.org/slirp/libslirp/-/releases/v4.9.2; the specific fix is tracked in commit 927bca7344e31fd58e2f7afaca784aad4400eb84 at https://gitlab.freedesktop.org/slirp/libslirp/-/commit/927bca7344e31fd58e2f7afaca784aad4400eb84. Organizations running QEMU or other hypervisors that vendor-bundle libslirp should verify their distribution has incorporated v4.9.2 or the patch commit, as downstream package updates may lag upstream. Where immediate patching is not possible, restricting guest VM workloads from obtaining root or CAP_NET_RAW inside the VM eliminates the exploitation path, though this may break legitimate use cases requiring raw socket access (e.g., network testing tools, custom VPN clients inside guests). Switching the hypervisor network backend from libslirp/user-mode networking to a kernel-backed mechanism (e.g., TAP/TUN with virtio-net) also mitigates the vulnerability but requires host network configuration changes and may introduce additional privilege requirements on the host side.

Affected VersionsENISA

libslirp 0 <4.9.2

Affected Packages

euvd libslirp fix: 4.9.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libslirp is a user-space TCP/IP stack library (CPE: cpe:2.3:a:freedesktop.org:libslirp:*:*:*:*:*:*:*:*) embedded in hypervisors such as QEMU to provide network emulation for guest VMs without kernel-level host networking privileges. The vulnerable function, sosendoob(), processes TCP urgent (out-of-band) data signaled by the URG flag and the urgent pointer field (ti_urp) in TCP segment headers. An integer underflow in the urgent pointer arithmetic causes CWE-125 (out-of-bounds read) on the host-side heap buffer managed by libslirp. Because libslirp executes entirely within the hypervisor host process's address space, a successful heap over-read leaks host memory that may contain encryption keys, credentials, inter-VM data, or other sensitive runtime state. The attack surface is the user-space TCP stack parsing path, not the host kernel - patched in commit 927bca7344e31fd58e2f7afaca784aad4400eb84 and released as v4.9.2.

Know when Libslirp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (STAR_Labs) PRIMARY 6.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

AV:L because exploit originates inside guest VM; S:C for cross-VM-to-host boundary; PR:L for required guest root/CAP_NET_RAW; C:H for heap leak; I:N and A:N as impact is read-only.

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE MEDIUM

Primary rating from Vendor (STAR_Labs).

CVSS VectorVendor: STAR_Labs

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

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

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
High
widely embedded in QEMU, dominant open-source hypervisor stack
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2020-1983 MEDIUM POC
6.5 Apr 22

A use after free vulnerability in ip_reass() in ip_input.c of libslirp 4.2.0 and prior releases allows crafted packets t

CVE-2019-14378 HIGH POC
8.8 Jul 29

ip_reass in ip_input.c in libslirp 4.0.0 has a heap-based buffer overflow via a large packet because it mishandles a cas

CVE-2020-29130 MEDIUM POC
4.3 Nov 26

slirp.c in libslirp through 4.3.1 has a buffer over-read because it tries to read a certain amount of header data even i

CVE-2020-7211 HIGH
7.5 Jan 21

tftp.c in libslirp 4.1.0, as used in QEMU 4.2.0, does not prevent ..\ directory traversal on Windows. Rated high severit

CVE-2019-15890 HIGH
7.5 Sep 06

libslirp 4.0.0, as used in QEMU 4.1.0, has a use-after-free in ip_reass in ip_input.c. Rated high severity (CVSS 7.5), t

CVE-2020-10756 MEDIUM
6.5 Jul 09

An out-of-bounds read vulnerability was found in the SLiRP networking implementation of the QEMU emulator. Rated medium

CVE-2020-8608 MEDIUM
5.6 Feb 06

In libslirp 4.1.0, as used in QEMU 4.2.0, tcp_subr.c misuses snprintf return values, leading to a buffer overflow in lat

CVE-2020-7039 MEDIUM
5.6 Jan 16

tcp_emu in tcp_subr.c in libslirp 4.1.0, as used in QEMU 4.2.0, mismanages memory, as demonstrated by IRC DCC commands i

CVE-2020-29129 MEDIUM
4.3 Nov 26

ncsi.c in libslirp through 4.3.1 has a buffer over-read because it tries to read a certain amount of header data even if

CVE-2021-3595 LOW
3.8 Jun 15

An invalid pointer initialization issue was found in the SLiRP networking implementation of QEMU. Rated low severity (CV

CVE-2021-3594 LOW
3.8 Jun 15

An invalid pointer initialization issue was found in the SLiRP networking implementation of QEMU. Rated low severity (CV

CVE-2021-3593 LOW
3.8 Jun 15

An invalid pointer initialization issue was found in the SLiRP networking implementation of QEMU. Rated low severity (CV

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.4 Affected
SUSE Linux Enterprise Micro 5.5 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy