StraitOfVuln
Latest / CVE-2026-126957

CVE-2026-126957

MediumCVSS 5.3 (v3.1)Awaiting Analysis
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-126957
Published / updated
12 Nov 2026, 03:17 UTC · last modified 16 Nov 2026, 21:17 UTC
Severity
MEDIUM
CVSS score
5.3 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N · Attack vector: Network
Affected vendor
zephyrproject-rtos
Affected products
Zephyr
Affected versions
Zephyr: up to 4.4.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.34% probability of exploitation in the next 30 days · 30% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
vulnerabilities@zephyrproject.org