Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Operating systems

CVE-2026-93466 — zephyrproject zephyr

High · CVSS 7.8 First seen December 06, 2026

One of 5 zephyrproject zephyr vulnerabilities published together by NVD: our article covers all of them.

Operating systemsVulnerabilitiesData protection

Summary

The BBRAM system call verifiers z_vrfy_bbram_read() and z_vrfy_bbram_write() in drivers/bbram/bbram_handlers.c validated the device object and the user buffer but never validated the caller-supplied offset and size. Range checking was left to the individual BBRAM drivers (bbram_emul, bbram_it8xxx2, bbram_npcx, bbram_rts5912, bbram_stm32, bbram_xec), which all use the check offset + size > capacity. That sum wraps for large offset values: with offset = SIZE_MAX - k + 1 and size = k + j (j no larger than the capacity), the sum wraps to j, the check passes, and the driver accesses base + offset, which wraps to k bytes below the BBRAM region. A user-mode thread that has been granted access to a BBRAM device object chooses both values, so k is bounded only by the size of the user buffer it supplies. Through bbram_read() the kernel copies that much memory from below the BBRAM window into the user buffer; through bbram_write() it copies attacker-controlled bytes over it. On the emulated driver that memory is kernel RAM: the reporter's proof of concept on qemu_x86 reads and overwrites a byte of an adjacent kernel MMIO pointer, and the kernel faults on its next use. On hardware it is the peripheral register space below the BBRAM window (on bbram_stm32, reached through a backup-register index that wraps below the register base). A user thread can therefore disclose and corrupt supervisor-only memory, and an access to an unmapped or side-effecting address in supervisor mode can raise a fatal fault. The bbram syscalls are only present in the image when CONFIG_USERSPACE is enabled and bbram.h is emitted as a syscall header: in released versions this requires CONFIG_EMIT_ALL_SYSCALLS=y or an application-level zephyr_syscall_header() registration (without it a userspace build with BBRAM does not compile). In development builds after the header was registered by default, it applies to any CONFIG_USERSPACE build with a BBRAM driver. The fix adds an overflow-safe range check against the device capacity (offset > capacity - size) in both syscall handlers before the driver is invoked: 8438d3b9c1a9 for the read path and c3ea409fc4a0 for the write path.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.8 CVSS 3.1 base score from the CNA (zephyrproject.org)

An attacker with a normal user account can exploit this with local access, without any user action.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
low (no special conditions)
Login needed
yes, a normal user account
User action needed
no
Scope
stays within the vulnerable component
Impact
high on confidentiality, integrity and availability

Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
zephyrproject zephyr≥ 3.5.0, < 4.3.24.3.2
≥ 4.4.0, < 4.5.04.5.0

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

Affected

  • zephyrproject zephyr

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-93466?

The BBRAM system call verifiers zvrfybbramread() and zvrfybbramwrite() in drivers/bbram/bbramhandlers.c validated the device object and the user buffer but never validated the caller-supplied offset and size. Range checking was left to the individual BBRAM drivers (bbramemul, bbramit8xxx2, bbramnpcx, bbramrts5912, bbramstm32, bbramxec), which all use the check offset + size > capacity. Weakness type: Out-of-bounds Read (CWE-125).

How severe is CVE-2026-93466?

CVE-2026-93466 has a CVSS 3.1 base score of 7.8 (high), from the CNA (zephyrproject.org). An attacker with a normal user account can exploit this with local access, without any user action.

Is CVE-2026-93466 being exploited?

Not as far as is known: CVE-2026-93466 is not in CISA's Known Exploited Vulnerabilities catalog as of December 6, 2026.

Which versions are affected by CVE-2026-93466?

zephyrproject zephyr ≥ 3.5.0, < 4.3.2 (fixed in 4.3.2); zephyrproject zephyr ≥ 4.4.0, < 4.5.0 (fixed in 4.5.0).

How do I fix CVE-2026-93466?

Update to a fixed release: zephyrproject zephyr 4.3.2; zephyrproject zephyr 4.5.0.

Timeline & sources

References

Related vulnerabilities & news