Skip to main content

MediaTek WLAN Driver CVE-2025-20718

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
    Gain low-privileged local code execution on device
  2. Delivery
    Invoke vulnerable wlan AP driver interface
  3. Exploit
    Trigger out-of-bounds stack write via bad bounds check
  4. Execution
    Corrupt kernel memory to execute attacker code
  5. Impact
    Escalate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% 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 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

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 7.8 HIGH

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.

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 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 with User execution privileges needed. User interaction is not needed for exploitation. Patch ID: WCNCR00419945; Issue ID: MSV-3581.

Executive ViewAI

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
MediaTek WLAN SDK on OpenWrt-based access points; common but device-specific footprint
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.2%
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