What’s Vulnerable › Vulnerabilities
CVE-2023-28116: Buffer overflow in L2CAP due to misconfigured MTU
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-03-17 · updated 2026-06-17
- Weakness: CWE-120
Description
Contiki-NG is an open-source, cross-platform operating system for internet of things (IoT) devices. In versions 4.8 and prior, an out-of-bounds write can occur in the BLE L2CAP module of the Contiki-NG operating system. The network stack of Contiki-NG uses a global buffer (packetbuf) for processing of packets, with the size of PACKETBUF_SIZE. In particular, when using the BLE L2CAP module with the default configuration, the PACKETBUF_SIZE value becomes larger then the actual size of the packetbuf. When large packets are processed by the L2CAP module, a buffer overflow can therefore occur when copying the packet data to the packetbuf. The vulnerability has been patched in the "develop" branch of Contiki-NG, and will be included in release 4.9. The problem can be worked around by applying the patch manually.
Affected products
- contiki-ng: through 4.8
References
- https://github.com/contiki-ng/contiki-ng/pull/2398
- https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-m737-4vx6-pfqp
- https://github.com/contiki-ng/contiki-ng/pull/2398
- https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-m737-4vx6-pfqp
Get alerted when CVE-2023-28116 or the next vulnerability affects your stack