CVE Database›Document archive›CVE-2026-115449

CVE-2026-115449

libslirp: libslirp: ICMP echo reply length desynchronization leaks host IP to guest

Loading…

Severity

Low

Red Hat Product Security

3.5

CVSS 3.1

Review impact separately from score.

Published · October 22, 2026

Updated · October 23, 2026

Description

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.

Statement

Red Hat has assessed this issue and confirmed a low-severity information disclosure. When the SOCK_DGRAM ICMP socket path is unavailable (ping_group_range restricted, which forces a raw socket fallback) and the guest pings a nonexistent host on the hypervisor's LAN, the host's real IP address can be leaked to the guest in the ICMP echo reply payload. This breaks NAT isolation but does not disclose arbitrary host heap memory as originally reported. The impact is limited to host IP address disclosure (4 bytes of network metadata). The normal SOCK_DGRAM ICMP path (used when ping_group_range is permissive) is not affected.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

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.

CVSS / CWE

CVSS 3.1 · 3.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N

CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor