OpenBSD MPLS Packet Flaw Leaks Kernel Stack Memory Remotely
Vulnerability Disclosure · 5 sources · Updated 5mo ago · First seen Jun 19, 2026

OpenBSD disclosed CVE-2026-56099, a medium-severity flaw in the MPLS subsystem that can expose kernel stack memory to a remote attacker when MPLS is enabled on an interface. The bug is in mpls_do_error() in sys/netmpls/mpls_input.c, where a crafted MPLS packet with 16 labels and no Bottom-of-Stack bit causes the kernel to copy 17 shim headers from a 16-entry local stack array, leaking 4 bytes of adjacent kernel stack data in an ICMP/MPLS error response.
The issue affects OpenBSD -current before the fix and traces back to code introduced in 2010 in the ICMP/MPLS error-handling path. Exploitation requires an attacker to send an MPLS frame with EtherType 0x8847, an outer label TTL of 1, and an IPv4 inner payload; researchers at Argus Systems reported the vulnerability, and OpenBSD corrected it by rejecting label stacks that reach the maximum depth without a BoS bit.


