
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-62526 is a heap-based buffer overflow vulnerability in the ubusd event registration parsing code of OpenWrt, a Linux operating system for embedded devices (e.g., routers). It affects all OpenWrt versions prior to 24.10.4, including end-of-life branches 23.05 and 22.03. The vulnerability was reported by Karsten Sperling from Apple, disclosed on October 22, 2025, and fixed in OpenWrt 24.10.4 (and snapshot builds since October 18, 2025). It carries a CVSS v3.1 base score of 7.8–7.9 (High), depending on the scoring authority (GitHub Advisory, Feedly).
The root cause is a heap-based buffer overflow (CWE-122) in ubusd_event.c, specifically in the ubusd_alloc_event_pattern() function responsible for parsing event registration messages. The vulnerable code runs before ACL checks are applied, meaning any authenticated ubus client — regardless of privilege level — can send a crafted event subscription message that triggers an out-of-bounds write on the heap. A secondary issue exists in the ACL check logic: a wildcard event match (pattern[0]) was incorrectly gating the UBUS_ACL_LISTEN check, allowing a crafted subscription to bypass the listen ACL entirely. Three separate commits address the issues: fixing the out-of-bounds access (d31effb), fixing additional missing length checks for patterns (aa4a7ee), and correcting the ACL bypass (60e0404) (GitHub Advisory, ubus commit 60e0404, ubus commit aa4a7ee).
Successful exploitation allows a low-privileged local ubus client to corrupt heap memory in the ubus daemon (ubusd) and potentially execute arbitrary code in the daemon's security context, which typically runs with elevated privileges on OpenWrt devices. Additionally, the ACL bypass component allows the attacker to subscribe to events they are not authorized to receive, potentially exposing sensitive system event data. On embedded devices like routers, compromise of ubusd can lead to full device takeover, persistent backdoor installation, traffic interception, and lateral movement within the network managed by the device (GitHub Advisory, Feedly).
ubusd_alloc_event_pattern(). The pattern must be designed to overflow the heap buffer allocated for the event pattern structure.ubusd process, potentially achieving arbitrary code execution in the daemon's context and full device compromise (GitHub Advisory, ubus commit d31effb).ubusd process visible in system logs (/var/log/messages or logread output); kernel messages indicating heap corruption (e.g., Oops, BUG, or memory fault traces).ubusd; unexpected processes running with elevated privileges on the device./tmp, /etc, or other writable directories that could indicate post-exploitation persistence (e.g., modified init scripts, new cron entries, or dropped binaries).ubus monitor or ubus logging, particularly wildcard subscriptions that should be ACL-restricted.The only available fix is upgrading to OpenWrt 24.10.4 or later (including snapshot builds dated October 18, 2025 or later); the OpenWrt project has confirmed there are no workarounds for this vulnerability. End-of-life versions (23.05, 22.03) will not receive patches and should be migrated to a supported release. As a defense-in-depth measure, administrators should restrict local system access to trusted users and processes, and implement network segmentation to limit the blast radius of a compromised device (GitHub Advisory, OpenWrt Advisory).
The vulnerability received coverage from Heise Online, which reported on the OpenWrt security updates closing vulnerabilities in the router operating system (Heise). Security community members discussed the issue on Mastodon (infosec.exchange) and Bluesky shortly after disclosure. A community blog post highlighted the RCE risk and urged immediate patching. The OpenWrt project credited Karsten Sperling from Apple for responsible disclosure and provision of a PoC, reflecting a well-coordinated disclosure process (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."