# CVE-2026-12633: Out-of-bounds write in IPv6 6LoWPAN Context Option handling via unauthenticated Router Advertisement

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-08-19T20:37:34.532Z
- **Modified:** 2026-11-04T05:18:40.707Z

## Who should check

- Anyone running zephyrproject zephyr \>= 1.8.0, \< 4.3.2; \>= 4.4.0, \< 4.4.2

## Description

The IPv6 neighbor-discovery code in subsys/net/ip/ipv6\_nbr.c processes the 6LoWPAN Context Option (6CO, RFC 6775) carried inside ICMPv6 Router Advertisements. In handle\_ra\_6co() the 8-bit context\_len field is taken directly from the packet and was never bounded to the RFC maximum of 128. The function computes context-\>context\_len / 8 and then performs memset(context-\>prefix + context\_len, 0, sizeof(context-\>prefix) - context\_len), where context-\>prefix is a fixed 16-byte array.

With context\_len between 136 and 255 (and the option length field set to 3, which the pre-fix validation accepts), context\_len / 8 evaluates to 17..31, so the memset length 16 - context\_len/8 underflows the unsigned size\_t argument to roughly SIZE\_MAX. This produces an unbounded out-of-bounds memset that zeroes kernel memory well past the 6lo context structure.

The defect is reachable from unauthenticated, link-local input: any host on the same link can send a crafted Router Advertisement with a 6CO option. The RA handler validates only the option length field before calling handle\_ra\_6co(), so a single packet triggers the wild write. The code is compiled when CONFIG\_NET\_6LO\_CONTEXT is enabled.

The impact is a reliable remote (adjacent) denial of service via memory corruption, with collateral integrity loss as the memset zeroes contiguous memory before the system faults. Router Advertisements are link-scoped and not forwarded, so the attacker must be on the same link (AV:A). The fix rejects any context\_len greater than 128 before the length computation.

## Affected and fixed versions

- zephyrproject zephyr: \>= 1.8.0, \< 4.3.2; \>= 4.4.0, \< 4.4.2 (cvelist)

## Mitigation

- Upgrade zephyr to 4.4.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-12633. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-12633.md
Affected: zephyrproject zephyr >= 1.8.0, < 4.3.2; >= 4.4.0, < 4.4.2
Fixed in: zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.4.2

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-12633 being exploited?

There is no confirmed exploitation: CVE-2026-12633 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-12633?

High: CVSS 8.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-12633?

zephyrproject zephyr \>= 1.8.0, \< 4.3.2; \>= 4.4.0, \< 4.4.2.

### Is there a fix for CVE-2026-12633?

Yes. Fixed in zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.4.2. Upgrade zephyr to 4.4.2 or later.

### How do I check if I'm affected by CVE-2026-12633?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-h5m5-hm6j-cgpf>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/15e838c739be637bf23fd56a5c26f2b32079551b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-12633>

HTML: <https://flawdb.com/CVE-2026-12633> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-12633>
