high7.4
CVE-2026-120830
Libslirp: libslirp: out-of-bounds heap read in icmp_forward_error() leading to information disclosure
Impact
A flaw was found in libslirp in icmp_forward_error(). 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.
An attacker can exploit this from the same local network, without logging in, without any action by a user. If it succeeds: high risk of data being read. The attack can reach beyond the vulnerable component itself.
Affected products · Red Hat
| Product | Affected versions |
|---|---|
| Red Hat Enterprise Linux 10 | All versions |
| Red Hat Enterprise Linux 8 | All versions |
| Red Hat Enterprise Linux 9 | All versions |
| Red Hat OpenShift Container Platform 4 | All versions |
| Red Hat OpenShift Container Platform 5 | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/security/cve/CVE-2026-120830
- https://bugzilla.redhat.com/show_bug.cgi?id=2565424
- https://gitlab.freedesktop.org/slirp/libslirp/-/commit/21b33a6c5588af9f58d15e528fdc1019452708e4
- https://github.com/advisories/GHSA-r5f9-pc8m-f599
- https://nvd.nist.gov/vuln/detail/CVE-2026-120830