Description
Zephyr's 6LoWPAN IP Header Compression (IPHC) uncompression code contains an out-of-bounds read in get_ihpc_inlined_size() (subsys/net/ip/6lo.c). The destination inline size is looked up in da_inline_size_table, which has 13 entries, using an index built from the M, DAC and DAM bits of the received IPHC dispatch word (iphc & NET_6LO_IPHC_DA_MASK, a 4-bit value of 0-15). The reserved combinations 13, 14 and 15 are not bounds-checked and read past the end of the table.

The iphc word is taken directly from the received frame, and get_ihpc_inlined_size() is reached on every inbound 6LoWPAN frame via net_6lo_uncompress() from the 802.15.4 receive path (subsys/net/l2/ieee802154/ieee802154_6lo.c and ieee802154_6lo_fragment.c). An unauthenticated attacker on the radio/adjacent link can therefore craft a frame whose destination addressing-mode nibble selects an out-of-range index, with no privileges or user interaction.

The out-of-bounds value becomes the computed inline_size, which then drives header reconstruction before the buffer-length check: it is used to dereference *(pkt->buffer->data + sizeof(iphc) + inline_size) and to compute a size_t diff that can underflow, leading to a further out-of-bounds read of the packet buffer and malformed uncompression. The practical impact is a radio-triggerable out-of-bounds read / denial-of-service on the receiver; the leaked byte is not returned to the attacker. The fix rejects any destination index beyond the table, aborting processing of the malformed frame.
Published: 2026-08-17
Score: 4.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Zephyr's 6LoWPAN IP Header Compression routine performs an out-of-bounds read in get_ihpc_inlined_size(). The routine looks up a destination inline size using an index derived from the IPHC dispatch word. Reserved index values 13–15 are not bounds‑checked and cause a read past the end of a 13‑entry table. The out-of-bounds value is then used in header reconstruction before buffer‑length validation, allowing a crafted packet to trigger a further out-of-bounds read and corrupt the uncompression process. The attacker does not obtain any data; however, the compromised device experiences a denial‑of‑service condition.

Affected Systems

Affected systems are devices running Zephyr RTOS that have 6LoWPAN IPHC processing enabled (e.g., subsys/net/ip/6lo.c, subsys/net/l2/ieee802154/ieee802154_6lo.c, and ieee802154_6lo_fragment.c). No specific version numbers are listed, but any build containing the vulnerable code before the commit 1bbb7aefa69eaedc22281ce33aa7a2d5089d5a0e is affected.

Risk and Exploitability

The CVSS score is 4.3, giving the vulnerability a medium severity in the CPE model. Because the exploit does not require authentication, any radio‑adjacent attacker can send a malformed 802.15.4 frame that triggers the defect. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Nonetheless, the attack can be performed with off‑the‑shelf radio equipment; the result is a local denial of service that may be repeated until the receiver is powered off or reset.

Generated by OpenCVE AI on August 17, 2026 at 17:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Zephyr to a version that includes commit 1bbb7aefa69eaedc22281ce33aa7a2d5089d5a0e, which adds bounds checking for destination indexes in get_ihpc_inlined_size().
  • Rebuild and deploy the patched firmware to all affected embedded devices before they begin network operation.
  • If upgrading is not immediately feasible, isolate the Zephyr device from radio traffic by disabling 6LoWPAN or restricting the 802.15.4 radio to a controlled network scope.

Generated by OpenCVE AI on August 17, 2026 at 17:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Zephyrproject
Zephyrproject zephyr
Vendors & Products Zephyrproject
Zephyrproject zephyr

Mon, 17 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Description Zephyr's 6LoWPAN IP Header Compression (IPHC) uncompression code contains an out-of-bounds read in get_ihpc_inlined_size() (subsys/net/ip/6lo.c). The destination inline size is looked up in da_inline_size_table, which has 13 entries, using an index built from the M, DAC and DAM bits of the received IPHC dispatch word (iphc & NET_6LO_IPHC_DA_MASK, a 4-bit value of 0-15). The reserved combinations 13, 14 and 15 are not bounds-checked and read past the end of the table. The iphc word is taken directly from the received frame, and get_ihpc_inlined_size() is reached on every inbound 6LoWPAN frame via net_6lo_uncompress() from the 802.15.4 receive path (subsys/net/l2/ieee802154/ieee802154_6lo.c and ieee802154_6lo_fragment.c). An unauthenticated attacker on the radio/adjacent link can therefore craft a frame whose destination addressing-mode nibble selects an out-of-range index, with no privileges or user interaction. The out-of-bounds value becomes the computed inline_size, which then drives header reconstruction before the buffer-length check: it is used to dereference *(pkt->buffer->data + sizeof(iphc) + inline_size) and to compute a size_t diff that can underflow, leading to a further out-of-bounds read of the packet buffer and malformed uncompression. The practical impact is a radio-triggerable out-of-bounds read / denial-of-service on the receiver; the leaked byte is not returned to the attacker. The fix rejects any destination index beyond the table, aborting processing of the malformed frame.
Title 6LoWPAN IPHC uncompression out-of-bounds read on reserved destination addressing mode
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Subscriptions

Zephyrproject Zephyr
cve-icon MITRE

Status: PUBLISHED

Assigner: zephyr

Published:

Updated: 2026-08-17T18:26:16.046Z

Reserved: 2026-06-18T15:22:25.574Z

Link: CVE-2026-12630

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-17T17:16:39.130

Modified: 2026-08-17T19:16:25.120

Link: CVE-2026-12630

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T17:45:03Z

Weaknesses