CVE-2026-11809
Received Received - Intake

Out-of-Bounds Read in Zephyr RTOS UpdateHub OTA Client

Vulnerability report for CVE-2026-11809, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-10

Last updated on: 2026-08-10

Assigner: Zephyr Project

Description

The UpdateHub OTA client in subsys/mgmt/updatehub/updatehub.c contains an out-of-bounds / uninitialized-memory read in z_impl_updatehub_probe(). The probe response from the UpdateHub server is copied into a heap buffer (metadata) that is correctly NUL-terminated, but a second buffer (metadata_copy) is allocated with k_malloc (unzeroed) and filled with memcpy(metadata_copy, metadata, strlen(metadata)), which omits the terminating NUL. Everything after the copied content remains uninitialized heap. When the first json_obj_parse() over the array descriptor fails, the code falls back to json_obj_parse(metadata_copy, strlen(metadata_copy), ...). The strlen() call scans past the copied bytes through uninitialized heap and, if no zero byte is found before the end of the allocation, reads beyond the buffer; the resulting over-long length is then parsed as JSON. The probe payload is fully controlled by the (malicious, compromised, or β€” without the optional CONFIG_UPDATEHUB_DTLS β€” on-path) UpdateHub server, which can craft a large payload that fails the first parse to drive this path. The consequence is a read of uninitialized heap, with a worst case of an out-of-bounds read past the metadata_copy allocation that can fault and crash the update thread/device, producing a network-triggerable denial of service. The over-read data is consumed only internally to evaluate the update and is not returned to the attacker, so there is no direct information disclosure and no out-of-bounds write. The fix zeroes metadata_copy with memset before the copy, guaranteeing NUL termination and bounding strlen() within the allocation.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-10
Last Modified
2026-08-10
Generated
2026-08-11
AI Q&A
2026-08-11
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
updatehub updatehub *
zephyrproject zephyr *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-908 The product uses or accesses a resource that has not been initialized.
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a memory corruption vulnerability in the UpdateHub OTA client where a buffer is not properly initialized before use. The issue occurs when copying server-provided metadata into an uninitialized heap buffer, leading to potential out-of-bounds reads if the first JSON parsing attempt fails. This can cause crashes or denial of service but does not directly expose data or allow writes.

Detection Guidance

This vulnerability is specific to the UpdateHub OTA client in Zephyr RTOS and requires code inspection or runtime analysis to detect. No direct network or system commands can identify this issue as it involves uninitialized heap memory reads in the UpdateHub client code.

Impact Analysis

The vulnerability could allow an attacker controlling the UpdateHub server to crash the device by triggering an out-of-bounds memory read. This results in a denial of service affecting the device's update functionality. The impact is limited to crashes and does not enable data theft or code execution.

Mitigation Strategies

Apply the official patch that zeroes the metadata_copy buffer with memset before copying metadata. If the patch is unavailable, disable the UpdateHub OTA client or ensure CONFIG_UPDATEHUB_DTLS is enabled to prevent untrusted server interactions.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-11809. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart