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-20645: CWE-787 Out-of-bounds Write in MediaTek, Inc. MT6765, MT6768, MT6833, MT6835, MT6853, MT6855, MT6879, MT6886, MT6893, MT6897, MT6983, MT6985, MT6989, MT8796

0
High
VulnerabilityCVE-2025-20645cvecve-2025-20645cwe-787
Published: Mon Mar 03 2025 (03/03/2025, 02:25:29 UTC)
Source: CVE Database V5
Vendor/Project: MediaTek, Inc.
Product: MT6765, MT6768, MT6833, MT6835, MT6853, MT6855, MT6879, MT6886, MT6893, MT6897, MT6983, MT6985, MT6989, MT8796

Description

In KeyInstall, 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: ALPS09475476; Issue ID: MSV-2599.

AI-Powered Analysis

AILast updated: 02/26/2026, 20:48:05 UTC

Technical Analysis

CVE-2025-20645 is an out-of-bounds write vulnerability classified under CWE-787 found in the KeyInstall component of various MediaTek SoCs (System on Chips) including MT6765, MT6768, MT6833, MT6835, MT6853, MT6855, MT6879, MT6886, MT6893, MT6897, MT6983, MT6985, MT6989, and MT8796. This vulnerability arises from a missing bounds check during memory operations, which can cause memory corruption by writing outside the intended buffer boundaries. The flaw exists in devices running Android versions 14.0 and 15.0. An attacker who already has System-level privileges on the device can exploit this vulnerability locally to escalate privileges further, potentially gaining higher system privileges or causing system instability. No user interaction is required for exploitation, making automated or stealthy attacks feasible once System access is obtained. The vulnerability affects confidentiality, integrity, and availability of the system, as it can lead to arbitrary code execution or denial of service. Although no public exploits are known at this time, the presence of a patch ID (ALPS09475476) indicates that MediaTek has addressed the issue internally. The vulnerability's CVSS v3.1 score is 7.8, reflecting high severity due to the combination of local attack vector, low attack complexity, required privileges, and significant impact on system security.

Potential Impact

The primary impact of CVE-2025-20645 is local privilege escalation on devices using affected MediaTek chipsets running Android 14.0 or 15.0. An attacker with System privileges can exploit this vulnerability to gain higher privileges, potentially leading to full device compromise, unauthorized access to sensitive data, or disruption of device functionality. This could facilitate further attacks such as installing persistent malware, bypassing security controls, or manipulating system components. The vulnerability threatens confidentiality by enabling unauthorized data access, integrity by allowing unauthorized code execution or modification, and availability by potentially causing system crashes or instability. Organizations deploying devices with these MediaTek chipsets, especially in enterprise or critical infrastructure environments, face increased risk of insider threats or malware leveraging this flaw to escalate privileges and evade detection. The lack of required user interaction increases the risk of automated exploitation in compromised environments.

Mitigation Recommendations

To mitigate CVE-2025-20645, organizations and device manufacturers should prioritize applying the official patch identified by MediaTek (ALPS09475476) as soon as it becomes available. Until patched, restrict System-level access on affected devices to trusted users and processes only, minimizing the attack surface. Employ strict application whitelisting and privilege management to prevent unauthorized escalation attempts. Monitor device logs and behaviors for signs of abnormal privilege escalations or memory corruption. Use endpoint detection and response (EDR) solutions capable of detecting anomalous local privilege escalation activities. For device manufacturers and integrators, conduct thorough code audits and implement robust bounds checking in memory operations to prevent similar vulnerabilities. Additionally, maintain up-to-date firmware and OS versions and educate users about the risks of granting elevated privileges to untrusted applications or processes.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

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

Threat ID: 69a0a44d85912abc71d65254

Added to database: 2/26/2026, 7:51:41 PM

Last enriched: 2/26/2026, 8:48:05 PM

Last updated: 2/26/2026, 11:18:51 PM

Views: 1

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 in Console -> Billing 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