PatchSiren cyber security CVE debrief
CVE-2026-10643 zephyrproject CVE debrief
The CVE-2026-10643 vulnerability in Zephyr's IP socket recvmsg() implementation allows for a fixed-size out-of-bounds write of up to one cmsg header past the end of the buffer. This occurs when the user-supplied ancillary buffer is validated using only the payload length, omitting the cmsg header size. The issue is reachable on a UDP/IP socket with IP_PKTINFO/IPV6_RECVPKTINFO enabled when recvmsg() is called with an undersized control buffer and a datagram is received. The fix makes the capacity check use NET_CMSG_SPACE(pktinfo_len) and returns -ENOMEM when the buffer is too small. Affected product deployments should prioritize patching to prevent potential kernel heap corruption and unauthorized access. Organizations using Zephyr's IP socket implementation, particularly those with unprivileged userspace threads or supervisor mode applications, should review and update affected Zephyr versions to 4.4.1 or later. The recvmsg() implementation in Zephyr's IP socket subsystem has a vulnerability that allows for a fixed-size out-of-bounds write of up to one cmsg header past the end of the buffer.
- Vendor
- zephyrproject
- Product
- zephyr
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-28
- Original CVE updated
- 2026-08-06
- Advisory published
- 2026-06-28
- Advisory updated
- 2026-08-06
Who should care
Organizations using Zephyr's IP socket implementation, particularly those with unprivileged userspace threads or supervisor mode applications, should prioritize patching to prevent potential kernel heap corruption and unauthorized access.
Technical summary
The recvmsg() implementation in Zephyr's IP socket subsystem has a vulnerability that allows for a fixed-size out-of-bounds write of up to one cmsg header past the end of the buffer. This occurs when the user-supplied ancillary buffer is validated using only the payload length, omitting the cmsg header size. The issue is reachable on a UDP/IP socket with IP_PKTINFO/IPV6_RECVPKTINFO enabled when recvmsg() is called with an undersized control buffer and a datagram is received.
Defensive priority
Organizations using Zephyr's IP socket implementation should prioritize patching to prevent potential kernel heap corruption and unauthorized access.
Recommended defensive actions
- Apply the patch referenced in the mitigation or vendor reference
- Review and update affected Zephyr versions to 4.4.1 or later
- Monitor for potential exploitation attempts
- Verify and validate recvmsg() implementation in custom Zephyr applications
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The CVE-2026-10643 vulnerability in Zephyr's IP socket recvmsg() implementation allows for a fixed-size out-of-bounds write of up to one cmsg header past the end of the buffer. This occurs when the user-supplied ancillary buffer is validated using only the payload length, omitting the cmsg header size. The issue is reachable on a UDP/IP socket with IP_PKTINFO/IPV6_RECVPKTINFO enabled when recvmsg() is called with an undersized control buffer and a datagram is received. The fix makes the capacity check use NET_CMSG_SPACE(pktinfo_len) and returns -ENOMEM when the buffer is too small.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-10643 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-10643
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-10643 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-10643
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/zephyrproject-rtos/zephyr/commit/01fe77b2ec3885583f709a17c5203ce02bd77012
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-pvf7-7mrp-35w7
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.