{"id":"CVE-2022-35926","state":"PUBLISHED","title":"Out-of-bounds read in IPv6 neighbor solicitation in Contiki-NG","description":"Contiki-NG is an open-source, cross-platform operating system for IoT devices. Because of insufficient validation of IPv6 neighbor discovery options in Contiki-NG, attackers can send neighbor solicitation packets that trigger an out-of-bounds read. The problem exists in the module os/net/ipv6/uip-nd6.c, where memory read operations from the main packet buffer, <code>uip_buf</code>, are not checked if they go out of bounds. In particular, this problem can occur when attempting to read the 2-byte option header and the Source Link-Layer Address Option (SLLAO). This attack requires ipv6 be enabled for the network. The problem has been patched in the develop branch of Contiki-NG. The upcoming 4.8 release of Contiki-NG will include the patch.Users unable to upgrade may apply the patch in Contiki-NG PR #1654.","publishedAt":"2022-08-04T20:30:18.000Z","updatedAt":"2025-04-23T17:53:28.103Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["contiki-ng contiki-ng"],"affected":[{"vendor":"contiki-ng","product":"contiki-ng","versions":[{"version":"< 4.8","status":"affected"}]}],"references":["https://github.com/contiki-ng/contiki-ng/releases/tag/release%2Fv4.8","https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-4hpq-4f53-w386","https://github.com/contiki-ng/contiki-ng/pull/1654","https://github.com/contiki-ng/contiki-ng/pull/1654/commits/a4597001d50a04f4b9c78f323ba731e2f979802c"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T19:50:17.761Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/35xxx/CVE-2022-35926.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-35926","state":"PUBLISHED","datePublished":"2022-08-04T20:30:18.000Z","dateUpdated":"2025-04-23T17:53:28.103Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-07-15T00:00:00.000Z"},"containers":{"cna":{"title":"Out-of-bounds read in IPv6 neighbor solicitation in Contiki-NG","descriptions":[{"lang":"en","value":"Contiki-NG is an open-source, cross-platform operating system for IoT devices. Because of insufficient validation of IPv6 neighbor discovery options in Contiki-NG, attackers can send neighbor solicitation packets that trigger an out-of-bounds read. The problem exists in the module os/net/ipv6/uip-nd6.c, where memory read operations from the main packet buffer, <code>uip_buf</code>, are not checked if they go out of bounds. In particular, this problem can occur when attempting to read the 2-byte option header and the Source Link-Layer Address Option (SLLAO). This attack requires ipv6 be enabled for the network. The problem has been patched in the develop branch of Contiki-NG. The upcoming 4.8 release of Contiki-NG will include the patch.Users unable to upgrade may apply the patch in Contiki-NG PR #1654."}],"affected":[{"vendor":"contiki-ng","product":"contiki-ng","versions":[{"version":"< 4.8","status":"affected"}]}],"references":[{"url":"https://github.com/contiki-ng/contiki-ng/releases/tag/release%2Fv4.8","tags":["x_refsource_MISC"]},{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-4hpq-4f53-w386","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/1654","tags":["x_refsource_MISC"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/1654/commits/a4597001d50a04f4b9c78f323ba731e2f979802c","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2022-08-04T20:30:18.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-4hpq-4f53-w386","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-35926","STATE":"PUBLIC","TITLE":"Out-of-bounds read in IPv6 neighbor solicitation in Contiki-NG"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"contiki-ng","version":{"version_data":[{"version_value":"< 4.8"}]}}]},"vendor_name":"contiki-ng"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Contiki-NG is an open-source, cross-platform operating system for IoT devices. Because of insufficient validation of IPv6 neighbor discovery options in Contiki-NG, attackers can send neighbor solicitation packets that trigger an out-of-bounds read. The problem exists in the module os/net/ipv6/uip-nd6.c, where memory read operations from the main packet buffer, <code>uip_buf</code>, are not checked if they go out of bounds. In particular, this problem can occur when attempting to read the 2-byte option header and the Source Link-Layer Address Option (SLLAO). This attack requires ipv6 be enabled for the network. The problem has been patched in the develop branch of Contiki-NG. The upcoming 4.8 release of Contiki-NG will include the patch.Users unable to upgrade may apply the patch in Contiki-NG PR #1654."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-125: Out-of-bounds Read"}]}]},"references":{"reference_data":[{"name":"https://github.com/contiki-ng/contiki-ng/releases/tag/release%2Fv4.8","refsource":"MISC","url":"https://github.com/contiki-ng/contiki-ng/releases/tag/release%2Fv4.8"},{"name":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-4hpq-4f53-w386","refsource":"CONFIRM","url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-4hpq-4f53-w386"},{"name":"https://github.com/contiki-ng/contiki-ng/pull/1654","refsource":"MISC","url":"https://github.com/contiki-ng/contiki-ng/pull/1654"},{"name":"https://github.com/contiki-ng/contiki-ng/pull/1654/commits/a4597001d50a04f4b9c78f323ba731e2f979802c","refsource":"MISC","url":"https://github.com/contiki-ng/contiki-ng/pull/1654/commits/a4597001d50a04f4b9c78f323ba731e2f979802c"}]},"source":{"advisory":"GHSA-4hpq-4f53-w386","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/contiki-ng/contiki-ng/releases/tag/release%2Fv4.8","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-4hpq-4f53-w386","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/1654","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/1654/commits/a4597001d50a04f4b9c78f323ba731e2f979802c","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T09:51:59.050Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-23T14:02:20.464945Z","id":"CVE-2022-35926","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-23T17:53:28.103Z"}}]}}}