# CVE-2023-28116: Buffer overflow in L2CAP due to misconfigured MTU

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 53% of CVEs (2026-12-01)
- Published: 2023-03-17T21:22:54.703Z
- Modified: 2026-06-17T05:46:54.413Z
- Weaknesses: CWE-120, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- contiki-ng contiki-ng: <= 4.8; up to 4.8

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-m737-4vx6-pfqp> (patch, vendor-advisory)
- <https://github.com/contiki-ng/contiki-ng/pull/2398> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2023-28116](https://www.cve.org/CVERecord?id=CVE-2023-28116), CVE Terms of Use, modified 2025-02-25
- NVD: [CVE-2023-28116](https://nvd.nist.gov/vuln/detail/CVE-2023-28116), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-28116 · Whole record: https://cve.day/CVE-2023-28116.json · Rebuilt by cve.day 2026-11-25T22:58:22.518Z
