Skip to main content

MediaTek WLAN Driver CVE-2025-20714

HIGH
Stack-based Buffer Overflow (CWE-121)
2025-10-14 security@mediatek.com
7.8
CVSS 3.1 · Vendor: mediatek
View

Attack ChainAIDerived

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

  1. Access
    Obtain System privilege on device
  2. Delivery
    Invoke vulnerable wlan AP driver interface
  3. Exploit
    Send input bypassing incorrect bounds check
  4. Execution
    Trigger out-of-bounds stack write
  5. Impact
    Corrupt kernel memory to escalate privilege

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 System privilege on the device, as stated verbatim in the description ('if a malicious actor has already obtained the System privilege'); it then abuses the wlan AP driver's incorrect bounds check to perform an out-of-bounds stack write. No user interaction is needed (UI:N) and the vector is local only (AV:L) - there is no network-reachable path. The dominant limiting factor is this high pre-existing privilege bar, which makes the flaw a privilege-escalation step available only to an already-privileged local attacker, not a remote or unauthenticated entry point. Applies to devices running the affected MediaTek software development kit, including OpenWrt 19.07.0 and 21.02.0 builds that incorporate the vulnerable driver.

Impact

This is a genuine but conditional local privilege-escalation flaw, not a top-tier emergency. The CVSS 3.1 base score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects high confidentiality, integrity, and availability impact, but the attack vector is strictly local and EPSS rates exploitation probability at just 0.14% (3rd percentile), indicating no observed exploitation interest. The vulnerability is not listed in CISA KEV and no public exploit code was identified, so all exploitation signals point to low near-term real-world risk. A critical caveat: the CVSS vector encodes PR:L (low privilege), yet the description explicitly states escalation is only possible 'if a malicious actor has already obtained the System privilege' - these conflict, and System privilege is effectively the highest privilege on the platform, which would argue for PR:H. This discrepancy means the practical prerequisite (already holding System privilege) is far more restrictive than PR:L suggests, further lowering real-world priority - verify the intended privilege prerequisite with MediaTek. There is no SSVC decision data provided. Net: a legitimately exploitable stack overflow for local EoP, but gated behind an already-privileged attacker and showing no exploitation momentum.

Exploit ScenarioDerived

An attacker who has already compromised a device and obtained System-level privilege invokes the vulnerable wlan AP driver path with crafted input that fails the incorrect bounds check, triggering an out-of-bounds stack write. By controlling the overflow, the attacker corrupts kernel memory to elevate from System privilege to full kernel/root-level control without any user interaction. No public proof-of-concept exists, and the local-only vector with a high pre-existing privilege requirement makes this a post-compromise escalation step rather than an initial-access technique.

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

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

Alert me

AnalysisAIv1 – Oct 08, 2026

Local privilege escalation in MediaTek's WLAN AP driver allows an attacker who already holds System privilege to trigger an out-of-bounds stack write, potentially gaining higher-level code execution on affected devices. The flaw affects the MediaTek Software Development Kit and OpenWrt 19.07.0 and 21.02.0 builds that incorporate the vulnerable driver. No user interaction is required, but the attacker must first obtain System privileges, which limits the practical risk; no public exploit identified at time of analysis, and EPSS is low at 0.14% (3rd percentile).

RemediationAI

Apply the vendor patch identified by Patch ID WCNCR00432659, available via the MediaTek October 2025 product security bulletin at https://corp.mediatek.com/product-security-bulletin/October-2025. OpenWrt users should upgrade to a fixed OpenWrt release that integrates the patched MediaTek driver, or rebuild custom images using the updated SDK. Because exploitation requires the attacker to already hold System privilege, minimize the number of local users or processes with System-level access and restrict debugging interfaces; this reduces the attack surface but does not eliminate the flaw. No other workarounds are listed by the vendor.

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 vulnerability is a stack-based buffer overflow (CWE-121) in the MediaTek WLAN AP driver, caused by an incorrect bounds check that fails to validate a length or index before writing to a stack buffer. An attacker with System privileges can supply crafted input to the driver, leading to an out-of-bounds write that corrupts adjacent stack memory. This memory corruption can be leveraged to execute arbitrary code with higher privileges, such as kernel-level access, compromising confidentiality, integrity, and availability (CVSS 7.8). The CPE data identifies the affected components as the MediaTek Software Development Kit (cpe:2.3:a:mediatek:software_development_kit) and OpenWrt 19.07.0 and 21.02.0 (cpe:2.3:o:openwrt:openwrt:19.07.0 and :21.02.0). The assessed vector (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) confirms this is a local only (AV:L) issue requiring high privileges (PR:H), meaning it is not a remote entry point but a privilege-escalation step for an already-compromised local attacker.

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 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.7 MEDIUM

Local driver interface (AV:L), no interaction (UI:N); description requires pre-existing System privilege so PR:H rather than the input's PR:L; full CIA impact from kernel memory corruption.

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

Primary rating from Vendor (mediatek).

CVSS VectorVendor: mediatek

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
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 local escalation of privilege if a malicious actor has already obtained the System privilege. User interaction is not needed for exploitation. Patch ID: WCNCR00432659; Issue ID: MSV-3902.

Executive ViewAI

Why It Matters

MediaTek WLAN AP driver and dependent OpenWrt 19.07.0/21.02.0 builds contain a high-severity local privilege-escalation flaw that could allow an attacker with existing System privileges to gain higher-level code execution on affected wireless access points. Because exploitation requires prior System-level access and no public exploit identified at time of analysis, the immediate organizational risk is limited, but unpatched network-edge devices could become a foothold for broader compromise if those privileges are obtained. Security leadership should prioritize inventory and remediation planning for affected MediaTek SDK and OpenWrt deployments.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Restrict System-level access, enforce least privilege, segment affected WLAN AP devices, disable unnecessary services, monitor for privilege escalation, and prepare to upgrade OpenWrt/MediaTek SDK when a fix is released.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
MediaTek WLAN SDK on OpenWrt-based routers; common but not universal
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.1%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

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

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

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