Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-20797: CWE-121 Stack Overflow in MediaTek, Inc. MT2718, MT6765, MT6768, MT6781, MT6833, MT6835, MT6853, MT6855, MT6877, MT6879, MT6893, MT6985, MT6989, MT6991, MT8186, MT8188, MT8196, MT8367, MT8391, MT8676, MT8678, MT8696, MT8766, MT8768, MT8781, MT8786, MT8788E, MT8791T, MT8792, MT8793, MT8796, MT8873, MT8883, MT8893

0
High
VulnerabilityCVE-2025-20797cvecve-2025-20797cwe-121
Published: Tue Jan 06 2026 (01/06/2026, 01:46:41 UTC)
Source: CVE Database V5
Vendor/Project: MediaTek, Inc.
Product: MT2718, MT6765, MT6768, MT6781, MT6833, MT6835, MT6853, MT6855, MT6877, MT6879, MT6893, MT6985, MT6989, MT6991, MT8186, MT8188, MT8196, MT8367, MT8391, MT8676, MT8678, MT8696, MT8766, MT8768, MT8781, MT8786, MT8788E, MT8791T, MT8792, MT8793, MT8796, MT8873, MT8883, MT8893

Description

In battery, there is a possible out of bounds write due to a missing 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: ALPS10315812; Issue ID: MSV-5534.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 07:15:43 UTC

Technical Analysis

CVE-2025-20797 is a stack overflow vulnerability classified under CWE-121, discovered in the battery management component of multiple MediaTek chipsets, including MT2718, MT6765, MT6768, MT6781, MT6833, MT6835, MT6853, MT6855, MT6877, MT6879, MT6893, MT6985, MT6989, MT6991, MT8186, MT8188, MT8196, MT8367, MT8391, MT8676, MT8678, MT8696, MT8766, MT8768, MT8781, MT8786, MT8788E, MT8791T, MT8792, MT8793, MT8796, MT8873, MT8883, and MT8893. These chipsets are integrated into devices running Android versions 14.0 through 16.0. The vulnerability stems from a missing bounds check during battery-related operations, which allows an out-of-bounds write on the stack. This flaw can be exploited by an attacker who has already obtained System-level privileges on the device, enabling local escalation of privileges without requiring any user interaction. The vulnerability impacts the confidentiality, integrity, and availability of the system by potentially allowing arbitrary code execution or system control escalation. The CVSS v3.1 score of 7.8 reflects the high severity, with an attack vector limited to local access (AV:L), low attack complexity (AC:L), requiring privileges (PR:L), no user interaction (UI:N), and high impact on confidentiality, integrity, and availability (C:H/I:H/A:H). Although no exploits are currently known in the wild, the broad range of affected chipsets and Android versions makes this a significant threat. The patch identifier ALPS10315812 and issue ID MSV-5534 are noted, but no direct patch links are provided. The vulnerability was reserved in November 2024 and published in January 2026.

Potential Impact

The vulnerability allows an attacker with System privileges to perform a stack overflow via an out-of-bounds write in the battery component, leading to local privilege escalation. This can compromise device confidentiality by exposing sensitive data, integrity by enabling unauthorized code execution or modification of system components, and availability by potentially causing system crashes or denial of service. Since the attack requires local access and System privileges, it primarily threatens environments where attackers have already breached initial defenses or have insider access. However, given the widespread deployment of MediaTek chipsets in consumer and enterprise Android devices, the vulnerability poses a significant risk to millions of devices worldwide. Exploitation could facilitate persistent malware installation, bypass of security controls, or further lateral movement within networks. The absence of required user interaction increases the risk of automated or stealthy exploitation once initial access is gained.

Mitigation Recommendations

Organizations and device manufacturers should prioritize applying the official patch ALPS10315812 as soon as it becomes available to remediate the missing bounds check. Until patches are deployed, enforcing strict privilege separation and minimizing the number of processes or users with System-level privileges can reduce exploitation risk. Employ runtime protections such as stack canaries, address space layout randomization (ASLR), and control-flow integrity (CFI) to mitigate exploitation of stack overflows. Regularly audit and monitor devices for unusual local privilege escalation attempts or anomalous battery component behavior. For enterprise environments, restrict physical and local access to devices, and implement endpoint detection and response (EDR) solutions capable of detecting exploitation attempts. Device manufacturers should also review and harden battery management code to prevent similar vulnerabilities. Finally, maintain up-to-date inventories of affected devices to ensure timely patch management.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
MediaTek
Date Reserved
2024-11-01T01:21:50.403Z
Cvss Version
null
State
PUBLISHED

Threat ID: 695c6e7a3839e44175bdd3e2

Added to database: 1/6/2026, 2:07:54 AM

Last enriched: 2/27/2026, 7:15:43 AM

Last updated: 3/24/2026, 1:06:36 AM

Views: 68

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses