# CVE-2026-19185: Unvalidated user-supplied buffer pointers in the I3C do\_ccc system call handler allow kernel memory read/write from user mode

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; 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.17% (percentile 3, 2026-11-26)
- **CWE:** CWE-822
- **Published:** 2026-10-05T08:06:29.874Z
- **Modified:** 2026-11-04T05:18:47.637Z

## Who should check

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

## Description

The system-call verifier for i3c\_do\_ccc() in drivers/i3c/i3c\_handlers.c validated the outer struct i3c\_ccc\_payload, the broadcast ccc.data buffer and the targets.payloads\[\] array, but did not validate the per-target data buffers those array elements point at. Each struct i3c\_ccc\_target\_payload carries its own data pointer and data\_len, and neither was passed through K\_SYSCALL\_MEMORY() before the payload was handed to z\_impl\_i3c\_do\_ccc() and on to the controller driver. The verifier also operated on the caller's live structure rather than a snapshot, so validated fields could be changed by a second user thread between the check and the driver's use — unlike the sibling z\_vrfy\_i3c\_transfer(), which has always copied its message array first.

The defect is only present in CONFIG\_USERSPACE builds, where drivers/i3c/i3c\_handlers.c is compiled. An unprivileged user-mode thread that has been granted access to the I3C controller device object — the ordinary way an application lets a user thread talk to I3C peripherals — can issue a direct CCC whose target payload data pointer names an arbitrary kernel address. Controller drivers dereference that pointer directly (for example drivers/i3c/i3c\_mcux.c, drivers/i3c/i3c\_cdns.c, drivers/i3c/i3c\_stm32.c, drivers/i3c/i3c\_npcx.c), using rnw to decide direction.

A read CCC therefore causes the kernel-mode driver to write bus-received bytes into an attacker-chosen kernel address for an attacker-chosen length, and a write CCC transmits kernel memory out onto the I3C bus. The result is an out-of-bounds kernel write plus a kernel memory disclosure, i.e. escalation from a user-mode thread to supervisor privilege, defeating the isolation CONFIG\_USERSPACE is meant to provide.

The fix introduces copy\_ccc\_and\_do(), which snapshots the payload, copies the target array into kernel memory with k\_usermode\_alloc\_from\_copy() (bounding num\_targets to fewer than 32), validates each per-target buffer with K\_SYSCALL\_MEMORY() according to rnw, and copies the driver-written num\_xfer and err fields back to the caller.

## Affected and fixed versions

- zephyrproject zephyr: \>= 3.2.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-19185. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-19185.md
Affected: zephyrproject zephyr >= 3.2.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-19185 being exploited?

There is no confirmed exploitation: CVE-2026-19185 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-19185?

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

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

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

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

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-19185?

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-pcrr-29j7-8w57>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/35562f22f40c6d2f31969a31f0a4902e5b067f27>

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

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