---
id: CVE-2026-115449
title: >-
  Libslirp: libslirp: icmp echo reply length desynchronization leaks host ip to
  guest
summary: >-
  A flaw was found in libslirp. When handling ICMP echo requests, the reply
  length is not updated to match the actual data received from the host. Under
  specific conditions where the normal ICMP socket is unavailable, this length
  mismatch …
severity: low
cvss: 3.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-200
vendor: Red Hat
product: libslirp
affected:
  - libslirp (all versions)
  - 'container-tools:rhel8/libslirp (all versions)'
  - libslirp (all versions)
  - libslirp (all versions)
published: '2026-10-22'
updated: '2026-10-22'
sourceUpdated: '2026-10-22T21:20:56.855Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115449'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-115449'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2558916'
    label: RHBZ#2558916
tags:
  - cve.org
ingestedAt: '2026-10-22T22:00:50.444Z'
---

## Overview

A flaw was found in libslirp. When handling ICMP echo requests, the reply length is not updated to match the actual data received from the host. Under specific conditions where the normal ICMP socket is unavailable, this length mismatch causes the host's real IP address to be leaked to the guest in the echo reply, breaking the NAT isolation that user-mode networking is expected to provide.

## Affected

- `libslirp (all versions)`
- `container-tools:rhel8/libslirp (all versions)`
- `libslirp (all versions)`
- `libslirp (all versions)`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

Ensure that the QEMU process user's GID is included in the system's ping_group_range (sysctl net.ipv4.ping_group_range), which allows the SOCK_DGRAM ICMP socket path and avoids the vulnerable raw socket fallback. Alternatively, use --net none or virtio-net with a TAP backend instead of user-mode (slirp) networking.
