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-10643: bounds in zephyrproject zephyr

0
High
VulnerabilityCVE-2026-10643cvecve-2026-10643
Published: 06/27/2026 (06/27/2026, 22:59:22 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

A vulnerability in Zephyr's IP socket recvmsg() implementation allows an out-of-bounds write when processing ancillary control messages with undersized buffers. This occurs because the buffer length check omits the control message header size, potentially corrupting kernel heap memory or user buffers. The issue affects Zephyr versions 3.6.0 through 4.4.0 and is triggered on UDP/IP sockets with IP_PKTINFO or related options enabled when recvmsg() is called with an undersized control buffer. The vulnerability has a high severity with a CVSS score of 8.7.

CVSS v3.1

Score 8.7high

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

Affected software

GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=3.6.0 <4.5.0

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: 06/27/2026, 23:36:15 UTC

Technical Analysis

CVE-2026-10643 describes a bounds checking vulnerability in the Zephyr project's IP socket recvmsg() function, specifically in the insert_pktinfo() code. The implementation validates the user-supplied ancillary control buffer length using only the payload length, ignoring the size of the aligned control message header. This allows a control buffer length in a certain range to pass the check but causes a fixed-size out-of-bounds write of up to one control message header past the buffer end. Under CONFIG_USERSPACE, this leads to kernel heap corruption, exploitable by an unprivileged userspace thread. The flaw is reachable on UDP/IP sockets with IP_PKTINFO/IPV6_RECVPKTINFO or related options enabled when recvmsg() is called with an undersized control buffer and a datagram is received. The fix involves using NET_CMSG_SPACE(pktinfo_len) for capacity checks and returning -ENOMEM if the buffer is too small. Affected versions are from 3.6.0 up to but not including 4.5.0.

Potential Impact

The vulnerability allows an attacker with local unprivileged userspace access to cause a fixed-size out-of-bounds write in kernel heap memory, potentially leading to memory corruption. This can result in information disclosure, privilege escalation, or denial of service. The CVSS score of 8.7 reflects high impact with low attack complexity, requiring local privileges but no user interaction. The vulnerability compromises confidentiality, integrity, and availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves correcting the buffer length check to include the control message header size and returning an error if the buffer is too small. Until an official patch is available, avoid enabling IP_PKTINFO/IPV6_RECVPKTINFO or related socket options on affected Zephyr versions or ensure that applications do not call recvmsg() with undersized control buffers.

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-06-02T15:11:44.894Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a405af827e9c79719a1c645

Added to database: 06/27/2026, 23:21:28 UTC

Last enriched: 06/27/2026, 23:36:15 UTC

Last updated: 06/28/2026, 01:33:08 UTC

Views: 23

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