CVE-2026-126957 · Runtime
NO FIX YET
Zephyr's IPv4 handling of Record Route and Timestamp options computes a wrapped length when a crafted Pointer field is too small, so the ICMP Echo Reply includes up to 213 bytes of stack memory. A remote attacker needs only one unauthenticated ping packet, and the device does not crash, so the leak can be repeated.
first public Nov 12, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Devices running Zephyr's IPv4 stack with header options enabled, which CONFIG_NET_IPV4_IGMP selects, are exposed to any host that can send them an ICMP Echo Request. The sources do not give fixed versions or a workaround. Systems that do not build with IPv4 header options can skip it.
Not affected if default-config
Who cares embedded, iot, ipv4, zephyr
CONFIG_NET_IPV4_HDR_OPTIONS enabled, directly or through CONFIG_NET_IPV4_IGMP.No fix yet, per the sources.
An integer underflow in Zephyr's IPv4 option handling allows a remote, unauthenticated attacker to read stack memory. When replying to an ICMP Echo Request that carries an IPv4 Record Route or Timestamp option, icmpv4_update_record_route() and icmpv4_update_time_stamp() in subsys/net/ip/icmpv4.c compute the length of the already recorded data as ptr - ptr_offset in uint8_t arithmetic. The attacker-controlled Pointer field is checked against the option length but not against the RFC 791 minimum (4 for Record Route, 5 for Timestamp), so a smaller value wraps the length to up to 252 bytes. net_pkt_write() then reads past the 40-byte opt_data stack buffer and up to 213 bytes of stack memory, which can include stack and heap pointers, are returned in the ICMP Echo Reply. A single packet triggers the leak and the device does not crash, so it can be repeated. Devices built with CONFIG_NET_IPV4_HDR_OPTIONS, which CONFIG_NET_IPV4_IGMP selects, are affected.
This page as .md · .json · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.