# CVE-2026-10672: Unterminated URI buffer causes out-of-bounds read in LwM2M firmware pull (Package URI)

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.58% (percentile 42, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-07-14T15:02:04.482Z
- **Modified:** 2026-11-04T05:18:25.730Z

## Who should check

- Anyone running zephyrproject zephyr \>= 3.0.0, \< 4.6.0

## 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.

## Affected and fixed versions

- zephyrproject zephyr: \>= 3.0.0, \< 4.6.0 (cvelist)

## Mitigation

- Upgrade zephyr to 4.6.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-10672. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-10672.md
Affected: zephyrproject zephyr >= 3.0.0, < 4.6.0
Fixed in: zephyrproject zephyr 4.6.0

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-10672 being exploited?

There is no confirmed exploitation: CVE-2026-10672 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-10672?

High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-10672?

zephyrproject zephyr \>= 3.0.0, \< 4.6.0.

### Is there a fix for CVE-2026-10672?

Yes. Fixed in zephyrproject zephyr 4.6.0. Upgrade zephyr to 4.6.0 or later.

### How do I check if I'm affected by CVE-2026-10672?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-rf6j-4mpp-j9mf>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/99a164df5cea5af76e32b57c6d51854f018969a2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-10672>

HTML: <https://flawdb.com/CVE-2026-10672> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-10672>
