CVE-2026-120830: Libslirp: libslirp: out-of-bounds heap read in icmp_forward_error() leading to information disclosure

Published Nov 2, 2026
·
Updated

A flaw was found in libslirp in icmpforwarderror() in src/ipicmp.c. When constructing an ICMP error packet, the length of the quoted original packet (siplen) was derived from the IP header field iplen without clamping it to the actual mbuf length (msrc->mlen). A truncated or malformed IPv4 packet could cause memcpy to read past the end of the source mbuf on the host heap, embedding residual host memory into the ICMP error packet returned over the virtual network interface. An unprivileged guest or container process able to send crafted packets through libslirp could disclose host heap contents.

Other sources

A flaw was found in libslirp in icmpforwarderror(). When building an ICMP error response, the length of the quoted original IPv4 packet was taken from the IP header without clamping it to the actual buffer length. A truncated or malformed packet could cause an out-of-bounds heap read, leaking host memory into the ICMP error packet returned to a guest or container.

— NVD

Affected Software

9 affected components
debian/libslirp*
debian/libslirp*
debian/libslirp*
debian/libslirp<=4.7.0-1, <=4.8.0-1+deb13u1, <=4.9.5-1
ubuntu/libslirp*
ubuntu/libslirp*
ubuntu/libslirp*
ubuntu/libslirp*
ubuntu/libslirp*

Event History

Nov 2, 2026
Data Sourced
via Red Hat·11:42 PM
DescriptionSeverityAffected Software
Nov 3, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
Weakness
Data Sourced
via NVD·12:17 AM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203