Skip to main content
EPSS 0.2%top 87%

CVE-2026-13343: info-leak in zephyrproject zephyr

0
Medium
VulnerabilityCVE-2026-13343cvecve-2026-13343
Published: 08/24/2026 (08/24/2026, 15:43:36 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

The UMP Stream responder library in lib/midi2/ump_stream_responder.c builds reply packets in a 16-byte struct midi_ump (uint32_t data[4]). The builders make_endpoint_info() and make_function_block_info() populate only the first two words (res.data[0] and res.data[1]) and, before this fix, declared their result as an uninitialised local (struct midi_ump res;). The remaining two words (res.data[2], res.data[3]) retain stale stack contents. Endpoint Info and Function Block Info notifications are UMP Stream messages (UMP_MT_UMP_STREAM), which are 4 words long, so the full 16-byte packet — including the two uninitialised words — is transmitted verbatim by cfg->send(). The responder is driven by attacker-supplied UMP Stream Endpoint-Discovery / Function-Block-Discovery requests via ump_stream_respond(). In the in-tree Network MIDI 2.0 server (subsys/net/lib/midi2/netmidi2.c) these requests arrive as UDP datagrams and, with the default no-authentication endpoint, a remote peer can establish a session and trigger the responses; the same library also serves USB MIDI 2.0 hosts. Each discovery request causes the device to disclose 8 bytes of its own uninitialised stack memory to the peer, and the request is freely repeatable. This is a confidentiality-only information leak (root cause is use of an uninitialised variable, CWE-457/CWE-908); the leaked words could include residual data or pointer values. There is no memory-corruption, integrity, or availability impact. The fix zero-initialises both result structs (struct midi_ump res = {0};), so the trailing words are cleared before transmission. These are the only two responder builders that left trailing words unset (send_string() already zeroes its buffer), so the leak is fully closed.

CVSS v3.1

Score 5.3medium

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

Affected software

zephyrproject

zephyr

Affected versions
>=4.3.0 <4.4.2
GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=4.3.0 <4.4.2

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: 08/24/2026, 16:08:17 UTC

Technical Analysis

The UMP Stream responder library in Zephyr's lib/midi2/ump_stream_responder.c constructs 16-byte reply packets using a struct midi_ump. Two builder functions, make_endpoint_info() and make_function_block_info(), previously declared their result struct uninitialized, leaving the last 8 bytes of the 16-byte packet with stale stack data. These packets are sent in response to UMP Stream Endpoint-Discovery and Function-Block-Discovery requests, which can be triggered remotely via UDP datagrams without authentication in the Network MIDI 2.0 server. Each request leaks 8 bytes of uninitialized stack memory to the requester. The vulnerability is a confidentiality-only information leak (CWE-457/CWE-908) with no impact on integrity or availability. The issue is fixed by zero-initializing the result structs, ensuring no stale data is transmitted.

Potential Impact

An unauthenticated remote attacker can repeatedly send discovery requests to a Zephyr device running the affected MIDI 2.0 server, causing the device to leak 8 bytes of uninitialized stack memory per response. This information leak could disclose residual stack data or pointer values, potentially aiding further attacks. There is no memory corruption, integrity compromise, or denial of service impact.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves zero-initializing the local structs in the affected functions to prevent leaking uninitialized stack data. Until an official patch is available, consider restricting access to the MIDI 2.0 endpoint or disabling the affected functionality if feasible.

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-06-25T14:13:05.267Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a8c68d6acd9273b49c4d345

Added to database: 08/24/2026, 15:52:54 UTC

Last enriched: 08/24/2026, 16:08:17 UTC

Last updated: 10/07/2026, 18:48:17 UTC

Views: 63

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