MediaTek Battery Driver OOB Write Escalation (CVE-2025-20797)
CVE-2025-20797 Published on January 6, 2026

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.

NVD

Vulnerability Analysis

CVE-2025-20797 can be exploited with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.

Attack Vector:
LOCAL
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Type

What is a Stack Overflow Vulnerability?

A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

CVE-2025-20797 has been classified to as a Stack Overflow vulnerability or weakness.


Products Associated with CVE-2025-20797

Want to know whenever a new CVE is published for MediaTek products? stack.watch will email you.

 
 
 
 
 
 
 
 

Affected Versions

MediaTek, Inc. MediaTek chipset:

Exploit Probability

EPSS
0.01%
Percentile
0.44%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.