CVEBrief

Home / zephyrproject / zephyr / CVE-2026-19940

CVE-2026-19940: is it exploited, and which versions of zephyrproject zephyr are affected and fixed?

CVE-2026-19940 is an use after free vulnerability in zephyrproject zephyr. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: zephyr from 4.2.0 before 4.5.0 (CVE record by zephyr). Fixed in 4.5.0 (CVE record by zephyr). Severity: Medium (6.5, CVSS 3.1, from zephyr).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:06 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:08 UTC
Affected
zephyr from 4.2.0 before 4.5.0
CVE record by zephyr
Fixed in
4.5.0
CVE record by zephyr
Severity
Medium 6.5
CVSS 3.1 from zephyr
Exploit odds (EPSS)
0.19% in 30 days
higher than 9% of CVEs; FIRST, December 2, 2026

What is CVE-2026-19940?

Bluetooth HFP AG reuses a connection slot while a delayable work item is still armed, corrupting kernel timeout bookkeeping

The Bluetooth Classic Hands-Free Profile Audio Gateway implementation in subsys/bluetooth/host/classic/hfp_ag.c keeps its struct bt_hfp_ag objects in a static pool indexed by ACL connection index. On link teardown, hfp_ag_disconnected() cancels ag->tx_work and the per-call work items and then clears ag->acl_conn, which marks the pool slot as free — but it leaves ag->ongoing_call_work (and ag->slc_work) untouched. The next connection that lands on the same slot enters hfp_ag_create(), whose only occupancy test is ag->acl_conn, and immediately executes memset(ag, 0, sizeof(struct bt_hfp_ag)) followed by k_work_init_delayable(). Zeroing and re-initialising a k_work_delayable whose struct _timeout node is still linked into the kernel timeout list leaves the kernel holding a reference to a node with NULL prev/next links. ag->ongoing_call_work is armed by the remote peer: when a Hands-Free unit sends AT+CIND? during Service Level Connection establishment and the application provides the asynchronous get_ongoing_call callback, the AG schedules the work for CONFIG_BT_HFP_AG_GET_ONGOING_CALL_TIMEOUT milliseconds (default 10000). The timer is cancelled only if the application answers in time via bt_hfp_ag_ongoing_calls(). A peer that sends AT+CIND?, then disconnects the HFP RFCOMM DLC, then immediately re-opens it on the same ACL link, reuses the same pool slot deterministically while the timeout is still pending — the AG's RFCOMM server accept path (hfp_ag_accept()) calls hfp_ag_create() directly, so the remote side drives both teardown and re-creation. The result is corruption of the kernel's timeout list: sys_dlist_remove() on the zeroed node performs writes through NULL pointers from the clock-announce path, and rescheduling the re-initialised work re-inserts a node the list already references, creating a cycle that the announce loop walks with interrupts locked. The observable impact is a fault or hang of the whole system, i.e. a denial of service reachable from Bluetooth radio range; no attacker-controlled data is written, so this does not by itself yield code execution. Exposure is limited to builds with CONFIG_BT_HFP_AG (marked experimental and disabled by default) whose application implements the asynchronous get_ongoing_call callback.

From the CVE record by zephyr, last updated November 4, 2026, 05:01 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
zephyrprojectzephyrfrom 4.2.0 before 4.5.04.5.0

As the CVE record by zephyr states it, last updated November 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2026-19940?

ScoreVersionVectorSource
Medium 6.5CVSS 3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hzephyr

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-19940 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 14, 2026)
EPSS
0.19% probability of exploitation activity in the next 30 days, percentile 9.1 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
August 15, 2026
Published
October 13, 2026, 16:40 UTC
CVE record updated
November 4, 2026, 05:01 UTC by zephyr
NVD
Awaiting Analysis, last modified November 4, 2026, 05:18 UTC
Last checked
CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect zephyr?

Every CVE in zephyr

Questions about CVE-2026-19940

Is CVE-2026-19940 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.19% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of zephyrproject zephyr are affected by CVE-2026-19940?

zephyr from 4.2.0 before 4.5.0, per the CVE record by zephyr. The tables above give every range the sources list.

Which version fixes CVE-2026-19940?

4.5.0, per the CVE record by zephyr. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-19940?

Medium (6.5, CVSS 3.1, from zephyr). The severity table above shows each score with its source.

Where is the official record of CVE-2026-19940?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.