Skip to main content

CVE-2026-78116: use-after-free in zephyrproject zephyr

0
Medium
VulnerabilityCVE-2026-78116cvecve-2026-78116
Published: 10/21/2026 (10/21/2026, 18:19:28 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

CVE-2026-78116 is a use-after-free vulnerability in the Broadcom AFBR-S50 time-of-flight sensor driver within Zephyr. The flaw occurs when sensor data evaluation fails, causing the same RTIO submission to be completed twice, leading to memory corruption and potential loss of availability. This issue affects Zephyr versions from 4.3.0 up to but not including 4.5.0. The vulnerability does not allow direct code execution but can cause instability in affected devices.

CVSS v3.1

Score 5.2medium

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

Affected software

zephyrproject

zephyr

Affected versions
>=4.3.0 <4.5.0
GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=4.3.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/21/2026, 18:45:57 UTC

Technical Analysis

The Broadcom AFBR-S50 sensor driver in Zephyr double-completes an RTIO submission when Argus_EvaluateData() returns an error. Specifically, in data_ready_work_handler(), a non-STATUS_OK return triggers handle_error_on_result() which finalizes the request with rtio_iodev_sqe_err(), but the function then continues and finalizes the same submission again with rtio_iodev_sqe_ok(). Both completions call rtio_executor_done(), which frees the submission back to the pool and releases buffers for streaming submissions. The second completion thus operates on freed memory, causing use-after-free conditions that corrupt the RTIO submission pool and mempool bookkeeping. This leads to aliased submissions, writes through released buffers, and duplicate completions. The error condition can be triggered by sensor conditions such as harsh ambient light or SPI transfer errors, without requiring software or physical access. The vulnerability impacts availability due to memory corruption but does not allow attacker-controlled code execution. Only builds enabling the brcm,afbr-s50 driver are affected.

Potential Impact

The vulnerability causes memory corruption in the RTIO submission pool and mempool bookkeeping, resulting in aliased submissions, writes through freed buffers, and duplicate completions. This can lead to loss of availability or instability on devices using the affected driver. There is no direct confidentiality or integrity impact, and the attacker cannot control corrupted data to achieve code execution.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid enabling the Broadcom AFBR-S50 sensor driver (brcm,afbr-s50) in Zephyr builds if possible to prevent exposure. Monitor vendor communications for official patches or updates.

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-22T20:22:57.556Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad905114d27ba8daadca2f6

Added to database: 10/21/2026, 18:31:45 UTC

Last enriched: 10/21/2026, 18:45:57 UTC

Last updated: 10/21/2026, 18:46:14 UTC

Views: 4

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