MediaTek WLAN Driver
CVE-2025-20712
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain WiFi proximity to target AP
-
DeliverySend crafted 802.11 management/data frames
-
ExploitTrigger heap out-of-bounds write in WLAN AP driver
-
ExecutionCorrupt kernel/driver heap structures
-
ImpactEscalate privileges on device
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 within wireless (adjacent/proximal) radio range of a device running the affected MediaTek WLAN access-point driver - this is the primary limiting factor, as the flaw is not exploitable over the general internet (AV:A). The vulnerable code path is the AP-mode driver's handling of 802.11 frames where an incorrect bounds check permits an out-of-bounds heap write; the device must therefore be operating as a WiFi access point using the affected MediaTek SDK/driver (as shipped in MediaTek SDK and OpenWrt 21.02.0 / 23.05 per CPE). No authentication (PR:N) and no user interaction (UI:N) are needed against default AP configurations, so the only meaningful constraints are physical wireless proximity and the device running the affected driver build. |
| Impact | This is a genuine high-priority issue within its deployment niche, though several signals temper the raw 8.8 score. The CVSS vector (AV:A/AC:L/PR:N/UI:N) confirms an adjacent-network, low-complexity, unauthenticated attack requiring no user interaction and yielding full compromise (C:H/I:H/A:H) - a strong profile for an attacker already within WiFi range. CWE-122 (heap-based buffer overflow) via an out-of-bounds write from an incorrect bounds check in the AP-side driver is consistent with code-execution/privilege-escalation potential. However, the EPSS score is low (0.30%, 20th percentile), and there is no CISA KEV listing and no public exploit identified, indicating no evidence of widespread or active exploitation at this time. The decisive limiting factor is AV:A: exploitation is not internet-remote - the attacker must be within wireless radio proximity of the vulnerable access point, which constrains mass exploitation and favors localized or targeted scenarios. No SSVC decision data was provided in the input. Net assessment: a serious flaw for exposed WiFi infrastructure that should be patched, but the adjacent-only vector plus low EPSS make it a lower immediate threat than an equivalent network-facing bug. |
| Exploit ScenarioDerived | An attacker positioned within WiFi radio range of a device running the vulnerable MediaTek WLAN access-point driver sends crafted 802.11 wireless frames that fail the driver's bounds check, triggering a heap out-of-bounds write. No authentication or user interaction is required, and successful exploitation can escalate privileges on the target device. No public proof-of-concept or exploit code has been identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
An out-of-bounds heap write in the MediaTek WLAN access-point driver lets an unauthenticated attacker inside wireless radio range execute code with the driver's privileges on affected devices. The flaw is reachable through malformed 802.11 frame handling in AP mode and requires no credentials and no user interaction, giving it a high 8.8 CVSS score; the practical barrier is physical proximity, since it is not exploitable over the general internet. Badly impacted builds include the MediaTek Software Development Kit and OpenWrt 21.02.0 and 23.05, and MediaTek has issued patch ID WCNCR00422323 via its October 2025 security bulletin; EPSS is low at 0.30% (20th percentile) and no public exploit has been identified at time of analysis.
RemediationAI
Apply the MediaTek fix identified by patch ID WCNCR00422323, tracked in the vendor bulletin at https://corp.mediatek.com/product-security-bulletin/October-2025, which is the authoritative source for the affected chipset list and any released driver version; patch availability is confirmed by MediaTek but a tagged fixed version was not independently verified from the provided data. OpenWrt users should move to a build that includes the corrected WLAN driver for their hardware and reflash affected routers and APs rather than relying on package-level updates alone, since the driver is typically baked into the firmware image. Until patched firmware is deployed, the most effective compensating control is disabling AP mode on the affected interface if the device can operate purely as a client - this eliminates the vulnerable code path but removes its WiFi-hosting function. If AP mode must remain enabled, restrict exposure by lowering transmit power and repositioning antennas to shrink the radio footprint, placing APs behind physical access controls where the threat is a proximate attacker, and segmenting the wireless bridge from sensitive internal networks so a driver compromise cannot pivot directly into trusted segments; note that WPA2/WPA3 authentication does not mitigate this issue because the flaw is reachable pre-authentication (PR:N). Monitor MediaTek and OpenWrt advisories for a fixed driver version, and treat repeated wireless-driver crashes or reboots on affected hardware as a possible exploitation indicator.
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 root cause is CWE-122, a heap-based buffer overflow: the AP-mode driver performs an incorrect bounds check before copying data derived from received 802.11 management/data frames into a heap buffer, allowing an adjacent radio attacker to write past the allocation. Because MediaTek's WLAN driver components ship both in the vendor Software Development Kit and are pulled into OpenWrt releases (21.02.0 and 23.05 per the CPE data), the same vulnerable code is present across many router, gateway, and access-point firmware images built by downstream OEMs. The CVSS vector CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H confirms an adjacent-network, low-complexity, unauthenticated, no-interaction attack with high confidentiality, integrity, and availability impact, and the scope is unchanged, so the compromise stays within the driver's security context rather than crossing a privilege boundary formally - though in practice the driver executes with kernel-level access on most embedded platforms. Heap corruption from a pre-authentication write is a strong route to remote code execution or a reliable denial of service on the affected 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:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Adjacent WiFi radio range gives AV:A; crafted frames need no auth or interaction so AC:L/PR:N/UI:N; heap OOB write in the driver yields full C:H/I:H/A:H.
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 remote (proximal/adjacent) escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Patch ID: WCNCR00422323; Issue ID: MSV-3810.
Executive ViewAI
Businesses that deploy wireless access points powered by MediaTek chipsets, particularly those using OpenWrt 21.02.0 or 23.05 or the MediaTek Software Development Kit, face a high-severity vulnerability that could let an attacker within radio range execute malicious code at the driver level, opening the door to network compromise. This threat is especially concerning because it targets the wireless infrastructure itself, meaning a single compromised access point could expose internal systems or disrupt connectivity for many users. While no public exploit exists yet and the EPSS score is low, the potential for significant operational and data security consequences makes it a priority for security teams.
No vendor-released patch identified at time of analysis. Interim mitigations include disabling AP mode on affected devices if not required, restricting physical access to wireless coverage areas, implementing wireless intrusion detection and prevention systems, and segmenting wireless networks from sensitive internal resources. Additionally, monitor MediaTek's security bulletins for patch ID WCNCR00422323 and apply it once available for your specific builds.
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 heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
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