CVE-2025-9558 Details
Description
There is a potential OOB Write vulnerability in the gen_prov_start function in pb_adv.c. The full length of the received data is copied into the link.rx.buf receiver buffer without any validation on the data size.
A potential out-of-bounds write vulnerability has been identified in the Bluetooth Mesh provisioning process within the Zephyr project, specifically in versions through 4.2. The issue arises in the 'gen_prov_start' function of 'pb_adv.c', where the full length of received data is copied into the 'link.rx.buf' receiver buffer without proper validation of the data size. This oversight allows malicious packets to write beyond the allocated buffer limits, potentially leading to arbitrary code execution. Such a vulnerability is particularly critical in real-time operating systems like Zephyr, commonly used in embedded devices that lack standard memory protection, although it could still cause a crash and denial-of-service on devices with some memory safeguards.
Users are advised to update the validation in the 'gen_prov_start' function to ensure that the 'buf->len' field does not exceed the size of the receiver buffer. Patches are available for the main branch and versions 4.1 and 4.2.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 26, 2025CISA-ADP
Assessed Nov 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-8wvr-688x-68vr | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Zephyr | <= 4.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 26, 2025 | New CVE Received | [email protected] |
Volerion