# CVE-2026-10682: Out-of-bounds write in Zephyr \`log\_filter\_set\` syscall verifier reachable from userspace

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

- **Severity:** MEDIUM 6.6
- **CVSS:** 6.6 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-07-27T18:30:49.447Z
- **Modified:** 2026-11-04T04:59:03.815Z

## Who should check

- Anyone running zephyrproject zephyr \>= 3.0.0, \< 4.3.1; \>= 4.4.0, \< 4.4.2

## Description

The userspace verifier z\_vrfy\_log\_filter\_set() for the log\_filter\_set syscall in subsys/logging/log\_mgmt.c performed a signed comparison against the int16\_t src\_id parameter: src\_id \< (int16\_t)log\_src\_cnt\_get(domain\_id). Any negative value for src\_id (e.g. -1) trivially satisfied this check and was forwarded into z\_impl\_log\_filter\_set, where it propagated to filter\_set() and ultimately to get\_dynamic\_filter(), which uses source\_id as an unsigned index into the linker-section array &TYPE\_SECTION\_START(log\_dynamic)\[source\_id\].filters.

After implicit conversion through uint32\_t, an int16\_t -1 becomes 0xFFFFFFFF, indexing log\_dynamic far out of bounds and causing the kernel to perform an OOB read and an OOB read-modify-write (LOG\_FILTER\_SLOT\_GET/SET) against memory adjacent to the log\_dynamic section.

The written value is a constrained 3-bit log level slot within the targeted 32-bit word, but the target address is attacker-chosen (a small negative offset from log\_dynamic) and the write occurs in supervisor mode following a syscall from an unprivileged user thread, providing a kernel memory-corruption / privilege-escalation primitive.

The defect is reachable on any build with CONFIG\_USERSPACE=y and CONFIG\_LOG\_RUNTIME\_FILTERING=y. Present from Zephyr v3.3.0 through v4.4.1. The fix replaces the signed bound check with an unsigned comparison: (uint32\_t)src\_id \< log\_src\_cnt\_get(domain\_id), which correctly rejects negative inputs.

## Affected and fixed versions

- zephyrproject zephyr: \>= 3.0.0, \< 4.3.1; \>= 4.4.0, \< 4.4.2 (cvelist)

## Mitigation

- Upgrade zephyr to 4.4.2 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-10682. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-10682.md
Affected: zephyrproject zephyr >= 3.0.0, < 4.3.1; >= 4.4.0, < 4.4.2
Fixed in: zephyrproject zephyr 4.3.1, zephyrproject zephyr 4.4.2

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-10682 being exploited?

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

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

Medium: CVSS 6.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

zephyrproject zephyr \>= 3.0.0, \< 4.3.1; \>= 4.4.0, \< 4.4.2.

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

Yes. Fixed in zephyrproject zephyr 4.3.1, zephyrproject zephyr 4.4.2. Upgrade zephyr to 4.4.2 or later.

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

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-6vqh-mg7h-58qh>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/56a15114c6acbab2067fe406dc3adda8608f3def>

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

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