Libslirp: Out-of-bounds Heap Read in icmp_forward_error() Leaks Host Memory
"Red Hat would like to thank Piyusha Akash (Manifold Operations) for reporting this issue."
A flaw was discovered in libslirp within icmp_forward_error() when constructing ICMP error responses. The length of the quoted original IPv4 packet was derived directly from the IP header without verifying or clamping it against actual available buffer boundaries.
A malformed or truncated packet received from an unprivileged guest triggers an out-of-bounds heap read, leaking sensitive host memory into the ICMP error packet returned to the guest or container.