CVE-2022-41873 in Contiki-Ng
Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. Versions prior to 4.9 are vulnerable to an Out-of-bounds read. While processing the L2CAP protocol, the Bluetooth Low Energy stack of Contiki-NG needs to map an incoming channel ID to its metadata structure. While looking ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Exploitable from adjacent network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Contiki-Ng | Contiki-Ng | < 4.9 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. Versions prior to 4.9 are vulnerable to an Out-of-bounds read. While processing the L2CAP protocol, the Bluetooth Low Energy stack of Contiki-NG needs to map an incoming channel ID to its metadata structure. While looking up the corresponding channel structure in get_channel_for_cid (in os/net/mac/ble/ble-l2cap.c), a bounds check is performed on the incoming channel ID, which is meant to ensure that the channel ID does not exceed the maximum number of supported channels.However, an integer truncation issue leads to only the lowest byte of the channel ID to be checked, which leads to an incomplete out-of-bounds check. A crafted channel ID leads to out-of-bounds memory to be read and written with attacker-controlled data. The vulnerability has been patched in the "develop" branch of Contiki-NG, and will be included in release 4.9. As a workaround, Users can apply the patch in Contiki-NG pull request 2081 on GitHub.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-41873 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-064657-M |
| CVSS vector | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| Published | 2022-11-11 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-125: Out-of-Bounds Read
Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Related attack patterns (CAPEC)
CAPEC-540 Overread Buffers via CWE-125
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Contiki-NG versions prior to 4.9 are vulnerable to an Out-of-bounds read in the Bluetooth Low Energy stack while processing the L2CAP protocol.
An attacker can exploit this vulnerability by sending a specially crafted L2CAP packet with an invalid channel ID, potentially leading to information disclosure or further attacks.
Questions
What is CVE-2022-41873?
Contiki-NG versions prior to 4.9 are vulnerable to an Out-of-bounds read in the Bluetooth Low Energy stack while processing the L2CAP protocol.
What is the CVSS score for CVE-2022-41873?
CVE-2022-41873 has CVSS 5.4 (Medium). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N. EPSS: 0.4%.
Is CVE-2022-41873 actively exploited?
No confirmed active exploitation of CVE-2022-41873 as of 2026-09-25.
How do I remediate CVE-2022-41873?
Priority: MEDIUM.
What systems are affected by CVE-2022-41873?
CVE-2022-41873 affects Contiki-Ng Contiki-Ng.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Contiki-Ng","product":"Contiki-Ng","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.