# CVE-2026-19569: Integer overflow in dynamic kernel object allocation allows user-mode threads to corrupt the kernel heap

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; 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.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2026-10-09T07:16:45.305Z
- **Modified:** 2026-11-04T05:18:48.063Z

## Who should check

- Anyone running zephyrproject zephyr \>= 3.5.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0

## Description

dynamic\_object\_create() in kernel/userspace/userspace.c computed the backing allocation for a dynamically allocated kernel object as obj\_size\_get(otype) + size, and for thread stack elements as STACK\_ELEMENT\_DATA\_SIZE(size) (a round-up plus fixed overhead), without checking either expression for unsigned wrap-around. A size close to SIZE\_MAX makes the computed total wrap to a very small value, so the heap chunk handed out is a few bytes while the object descriptor is still tagged with the full requested type and registered in the kernel object table.

The size argument reaches that arithmetic directly from user mode. k\_object\_alloc\_size() is declared \_\_syscall in include/zephyr/sys/kobject.h, its verifier z\_vrfy\_k\_object\_alloc\_size() in kernel/userspace/userspace\_handler.c is a bare pass-through, and z\_object\_alloc() only range-checks otype — nothing bounds size. The stack-element branch is additionally reachable through the k\_thread\_stack\_alloc() syscall via kernel/dynamic.c. Because subsequent kernel-object validation checks only the object's type and initialization state, the undersized handle passes K\_SYSCALL\_OBJ\_INIT()/K\_SYSCALL\_OBJ\_NEVER\_INIT(), and the matching init syscall (for example k\_mutex\_init(), k\_sem\_init(), or k\_thread\_create()) then writes a complete object over the truncated allocation.

An unprivileged user-mode thread can therefore trigger a supervisor-mode out-of-bounds write into the kernel resource-pool heap, of a size and content it substantially controls, corrupting sys\_heap chunk metadata and adjacent kernel objects. Under CONFIG\_GEN\_PRIV\_STACKS the thread-stack branch additionally stores an attacker-influenced wild pointer as a user thread's privileged stack base. The practical result is escape from the CONFIG\_USERSPACE sandbox — kernel-level code execution or at minimum kernel memory corruption and system compromise.

Exploitation requires CONFIG\_USERSPACE together with CONFIG\_DYNAMIC\_OBJECTS (also selected by CONFIG\_DYNAMIC\_THREAD under userspace), and a calling thread with an assigned resource pool. The fix rejects both overflowing computations and frees the partially built descriptor.

## Affected and fixed versions

- zephyrproject zephyr: \>= 3.5.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-19569.md
Affected: zephyrproject zephyr >= 3.5.0, < 4.3.2; >= 4.4.0, < 4.5.0
Fixed in: zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.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-19569 being exploited?

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

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

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

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

zephyrproject zephyr \>= 3.5.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0.

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

Yes. Fixed in zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.5.0. Upgrade zephyr to 4.5.0 or later.

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

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-fg8c-9fhq-q7hv>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/85c1c4c21945d9b8fcef03216f1ccb2b27794e3d>

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

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