OpenWrt ubusd
CVE-2025-62526
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local ubus client access
-
DeliveryCraft malicious event subscription message
-
ExploitTrigger heap overflow before ACL check
-
ExecutionOverwrite heap head structure
-
ImpactExecute arbitrary code as ubus daemon
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the attacker to be a local ubus client able to reach the ubusd unix socket on an OpenWrt device running a version prior to 24.10.4 - i.e., some form of low-privileged on-device access (PR:L, AV:L), not direct network exploitation. No special non-default configuration is needed: the flaw affects default installations because the event-registration parsing runs before ACL checks, so even clients restricted by ACLs can trigger it, and the crafted subscription also bypasses the listen ACL. There are no vendor workarounds; the only mitigation is upgrading to 24.10.4. The primary limiting factor is that an attacker must first have local client access to ubus, which typically presumes an existing foothold or a lower-trust local process on the device. |
| Impact | This is a genuine high-priority defect for exposed OpenWrt devices, but its risk is bounded by a local attack vector rather than remote network reachability. The CVSS 7.8 is driven by AV:L/AC:L/PR:L with full C:H/I:H/A:H impact: a low-privileged but authenticated local ubus client can corrupt the heap in ubusd and potentially execute code in the context of the ubus daemon, which typically runs as root on embedded devices. A key aggravating factor confirmed in the source evidence is that the vulnerable event-registration parsing executes BEFORE the ACL checks (the patch moves/adds the ubusd_acl_check call), so even clients that should be restricted can reach the bug, and the crafted subscription additionally bypasses the listen ACL. No EPSS score, KEV listing, or public POC is present in the provided data, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The AV:L vector is consistent with the description (ubus is a local IPC/unix-socket daemon and 'all ubus clients' are local to the device); this is NOT a direct internet-facing RCE despite the 'RCE' tag. Real-world priority is therefore high for multi-tenant or lower-trust local contexts (e.g., where a constrained process or less-privileged service can talk to ubus, or as a privilege-escalation primitive chained after an initial foothold), and lower where no untrusted local code can reach the ubus socket. |
| Exploit ScenarioDerived | An attacker who already has low-privileged local code execution on an OpenWrt device (for example via a compromised service or a chained web/CGI foothold) connects to the ubus socket as an ordinary client and sends a crafted event-registration/subscription message. Because the vulnerable parsing runs before ACL enforcement, the client triggers a heap buffer overflow that overwrites the heap head, enabling potential arbitrary code execution as the ubus daemon (commonly root) and simultaneously bypassing the listen ACL. No public exploit is identified at time of analysis, though the vendor patch pinpoints the vulnerable code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Heap buffer overflow in OpenWrt's ubusd event-registration parser allows local ubus clients to corrupt heap memory and potentially execute code in the context of the ubus daemon before ACL checks are applied, affecting OpenWrt versions prior to 24.10.4. The flaw also lets a crafted subscription bypass the listen ACL, but exploitation requires local access to the ubusd Unix socket rather than remote network reachability. No public exploit was identified at the time of analysis, and the vendor-released fix is OpenWrt 24.10.4.
RemediationAI
Upgrade to OpenWrt 24.10.4, which contains the vendor-released fix for CVE-2025-62526; the advisory at https://openwrt.org/advisory/2025-10-22-1 and GHSA-cp32-65v4-cp73 should be used to validate the update, and the underlying ubus fix is visible in commits 60e04048a0e2f3e33651c19e62861b41be4c290f and d31effb4277bd557f5ccf16d909422718c1e49d0. The vendor states there are no workarounds, so the only complete remediation is upgrading. If upgrade cannot be performed immediately, reduce exposure by limiting which local users and processes can access the ubusd Unix socket, but this may break ubus-dependent management and service functions and should not be treated as a full mitigation.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenWrt uses ubusd, the ubus message-bus daemon, to broker inter-process communication over a local Unix socket. The vulnerable logic is in the event-registration pattern parsing path (ubusd_event.c / ubusd_alloc_event_pattern), where crafted input can overrun a heap buffer (CWE-122). Because parsing occurs before ACL checks, even clients restricted by ACLs can reach the affected code; the crafted subscription additionally bypasses the listen ACL. This is consistent with the assessed CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H vector: a low-privileged local client able to reach the ubusd socket can trigger heap corruption with high confidentiality, integrity, and availability impact on the daemon. The OpenWrt CPE cpe:2.3:o:openwrt:openwrt:*:*:*:*:*:*:*:* reflects that the platform is affected, with the advisory scoping vulnerable releases to those before 24.10.4. Upstream fixes include unconditional ACL checking in ubusd_event.c plus OpenWrt package updates to the patched ubus source.
Know when Openwrt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ubus is a local IPC daemon reachable only by on-device clients (AV:L), any authenticated ubus client suffices (PR:L), no user interaction, and code execution as the root daemon yields full C/I/A impact.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
OpenWrt Project is a Linux operating system targeting embedded devices. Prior to version 24.10.4, ubusd contains a heap buffer overflow in the event registration parsing code. This allows an attacker to modify the head and potentially execute arbitrary code in the context of the ubus daemon. The affected code is executed before running the ACL checks, all ubus clients are able to send such messages. In addition to the heap corruption, the crafted subscription also results in a bypass of the listen ACL. This is fixed in OpenWrt 24.10.4. There are no workarounds.
Executive ViewAI
OpenWrt devices running releases prior to 24.10.4 are exposed to a high-severity local privilege escalation issue in the ubus daemon that could let a local user or compromised process gain daemon-level code execution and bypass access controls. Leadership should care because affected routers and embedded devices may support network access and segmentation, while exploitation requires local access to the ubus socket rather than remote network reachability, making inventory and upgrade of devices with untrusted local users or processes the priority.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)NVD
In wlan service, there is a possible out of bounds write due to improper input validation. Rated critical severity (CVSS
Stored cross-site scripting in OpenWrt's LuCI web interface lets an adjacent-network attacker inject executable HTML/Jav
An issue was discovered in OpenWrt 18.06.0 to 18.06.6 and 19.07.0, and LEDE 17.01.0 to 17.01.7. Rated high severity (CVS
An issue was discovered in OpenWrt libuci (aka Library for the Unified Configuration Interface) before 15.05.1 as used o
cgi_handle_request in uhttpd in OpenWrt through 18.06.1 and LEDE through 17.01 has unauthenticated reflected XSS via the
In wlan service, there is a possible out of bounds write due to an incorrect bounds check. Rated critical severity (CVSS
An exploitable information leak vulnerability exists in the ustream-ssl library of OpenWrt, versions 18.06.4 and 15.05.1
An exploitable information leak vulnerability exists in the ustream-ssl library of OpenWrt, versions 18.06.4 and 15.05.1
Remote privilege escalation in Android WLAN AP driver via packet injection.
In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es
In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es
In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es
NVD
CVE.org
EPSS
GitHub
Exploit-DB