Skip to main content

MediaTek WLAN Driver CVE-2025-20712

HIGH
Heap-based Buffer Overflow (CWE-122)
2025-10-14 security@mediatek.com
8.8
CVSS 3.1 · Vendor: mediatek
View

Attack ChainAIDerived

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

  1. Access
    Gain WiFi proximity to target AP
  2. Delivery
    Send crafted 802.11 management/data frames
  3. Exploit
    Trigger heap out-of-bounds write in WLAN AP driver
  4. Execution
    Corrupt kernel/driver heap structures
  5. Impact
    Escalate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

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

Vendor (mediatek) PRIMARY 8.8 HIGH
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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.

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

Primary rating from Vendor (mediatek).

CVSS VectorVendor: mediatek

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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 80% exploitable
Prevalence
High
MediaTek WLAN chipsets ubiquitous in consumer/IoT routers; OpenWrt widely deployed
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 No
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
Controlled
Automatable· derived
No
Human Impact
High

Priority Score

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

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

cpe:2.3:a:mediatek:software_development_kit:*:*:*:*:*:*:*:*
cpe:2.3:o:openwrt:openwrt:21.02.0:-:*:*:*:*:*:*
cpe:2.3:o:openwrt:openwrt:23.05:*:*:*:*:*:*:*
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-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

CVE-2026-30872 CRITICAL
9.8 Mar 19

Remote code execution in OpenWrt's mDNS daemon (versions before 24.10.6 and 25.12.1) allows unauthenticated attackers to

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