# CVE-2026-13343: Uninitialised stack memory disclosure in the MIDI 2.0 UMP Stream responder

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.40% (percentile 25, 2026-11-26)
- **CWE:** CWE-200
- **Published:** 2026-08-24T15:43:36.665Z
- **Modified:** 2026-10-12T15:10:00.207Z

## Who should check

- Anyone running zephyrproject zephyr \>= 4.3.0, \< 4.4.2

## 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.

## Affected and fixed versions

- zephyrproject zephyr: \>= 4.3.0, \< 4.4.2 (cvelist)

## Mitigation

- Upgrade zephyr to 4.4.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-13343. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-13343.md
Affected: zephyrproject zephyr >= 4.3.0, < 4.4.2
Fixed in: zephyrproject zephyr 4.4.2

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-13343 being exploited?

There is no confirmed exploitation: CVE-2026-13343 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-13343?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-13343?

zephyrproject zephyr \>= 4.3.0, \< 4.4.2.

### Is there a fix for CVE-2026-13343?

Yes. Fixed in zephyrproject zephyr 4.4.2. Upgrade zephyr to 4.4.2 or later.

### How do I check if I'm affected by CVE-2026-13343?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-4w5x-w7j4-6xxc>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/255e64bd22fcd02bd437bb0d6badac87c67de23b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-13343>

HTML: <https://flawdb.com/CVE-2026-13343> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-13343>
