Skip to main content

CVE-2026-19669: memory-safety in zephyrproject zephyr

0
High
VulnerabilityCVE-2026-19669cvecve-2026-19669
Published: 10/11/2026 (10/11/2026, 17:14:51 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

CVE-2026-19669 is a high-severity memory safety vulnerability in the Zephyr project affecting the fuel gauge syscall handlers. It arises from unvalidated user-supplied length parameters used to allocate variable-length arrays on the kernel stack before permission checks. This allows an attacker with user-mode access and CONFIG_USERSPACE enabled to cause out-of-bounds writes in kernel memory, potentially leading to kernel code execution or system crashes. The vulnerability affects Zephyr versions from 3.4.0 up to but not including 4.5.0. A fix has been implemented that removes unsafe kernel-side copies and validates user arrays safely.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

zephyrproject

zephyr

Affected versions
>=3.4.0 <4.5.0
GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=3.4.0 <4.5.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/11/2026, 17:48:24 UTC

Technical Analysis

The vulnerability exists in the user-mode syscall verifiers z_vrfy_fuel_gauge_get_props() and z_vrfy_fuel_gauge_set_props() in Zephyr's fuel gauge driver. These functions declare variable-length arrays sized directly by an unvalidated length parameter from the syscall ABI, allocated before any permission checks. The kernel copies attacker-controlled data into these arrays without proper bounds checking, leading to an out-of-bounds write on the supervisor stack. This can cause a sandbox escape from user mode to kernel mode, enabling kernel code execution or system crashes. The default privileged stack size is 1024 bytes, and a length of about 170 can exhaust it. The fix involves removing kernel-side copies and validating user arrays in place with K_SYSCALL_MEMORY_ARRAY_READ()/WRITE(), preventing length overflow and ensuring safety.

Potential Impact

An attacker running in user mode with CONFIG_USERSPACE enabled and access to a fuel gauge device object can exploit this vulnerability to perform out-of-bounds writes in kernel memory. This can lead to privilege escalation by breaking out of the user-mode sandbox, resulting in kernel code execution or system crashes. The vulnerability affects system confidentiality, integrity, and availability.

Mitigation Recommendations

A fix is available that removes unsafe kernel-side copies and validates user-supplied arrays safely using K_SYSCALL_MEMORY_ARRAY_READ() and K_SYSCALL_MEMORY_ARRAY_WRITE(). Users should upgrade to Zephyr version 4.5.0 or later where this vulnerability is addressed. Until then, restricting user-mode access to fuel gauge device objects can reduce risk. Patch status is confirmed by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
zephyr
Date Reserved
2026-08-12T20:43:46.670Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6acbc88b2cdf04f656e849a6

Added to database: 10/11/2026, 17:34:03 UTC

Last enriched: 10/11/2026, 17:48:24 UTC

Last updated: 10/11/2026, 18:57:20 UTC

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses