Skip to main content

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

0
Medium
VulnerabilityCVE-2026-19938cvecve-2026-19938
Published: 10/12/2026 (10/12/2026, 23:19:55 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

CVE-2026-19938 is a use-after-free vulnerability in the Zephyr Bluetooth host ATT transmit path. It occurs when the ATT Signed Write Command fails signing due to missing local CSRK, causing a buffer to be freed prematurely and then reused. This leads to host-side memory corruption, including list corruption, double free, and out-of-bounds writes, typically resulting in crashes or assertion failures. The vulnerability requires the deprecated CONFIG_BT_SIGNING option to be enabled and an application issuing signed writes. The flaw affects Zephyr versions from 2.3.0 up to but not including 4.5.0.

CVSS v3.1

Score 5.9medium

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

Affected software

zephyrproject

zephyr

Affected versions
>=2.3.0 <4.5.0
GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=2.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/12/2026, 23:48:37 UTC

Technical Analysis

The vulnerability arises because the ATT transmit path releases a net_buf buffer it does not own when signing fails in the BT_ATT_OP_SIGNED_WRITE_CMD branch. The callers expect to retain ownership on failure, but the code calls net_buf_unref() prematurely, leading to a use-after-free condition. This corrupts internal linked lists and can cause double frees or out-of-bounds writes when retrying signed writes. The issue manifests when bt_smp_sign() fails due to missing local CSRK, which depends on the peer's pairing and bonding state. The vulnerability impacts the Bluetooth host stack memory integrity and stability under specific configurations.

Potential Impact

The vulnerability causes host-side memory corruption in the Zephyr Bluetooth stack, including corrupted linked lists, double frees, and out-of-bounds writes. This can lead to crashes or assertion failures on affected devices. The impact is limited to configurations with the deprecated CONFIG_BT_SIGNING enabled and applications issuing signed writes. There is no confidentiality impact, but integrity is low and availability impact is high due to potential crashes.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a patch is available, users should consider disabling the deprecated CONFIG_BT_SIGNING option and avoid using signed writes on unencrypted connections. Monitor Zephyr project advisories for updates and apply official fixes once released.

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-15T13:31:20.143Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6acd6e642cdf04f656e7ac12

Added to database: 10/12/2026, 23:33:56 UTC

Last enriched: 10/12/2026, 23:48:37 UTC

Last updated: 10/12/2026, 23:48:55 UTC

Views: 8

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