CVE-2026-10672
Last modified
CVE-2026-10672 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. subsys/net/lib/lwm2m/lwm2m_pull_context.c copied the firmware-update Package URI into a fixed static buffer (context.uri, size CONFIG_LWM2M_SWMGMT_PACKAGE_URI_LEN, default 128) with memcpy(context.uri, uri, LWM2M_PACKAGE_URI_LEN), copying exactly the destination size with no length validation. The Firmware-Update object stores the server-supplied Package URI (/5/0/1) in a 255-byte buffer, so a LwM2M management server (or an on-path attacker on a session lacking strong DTLS) can WRITE a URI of 128-254 characters; only the first 128 bytes are then copied into context.uri with no NUL terminator. EPSS estimates a 0.35% chance of exploitation in the next 30 days.
Description
subsys/net/lib/lwm2m/lwm2m_pull_context.c copied the firmware-update Package URI into a fixed static buffer (context.uri, size CONFIG_LWM2M_SWMGMT_PACKAGE_URI_LEN, default 128) with memcpy(context.uri, uri, LWM2M_PACKAGE_URI_LEN), copying exactly the destination size with no length validation. The Firmware-Update object stores the server-supplied Package URI (/5/0/1) in a 255-byte buffer, so a LwM2M management server (or an on-path attacker on a session lacking strong DTLS) can WRITE a URI of 128-254 characters; only the first 128 bytes are then copied into context.uri with no NUL terminator. That buffer is subsequently consumed as a C string by http_parser_parse_url(context.uri, strlen(context.uri), ...), strlen-based CoAP URI-path/PROXY-URI option appends, and lwm2m_parse_peerinfo(), causing an out-of-bounds read of adjacent static memory. The over-read bytes are appended to outbound CoAP requests (information disclosure of adjacent device memory to the server/proxy) and can crash the device (denial of service). The vulnerable copy was introduced by the pull-context refactor (first released in v3.0.0) and is present through v4.4.0; the default-on CONFIG_LWM2M_FIRMWARE_UPDATE_PULL_SUPPORT path is affected. The fix adds a strlen(uri) >= sizeof(context.uri) check returning -ENOMEM and switches to strcpy(), guaranteeing a bounded, NUL-terminated buffer.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Zephyrproject | Zephyr | 3.7.1 |
| Zephyrproject | Zephyr | 4.2.1 |
| Zephyrproject | Zephyr | 4.3.0 |
References
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-rf6j-4mpp-j9mfExploit, Patch, Vendor Advisory, Mitigation
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-rf6j-4mpp-j9mfExploit, Patch, Vendor Advisory, Mitigation
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-10672?
How severe is CVE-2026-10672?
How do I fix CVE-2026-10672?
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-10666parse_ipv4() in subsys/net/ip/utils.c (reached via net_ipadd…9.8
- CVE-2026-10667Zephyr's dynamic kernel-object tracking (kernel/userspace/us…7.8
- CVE-2026-10668The Nuvoton NuMaker HSUSBD USB device-controller driver (dri…4.6
- CVE-2026-10669On Xtensa SoCs built with CONFIG_XTENSA_MPU and CONFIG_USERS…7.8
- CVE-2026-10670The CONFIG_USERSPACE verification handler for the k_thread_n…5.5
- CVE-2026-10671In Zephyr's kernel pipe implementation, the userspace syscal…7.1
- CVE-2026-10673The Zephyr ADIN2111/ADIN1110 10BASE-T1S/T1L Ethernet driver …8.3
- CVE-2026-10674The NXP LPUART serial driver (drivers/serial/uart_mcux_lpuar…5.5
- CVE-2026-10675In Zephyr's Bluetooth Mesh PB-ADV provisioning bearer (subsy…6.5
- CVE-2026-10676Rejected reason: This CVE Record has been rejected by the Ze…
- CVE-2026-10677The CONFIG_USERSPACE syscall verifier z_vrfy_k_poll() in ker…6.5
- CVE-2026-10678The MCTP-over-I2C+GPIO target binding in Zephyr (subsys/pmci…8.1
Are you affected by CVE-2026-10672?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
