SecurityContext

CVE-2022-36054: Contiki-NG - Buffer Overflow

  • Cve: CVE-2022-36054
  • Name: Contiki-NG - Buffer Overflow
  • Description: Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. The 6LoWPAN implementation in the Contiki-NG operating system (file os/net/ipv6/sicslowpan.c) contains an input function that processes incoming packets and copies them into a packet buffer. Because of a missing length check in the input function, it is possible to write outside the packet buffer's boundary. The vulnerability can be exploited by anyone who has the possibility to send 6LoWPAN packets to a Contiki-NG system. In particular, the vulnerability is exposed when sending either of two types of 6LoWPAN packets: an unfragmented packet or the first fragment of a fragmented packet. If the packet is sufficiently large, a subsequent memory copy will cause an out-of-bounds write with data supplied by the attacker.
  • Impact: Attackers can cause memory corruption, potentially leading to system crashes or arbitrary code execution.
  • Remediation: Apply patches or update to the latest version of Contiki-NG that addresses this vulnerability.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00803
  • Epss percentile: 0.57627
  • Assignee: [email protected]
  • Published at: 2022-09-01T12:15:10Z
  • Age in days: 1545
  • Modified at: 2026-06-17T04:52:49Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-36054
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

References

UrlSourceTags
https://github.com/contiki-ng/contiki-ng/pull/1648nvdPatch, Third Party Advisory
https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-c36p-vhwg-244cnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
contiki-ng:contiki-ng< 4.8nonvd/v1/products/contiki-ng/contiki-ng

Projects

RepositoryLink kindsIndexedUrl
contiki-ng/contiki-ngpull, security_advisoryyes/v1/repositories/contiki-ng/contiki-ng

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts