CVE-2025-62526
7.9OpenWrt · ubusd
A heap-based buffer overflow in the ubusd component of OpenWrt allows local authenticated attackers to achieve arbitrary code execution and bypass access control lists.
Executive summary
A heap buffer overflow vulnerability in the OpenWrt ubusd daemon allows authenticated local attackers to achieve arbitrary code execution and bypass security controls, warranting immediate attention.
Vulnerability
This vulnerability involves a heap-based buffer overflow (CWE-122) within the event registration parsing code of the ubus daemon. The flaw is reachable by any authenticated ubus client and occurs before access control list (ACL) checks are processed, allowing for both memory corruption and authorization bypass.
Business impact
The ability to execute arbitrary code within the context of the ubus daemon provides an attacker with significant control over the embedded device. Given the CVSS score of 7.9, this vulnerability represents a high risk that could lead to full system compromise, persistent unauthorized access, or the disruption of critical network services managed by the OpenWrt platform.
Remediation
Immediate Action: Upgrade OpenWrt to version 24.10.4 or later immediately to incorporate the necessary security patches.
Proactive Monitoring: Monitor system logs for unusual crashes or unexpected behavior related to the ubus daemon, which may indicate exploitation attempts.
Compensating Controls: Ensure that access to the local bus is restricted to only necessary and trusted processes to reduce the attack surface for local users.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
The severity of this flaw, combined with the potential for arbitrary code execution on embedded infrastructure, necessitates a prompt response. Administrators should prioritize the deployment of the 24.10.4 update across all managed OpenWrt devices to mitigate the risk of local privilege escalation and unauthorized system control.
More OpenWrt CVEs
Sources
- https://github.com/openwrt/openwrt/security/advisories/GHSA-cp32-65v4-cp73
- https://github.com/openwrt/openwrt/commit/4b907e69ea58fc0ba35fd1755dc4ba22262af3a4
- https://github.com/openwrt/openwrt/commit/a7901969932a175cded3c93bdeb65f32ed3705e6
- https://github.com/openwrt/ubus/commit/60e04048a0e2f3e33651c19e62861b41be4c290f
- https://github.com/openwrt/ubus/commit/aa4a7ee1d3417bc11207ad0a78d579ece7fe0c13
- https://github.com/openwrt/ubus/commit/d31effb4277bd557f5ccf16d909422718c1e49d0
- https://openwrt.org/advisory/2025-10-22-1