CVE-2025-20738: CWE-121 Stack Overflow in MediaTek, Inc. MT6890, MT7615, MT7622, MT7663, MT7915, MT7916, MT7981, MT7986
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: WCNCR00435342; Issue ID: MSV-4039.
AI Analysis
Technical Summary
CVE-2025-20738 is a stack-based buffer overflow vulnerability classified under CWE-121, found in the wlan AP driver of multiple MediaTek chipsets including MT6890, MT7615, MT7622, MT7663, MT7915, MT7916, MT7981, and MT7986. The root cause is an incorrect bounds check that allows an out-of-bounds write on the stack, potentially corrupting memory and enabling escalation of privileges. This vulnerability requires the attacker to have already obtained System-level privileges on the device, meaning it is not exploitable remotely or by unprivileged users. No user interaction is necessary, which simplifies exploitation once the attacker has the required privileges. The affected software versions include SDK release 7.6.7.2 and earlier, as well as openWRT versions 19.07 and 21.02, which are commonly used in embedded wireless devices. The vulnerability can compromise confidentiality, integrity, and availability by allowing an attacker to execute arbitrary code or cause system instability. Although no exploits are currently known in the wild, the presence of a patch (WCNCR00435342) indicates vendor awareness and remediation efforts. The CVSS v3.1 base score of 6.7 reflects a medium severity, driven by the requirement for high privileges but the significant impact on system security if exploited.
Potential Impact
The primary impact of CVE-2025-20738 is local privilege escalation on devices using affected MediaTek chipsets, which can lead to full system compromise. Attackers who have already gained System privileges could exploit this vulnerability to execute arbitrary code with elevated rights, potentially bypassing security controls and gaining persistent access. This could result in unauthorized access to sensitive data, disruption of wireless network services, or use of the device as a foothold for lateral movement within an organization’s network. Given the vulnerability affects widely deployed wireless access point chipsets and open-source firmware like openWRT, the scope includes enterprise, ISP, and consumer networking equipment. The lack of required user interaction increases the risk in environments where attackers have partial access. Although no exploits are currently reported in the wild, the vulnerability’s presence in critical network infrastructure components means exploitation could have significant operational and security consequences.
Mitigation Recommendations
To mitigate CVE-2025-20738, organizations should promptly apply the vendor-provided patch identified as WCNCR00435342 once available. Until patches are deployed, strict access controls should be enforced to limit System-level privileges to trusted administrators only, reducing the risk of exploitation. Network segmentation can help contain compromised devices and prevent lateral movement. Monitoring for unusual system behavior or privilege escalation attempts on devices with affected MediaTek chipsets is recommended. Additionally, upgrading openWRT installations to versions beyond 21.02 or applying vendor firmware updates can reduce exposure. Security teams should audit devices for the presence of affected chipsets and firmware versions and prioritize remediation in critical infrastructure. Employing runtime protections such as stack canaries and memory protection mechanisms, if supported by the device, can further reduce exploitation risk. Finally, maintaining an inventory of vulnerable devices and integrating vulnerability management processes will aid in timely response.
Affected Countries
United States, China, Taiwan, South Korea, Japan, Germany, France, India, Brazil, United Kingdom, Australia
CVE-2025-20738: CWE-121 Stack Overflow in MediaTek, Inc. MT6890, MT7615, MT7622, MT7663, MT7915, MT7916, MT7981, MT7986
Description
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: WCNCR00435342; Issue ID: MSV-4039.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-20738 is a stack-based buffer overflow vulnerability classified under CWE-121, found in the wlan AP driver of multiple MediaTek chipsets including MT6890, MT7615, MT7622, MT7663, MT7915, MT7916, MT7981, and MT7986. The root cause is an incorrect bounds check that allows an out-of-bounds write on the stack, potentially corrupting memory and enabling escalation of privileges. This vulnerability requires the attacker to have already obtained System-level privileges on the device, meaning it is not exploitable remotely or by unprivileged users. No user interaction is necessary, which simplifies exploitation once the attacker has the required privileges. The affected software versions include SDK release 7.6.7.2 and earlier, as well as openWRT versions 19.07 and 21.02, which are commonly used in embedded wireless devices. The vulnerability can compromise confidentiality, integrity, and availability by allowing an attacker to execute arbitrary code or cause system instability. Although no exploits are currently known in the wild, the presence of a patch (WCNCR00435342) indicates vendor awareness and remediation efforts. The CVSS v3.1 base score of 6.7 reflects a medium severity, driven by the requirement for high privileges but the significant impact on system security if exploited.
Potential Impact
The primary impact of CVE-2025-20738 is local privilege escalation on devices using affected MediaTek chipsets, which can lead to full system compromise. Attackers who have already gained System privileges could exploit this vulnerability to execute arbitrary code with elevated rights, potentially bypassing security controls and gaining persistent access. This could result in unauthorized access to sensitive data, disruption of wireless network services, or use of the device as a foothold for lateral movement within an organization’s network. Given the vulnerability affects widely deployed wireless access point chipsets and open-source firmware like openWRT, the scope includes enterprise, ISP, and consumer networking equipment. The lack of required user interaction increases the risk in environments where attackers have partial access. Although no exploits are currently reported in the wild, the vulnerability’s presence in critical network infrastructure components means exploitation could have significant operational and security consequences.
Mitigation Recommendations
To mitigate CVE-2025-20738, organizations should promptly apply the vendor-provided patch identified as WCNCR00435342 once available. Until patches are deployed, strict access controls should be enforced to limit System-level privileges to trusted administrators only, reducing the risk of exploitation. Network segmentation can help contain compromised devices and prevent lateral movement. Monitoring for unusual system behavior or privilege escalation attempts on devices with affected MediaTek chipsets is recommended. Additionally, upgrading openWRT installations to versions beyond 21.02 or applying vendor firmware updates can reduce exposure. Security teams should audit devices for the presence of affected chipsets and firmware versions and prioritize remediation in critical infrastructure. Employing runtime protections such as stack canaries and memory protection mechanisms, if supported by the device, can further reduce exploitation risk. Finally, maintaining an inventory of vulnerable devices and integrating vulnerability management processes will aid in timely response.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- MediaTek
- Date Reserved
- 2024-11-01T01:21:50.395Z
- Cvss Version
- null
- State
- PUBLISHED
Threat ID: 6909a1a8d66f5e62e384933a
Added to database: 11/4/2025, 6:48:08 AM
Last enriched: 2/27/2026, 12:37:34 AM
Last updated: 3/24/2026, 8:18:55 AM
Views: 45
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.