{"id":"CVE-2026-126957","published":"2026-11-12T02:23:44Z","modified":"2026-11-16T20:17:45Z","title":"ICMPv4 Record Route / Timestamp option: stack OOB read via ptr underflow in icmpv4.c","vendor":"zephyrproject-rtos","product":"Zephyr","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00251,"percentile":0.1682,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-cvv6-5f6x-87qf","tags":[]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":3.36},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"zephyrproject-rtos","affectedVersions":[{"vendor":"zephyrproject-rtos","product":"Zephyr","versions":["<= 4.4.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-16T20:17:27.372925Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-124154","exploited":false,"provenance":"source"}}