Skip to main content

OpenWrt ubusd CVE-2025-62526

HIGH
Heap-based Buffer Overflow (CWE-122)
2025-10-22 security-advisories@github.com
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local ubus client access
  2. Delivery
    Craft malicious event subscription message
  3. Exploit
    Trigger heap overflow before ACL check
  4. Execution
    Overwrite heap head structure
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Medium
popular embedded/router firmware, common but confined to networking devices
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:o:openwrt:openwrt:*:*:*:*:*:*:*:*
CVE-2024-20017 CRITICAL POC
9.8 Mar 04

In wlan service, there is a possible out of bounds write due to improper input validation. Rated critical severity (CVSS

CVE-2026-61876 CRITICAL POC
9.4 Jul 12

Stored cross-site scripting in OpenWrt's LuCI web interface lets an adjacent-network attacker inject executable HTML/Jav

CVE-2020-7982 HIGH POC
8.1 Mar 16

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

CVE-2019-15513 HIGH POC
7.5 Aug 23

An issue was discovered in OpenWrt libuci (aka Library for the Unified Configuration Interface) before 15.05.1 as used o

CVE-2018-19630 MEDIUM POC
6.1 Nov 28

cgi_handle_request in uhttpd in OpenWrt through 18.06.1 and LEDE through 17.01 has unauthenticated reflected XSS via the

CVE-2025-20654 CRITICAL
9.8 Apr 07

In wlan service, there is a possible out of bounds write due to an incorrect bounds check. Rated critical severity (CVSS

CVE-2019-5102 MEDIUM POC
5.9 Nov 18

An exploitable information leak vulnerability exists in the ustream-ssl library of OpenWrt, versions 18.06.4 and 15.05.1

CVE-2019-5101 MEDIUM POC
5.9 Nov 18

An exploitable information leak vulnerability exists in the ustream-ssl library of OpenWrt, versions 18.06.4 and 15.05.1

CVE-2025-20674 CRITICAL
9.8 Jun 02

Remote privilege escalation in Android WLAN AP driver via packet injection.

CVE-2025-20683 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

CVE-2025-20682 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

CVE-2025-20681 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy