CVE-2026-10643
Last modified
CVE-2026-10643 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. Zephyr's IP socket recvmsg() implementation (subsys/net/lib/sockets/sockets_inet.c, insert_pktinfo()) validated the user-supplied ancillary (msg_control) buffer using only the payload length (msg->msg_controllen < pktinfo_len) before writing a full control message consisting of an aligned cmsg header plus the payload. Because the check omitted the cmsg header size, a control buffer whose length falls in the under-checked window (e.g. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
Zephyr's IP socket recvmsg() implementation (subsys/net/lib/sockets/sockets_inet.c, insert_pktinfo()) validated the user-supplied ancillary (msg_control) buffer using only the payload length (msg->msg_controllen < pktinfo_len) before writing a full control message consisting of an aligned cmsg header plus the payload. Because the check omitted the cmsg header size, a control buffer whose length falls in the under-checked window (e.g. 16-27 bytes for IPv4 IP_PKTINFO on a 64-bit target, where a single element actually occupies 28 bytes) passes the guard yet causes a fixed-size out-of-bounds write of up to one cmsg header (~12 bytes) past the end of the buffer. Under CONFIG_USERSPACE the recvmsg verifier allocates a kernel-heap copy of the control buffer sized to msg_controllen and runs the implementation against it, so the overflow corrupts kernel heap memory and is triggerable from an unprivileged userspace thread; in supervisor mode it corrupts the caller's buffer. The path is reachable on a UDP/IP socket with IP_PKTINFO/IPV6_RECVPKTINFO (or hoplimit/timestamping) enabled when the application calls recvmsg() with an undersized control buffer and a datagram is received; part of the overwritten bytes (the destination IP in ipi_addr) is influenced by the received packet. The fix makes the capacity check use NET_CMSG_SPACE(pktinfo_len) (aligned header + aligned data) and returns -ENOMEM when the buffer is too small. Affected: v3.6.0 through v4.4.0.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Zephyrproject | Zephyr | >= 3.6.0, <= 4.4.1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-10643?
How severe is CVE-2026-10643?
How do I fix CVE-2026-10643?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-106424Information leak in Audio in Google Chrome prior to 155.0.80…4
- CVE-2026-106425Missing authorization in BrowserTag in Google Chrome prior t…4.2
- CVE-2026-106426Race condition in Fonts in Google Chrome prior to 155.0.8059…8.3
- CVE-2026-106427Confused deputy in Mobile in Google Chrome on on iOS prior t…5.4
- CVE-2026-106428An out-of-bounds read in SCRAM authentication response parsi…3.7
- CVE-2026-106429An integer underflow in the KMS endpoint-parsing logic of Mo…6.5
- CVE-2026-106430The MongoDB C++ Driver discards content after an embedded NU…5.9
- CVE-2026-106431An off-by-one error in the BSON bulk document writer in the …5.7
- CVE-2026-106432The BSON encoder in the MongoDB PHP Driver converts a string…8.2
- CVE-2026-106433Improper state management in MongoDB libmongocrypt can cause…8.8
- CVE-2026-106434The explicit decryption component of MongoDB libmongocrypt c…4.3
- CVE-2026-106435The MongoDB Python Driver's binary accelerator can read outs…4.7
Are you affected by CVE-2026-10643?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
