Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-8718: bounds in zephyrproject zephyr

0
High
VulnerabilityCVE-2026-8718cvecve-2026-8718
Published: 08/10/2026 (08/10/2026, 22:40:26 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

CVE-2026-8718 is a high-severity vulnerability in Zephyr project versions 3.5.0 through before 4.4.1. It involves a kernel-heap buffer overflow triggered by improper bounds checking in the DTLS Connection ID retrieval via getsockopt. The flaw occurs when a caller supplies a buffer smaller than the expected size, causing an overflow of up to 31 bytes with data from the remote peer's Connection ID. This requires specific configuration options and an established DTLS session with a negotiated peer CID.

CVSS v3.1

Score 8.4high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

Affected software

GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=3.5.0 <4.4.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/10/2026, 23:11:10 UTC

Technical Analysis

The vulnerability exists in the function tls_opt_dtls_peer_connection_id_value_get() in Zephyr's sockets_tls.c, which handles getsockopt(SOL_TLS, TLS_DTLS_PEER_CID_VALUE). The function passes the caller-supplied buffer directly to mbedtls_ssl_get_peer_cid() without verifying that the buffer is at least MBEDTLS_SSL_CID_OUT_LEN_MAX (default 32 bytes). Since mbedtls_ssl_get_peer_cid() copies the peer's DTLS Connection ID into the buffer without a size parameter, a smaller buffer causes a write overflow of up to 31 bytes past the buffer end. In CONFIG_USERSPACE builds, the syscall verifier allocates exactly optlen bytes in kernel space, so an unprivileged user can cause a kernel-heap buffer overflow by passing a small optlen on a connected DTLS socket with Connection ID enabled. The vulnerability was introduced in version 3.5.0 when the TLS_DTLS_CID option was added. The fix implemented rejects calls with optlen smaller than MBEDTLS_SSL_CID_OUT_LEN_MAX with an error code -EINVAL.

Potential Impact

An unprivileged user thread can trigger a kernel-heap buffer overflow by passing a small optlen value on a connected DTLS socket with Connection ID enabled. This overflow writes up to 31 bytes past the allocated buffer in kernel space, potentially leading to kernel memory corruption. The vulnerability has no confidentiality impact but can cause high integrity and availability impact due to kernel memory corruption. Exploitation requires specific kernel configuration (CONFIG_USERSPACE), the DTLS Connection ID feature enabled (CONFIG_MBEDTLS_SSL_DTLS_CONNECTION_ID), and an established DTLS session with a negotiated peer CID.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix rejects calls with optlen smaller than MBEDTLS_SSL_CID_OUT_LEN_MAX, returning -EINVAL. Until an official fix is confirmed, avoid enabling CONFIG_MBEDTLS_SSL_DTLS_CONNECTION_ID or restrict unprivileged user access to DTLS sockets. Monitor vendor channels for patch releases and apply updates promptly once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
zephyr
Date Reserved
2026-05-15T21:27:25.564Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7a572dbf8831d539b121f0

Added to database: 08/10/2026, 22:56:45 UTC

Last enriched: 08/10/2026, 23:11:10 UTC

Last updated: 08/10/2026, 23:11:10 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses