The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-20654

CVE-2025-20654: Mediatek SDK RCE Vulnerability

CVE-2025-20654 is a remote code execution vulnerability in Mediatek Software Development Kit caused by an out-of-bounds write in wlan service. This article covers the technical details, affected versions, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-20654 Overview

CVE-2025-20654 is a critical out-of-bounds write vulnerability affecting MediaTek's WLAN service component. The vulnerability exists due to an incorrect bounds check, which could allow an attacker to write data beyond the intended buffer boundaries. This flaw enables remote code execution without requiring any user interaction or additional execution privileges, making it particularly dangerous for affected network devices and routers.

Critical Impact

This vulnerability allows unauthenticated remote attackers to execute arbitrary code on affected MediaTek-based devices through the WLAN service, potentially compromising network infrastructure including routers and access points running OpenWrt.

Affected Products

  • MediaTek Software Development Kit
  • MediaTek MT7622
  • MediaTek MT7915
  • MediaTek MT7916
  • MediaTek MT7981
  • MediaTek MT7986
  • MediaTek MT6890
  • OpenWrt 19.07.0 and 21.02.0

Discovery Timeline

  • 2025-04-07 - CVE-2025-20654 published to NVD
  • 2025-04-09 - Last updated in NVD database

Technical Details for CVE-2025-20654

Vulnerability Analysis

This vulnerability is classified as CWE-787 (Out-of-Bounds Write), a memory corruption flaw that occurs when the WLAN service fails to properly validate buffer boundaries before writing data. The incorrect bounds check allows an attacker to write data beyond the allocated memory region, potentially overwriting critical memory structures such as function pointers, return addresses, or other security-sensitive data.

The network-accessible nature of the WLAN service means this vulnerability can be exploited remotely without authentication. No user interaction is required, and the attacker does not need any privileges on the target system. Successful exploitation results in complete compromise of the affected device with full control over confidentiality, integrity, and availability.

Root Cause

The root cause is an incorrect bounds check within the MediaTek WLAN service. When processing network data, the service fails to properly validate the size or boundaries of input before writing to memory buffers. This insufficient validation allows malicious input to trigger a write operation beyond the intended memory boundaries, leading to memory corruption. The specific issue is tracked internally by MediaTek as Patch ID: WCNCR00406897 and Issue ID: MSV-2875.

Attack Vector

The attack vector is network-based, targeting the WLAN service exposed on vulnerable MediaTek chipsets. An attacker can send specially crafted network packets to the vulnerable device that exploit the incorrect bounds check. Since no authentication or user interaction is required, attackers can target any exposed device running the vulnerable WLAN service. This is particularly concerning for networking equipment such as routers and access points that are directly exposed to network traffic.

The vulnerability affects multiple MediaTek Wi-Fi chipsets commonly found in consumer and enterprise networking equipment, as well as OpenWrt installations using MediaTek hardware, significantly expanding the potential attack surface.

Detection Methods for CVE-2025-20654

Indicators of Compromise

  • Unexpected crashes or reboots of affected networking devices
  • Anomalous memory consumption patterns in the WLAN service
  • Unusual network traffic patterns targeting wireless management interfaces
  • Unauthorized configuration changes on affected devices
  • Evidence of arbitrary code execution in system logs

Detection Strategies

  • Monitor network traffic for malformed or oversized WLAN management frames
  • Implement network-based intrusion detection signatures for exploitation attempts
  • Deploy endpoint detection on devices with visibility into MediaTek WLAN service behavior
  • Review firmware versions to identify devices running vulnerable MediaTek SDK versions

Monitoring Recommendations

  • Enable verbose logging on affected network devices where supported
  • Monitor for unauthorized access attempts to device management interfaces
  • Implement network segmentation to isolate potentially vulnerable networking equipment
  • Track firmware update status across all MediaTek-based devices in the environment

How to Mitigate CVE-2025-20654

Immediate Actions Required

  • Apply the security patch from MediaTek as referenced in Patch ID WCNCR00406897
  • Upgrade OpenWrt installations to versions that include the MediaTek security fix
  • Isolate affected devices from untrusted networks until patching is complete
  • Review and restrict network access to WLAN management interfaces
  • Monitor affected devices for signs of compromise

Patch Information

MediaTek has released a security patch to address this vulnerability. The patch is documented in the MediaTek Security Bulletin April 2025. Users of affected devices should contact their device manufacturer for firmware updates that incorporate this patch. OpenWrt users should update to the latest available release that includes the MediaTek security fix.

Workarounds

  • Restrict network access to affected devices using firewall rules or network segmentation
  • Disable unnecessary wireless management features if supported by the device firmware
  • Place affected devices behind additional network security controls
  • Consider replacing affected devices if vendor patches are not available
bash
# Example: Network segmentation using firewall rules
# Block external access to WLAN management interfaces
iptables -A INPUT -i wan -p udp --dport 5246 -j DROP
iptables -A INPUT -i wan -p udp --dport 5247 -j DROP

# Restrict management access to trusted networks only
iptables -A INPUT -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMediatek Software Development Kit

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.52%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Vendor Resources
  • MediaTek Security Bulletin April 2025
  • Related CVEs
  • CVE-2024-20017: MediaTek SDK Remote Code Execution Flaw

  • CVE-2025-20633: Mediatek SDK RCE Vulnerability

  • CVE-2026-20430: Mediatek SDK Privilege Escalation Flaw

  • CVE-2026-20408: Mediatek SDK Privilege Escalation Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English