CVE-2026-12633: memory-safety in zephyrproject zephyr
CVE-2026-12633 is a memory safety vulnerability in the Zephyr project's IPv6 neighbor-discovery code. It arises from improper bounds checking of the 6LoWPAN Context Option (6CO) context_len field in ICMPv6 Router Advertisements. This leads to an out-of-bounds memset that overwrites kernel memory. The flaw can be triggered remotely by an unauthenticated attacker on the same local network link, causing a denial of service via memory corruption. The vulnerability affects Zephyr versions 1.8.0 and later up to but not including 4.4.2 when CONFIG_NET_6LO_CONTEXT is enabled.
AI Analysis
Technical Summary
The vulnerability exists in the function handle_ra_6co() within subsys/net/ip/ipv6_nbr.c of Zephyr. The 8-bit context_len field from the 6LoWPAN Context Option is not bounded to the RFC maximum of 128. When context_len is between 136 and 255, the calculation context_len / 8 results in values from 17 to 31, causing the subsequent memset to write beyond the fixed 16-byte context->prefix array. This results in an unbounded out-of-bounds zeroing of kernel memory. The flaw can be exploited by sending a crafted ICMPv6 Router Advertisement with a malicious 6CO option from any host on the same link, as the RA handler only validates the option length field before calling handle_ra_6co(). The impact is a reliable remote adjacent denial of service with integrity loss due to memory corruption. The vulnerability is present when CONFIG_NET_6LO_CONTEXT is enabled. The fix involves rejecting any context_len greater than 128 before performing length computations.
Potential Impact
An unauthenticated attacker on the same local network link can cause a reliable denial of service by triggering a memory corruption through a crafted Router Advertisement packet. This leads to kernel memory being zeroed out beyond intended bounds, causing system faults and loss of integrity. There is no confidentiality impact reported. The attack vector is adjacent network (AV:A), requiring no privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability is fixed by rejecting context_len values greater than 128 before length computations. Until a patch is available, disabling CONFIG_NET_6LO_CONTEXT or filtering ICMPv6 Router Advertisements from untrusted local hosts may mitigate risk.
CVE-2026-12633: memory-safety in zephyrproject zephyr
Description
CVE-2026-12633 is a memory safety vulnerability in the Zephyr project's IPv6 neighbor-discovery code. It arises from improper bounds checking of the 6LoWPAN Context Option (6CO) context_len field in ICMPv6 Router Advertisements. This leads to an out-of-bounds memset that overwrites kernel memory. The flaw can be triggered remotely by an unauthenticated attacker on the same local network link, causing a denial of service via memory corruption. The vulnerability affects Zephyr versions 1.8.0 and later up to but not including 4.4.2 when CONFIG_NET_6LO_CONTEXT is enabled.
CVSS v3.1
Score 8.1high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the function handle_ra_6co() within subsys/net/ip/ipv6_nbr.c of Zephyr. The 8-bit context_len field from the 6LoWPAN Context Option is not bounded to the RFC maximum of 128. When context_len is between 136 and 255, the calculation context_len / 8 results in values from 17 to 31, causing the subsequent memset to write beyond the fixed 16-byte context->prefix array. This results in an unbounded out-of-bounds zeroing of kernel memory. The flaw can be exploited by sending a crafted ICMPv6 Router Advertisement with a malicious 6CO option from any host on the same link, as the RA handler only validates the option length field before calling handle_ra_6co(). The impact is a reliable remote adjacent denial of service with integrity loss due to memory corruption. The vulnerability is present when CONFIG_NET_6LO_CONTEXT is enabled. The fix involves rejecting any context_len greater than 128 before performing length computations.
Potential Impact
An unauthenticated attacker on the same local network link can cause a reliable denial of service by triggering a memory corruption through a crafted Router Advertisement packet. This leads to kernel memory being zeroed out beyond intended bounds, causing system faults and loss of integrity. There is no confidentiality impact reported. The attack vector is adjacent network (AV:A), requiring no privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability is fixed by rejecting context_len values greater than 128 before length computations. Until a patch is available, disabling CONFIG_NET_6LO_CONTEXT or filtering ICMPv6 Router Advertisements from untrusted local hosts may mitigate risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- zephyr
- Date Reserved
- 2026-06-18T15:22:29.825Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a861799acd9273b499c15a4
Added to database: 08/19/2026, 20:52:41 UTC
Last enriched: 08/19/2026, 21:07:27 UTC
Last updated: 08/19/2026, 21:17:08 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.