MediaTek WLAN Driver
CVE-2025-20718
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain low-privileged local code execution on device
-
DeliveryInvoke vulnerable wlan AP driver interface
-
ExploitTrigger out-of-bounds stack write via bad bounds check
-
ExecutionCorrupt kernel memory to execute attacker code
-
ImpactEscalate to kernel/root privileges
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack 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 | Exploitation requires the attacker to already hold local, low-privileged ('User') execution on the affected device and to reach the wlan AP driver code path that performs the faulty bounds check; no user interaction and no network access are involved. Limiting factors: the attacker must first obtain local code execution (there is no remote entry point per AV:L), the device must run an affected MediaTek SDK WLAN AP driver build (confirmed for OpenWrt 19.07.0 and 21.02.0 and the MediaTek SDK), and unpatched firmware lacking patch WCNCR00419945 is required. This is not a default-configuration remote flaw; risk is highest on devices that run untrusted or multi-tenant local code. |
| Impact | Signals are internally consistent and point to a genuine but non-urgent local privilege-escalation issue rather than a remotely exploitable emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N) confirms the attacker must already have local, low-privileged code execution on the device - matching the description's 'local escalation of privilege with User execution privileges needed' - with full C:H/I:H/A:H impact yielding kernel/root-level compromise. EPSS is very low (0.17%, 5th percentile), there is no CISA KEV listing, and no public exploit is referenced, so there is no evidence of active or widespread exploitation. The high 7.8 base score is driven entirely by impact, not accessibility; this is a classic high-CVSS/low-immediate-real-risk pattern for a local driver bug. It remains a real priority for devices where untrusted or multi-tenant local code can run (e.g., a compromised unprivileged process seeking kernel access on an OpenWrt-based AP), but it is not a mass-exploitation threat. No conflicting signals were identified; the main gap is the absence of any detailed vendor technical write-up beyond the bulletin summary. |
| Exploit ScenarioDerived | An attacker who has already achieved low-privileged code execution on a MediaTek-based wireless access point (for example via a compromised unprivileged service on an OpenWrt router) invokes the vulnerable wlan AP driver path and supplies input that fails the incorrect bounds check. The resulting stack-based out-of-bounds write corrupts kernel memory, allowing escalation from the user-level context to full kernel/root privileges. No public proof-of-concept is referenced, and no user interaction is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
An out-of-bounds write (stack-based buffer overflow, CWE-121) in the MediaTek WLAN AP driver lets a local attacker with ordinary 'User' execution privileges corrupt adjacent stack memory and escalate to higher privileges in the driver's context. Exploitation requires pre-existing local code execution on a device running an affected MediaTek SDK WLAN AP driver build - confirmed in CPE data for the MediaTek software development kit and OpenWrt 19.07.0 and 21.02.0 - with no user interaction and no network reachability involved (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8). Exploit maturity is low: no public exploit code was identified at time of analysis and EPSS is only 0.17% (5th percentile), so this is a post-compromise privilege-escalation primitive rather than an urgent remotely exploitable flaw.
RemediationAI
Mediatek has released a fix identified by patch ID WCNCR00419945, tracked internally as issue MSV-3581; apply that driver patch via the Mediatek product security bulletin for October 2025 (https://corp.mediatek.com/product-security-bulletin/October-2025), and for OpenWrt-based devices upgrade the affected 19.07.0 and 21.02.0 images to a firmware build that incorporates the corrected wlan AP driver rather than relying on the end-of-life branches themselves. There is no network-facing workaround because the vector is AV:L, so the effective compensating controls are those that deny the prerequisite foothold: harden the device against the initial local code execution (restrict shell/SSH and management access to trusted networks, avoid running untrusted or multi-tenant workloads or third-party packages on the AP, and enforce least privilege for any local service accounts), accepting that these reduce but do not eliminate risk if an attacker already has 'User' execution. Where patching must be staged, isolating sensitive management planes and monitoring for unexpected process-context transitions on the AP provide detection coverage, with the trade-off of added operational cost and no direct remediation of the bounds-check defect.
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
The flaw is a stack-based buffer overflow (CWE-121) arising from an incorrect bounds check in the wlan AP driver code path. When the driver processes input along that path without validating its length against the destination buffer, an oversized write spills past the end of a stack buffer, allowing an attacker who can already invoke the affected interface to overwrite adjacent stack data such as saved state or return-address material and redirect execution into privileged driver context. Because this is a wireless AP driver component, the vulnerable code typically executes with kernel/high privilege on embedded router and access-point platforms, which is why a low-privileged local foothold converts into a full confidentiality, integrity, and availability compromise (C:H/I:H/A:H, S:U) per the assessed vector. CPE data ties the exposure to MediaTek's software development kit shipping the driver and to OpenWrt releases 19.07.0 and 21.02.0, both of which are end-of-life branches commonly embedded in consumer and SOHO access points; no remote entry point is present in the assessed vector (AV:L), so the driver bug is only reachable after an attacker has already achieved local execution on the device.
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
Local-only access with existing low ('User') privileges and no interaction (AV:L/AC:L/PR:L/UI:N); kernel-level memory corruption yields full C/I/A impact in an unchanged scope.
Primary rating from Vendor (mediatek).
CVSS VectorVendor: mediatek
DescriptionCVE.org
In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation. Patch ID: WCNCR00419945; Issue ID: MSV-3581.
Executive ViewAI
MediaTek WLAN AP driver, as used in OpenWrt 19.07.0 and 21.02.0 and MediaTek SDK builds, contains a high-severity local privilege escalation vulnerability that could let an attacker with existing low-level access gain higher privileges on affected networking devices. This is a post-compromise risk: it requires authenticated local access with low privileges, and no public exploit identified at time of analysis. Leadership should care because it weakens host isolation on edge infrastructure, though the immediate likelihood of exploitation is low due to the prerequisite access and low EPSS.
Restrict local access to trusted users, enforce least privilege, monitor for privilege escalation, segment management networks, and disable the WLAN AP driver if not operationally required; await 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
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
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 stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
Affected Products (CPE)CVE.org
In wlan service, there is a possible out of bounds write due to improper input validation. Rated critical severity (CVSS
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
Remote code execution in OpenWrt's mDNS daemon (versions before 24.10.6 and 25.12.1) allows unauthenticated attackers to
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB