# CVE-2020-12140: A buffer overflow in os/net/mac/ble/ble-l2cap.c in the BLE stack in Contiki-NG 4.4 and earlier allows an attacker to execute arbitrary code…

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:A/AC:L/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.95%, higher than 60% of CVEs (2026-11-30)
- Published: 2021-12-07T18:23:51.000Z
- Modified: 2026-06-17T02:51:28.477Z
- Weaknesses: CWE-120
- Assigned by: mitre

## Description

A buffer overflow in os/net/mac/ble/ble-l2cap.c in the BLE stack in Contiki-NG 4.4 and earlier allows an attacker to execute arbitrary code via malicious L2CAP frames.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- contiki-ng contiki-ng: up to 4.4

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 8.3 High `AV:A/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://twitter.com/ScepticCtf> (third-party-advisory)
- <https://github.com/contiki-ng/contiki-ng/pull/1662> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2020-12140](https://www.cve.org/CVERecord?id=CVE-2020-12140), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-12140](https://nvd.nist.gov/vuln/detail/CVE-2020-12140), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-12140 · Whole record: https://cve.day/CVE-2020-12140.json · Rebuilt by cve.day 2026-11-25T22:57:58.499Z
