Security Vulnerability Report
中文
CVE-2025-20803 CVSS 6.7 MEDIUM

CVE-2025-20803

Published: 2026-01-06 02:15:44
Last Modified: 2026-01-08 19:23:03

Description

In dpe, there is a possible memory corruption due to an integer overflow. This could lead to local escalation of privilege if a malicious actor has already obtained the System privilege. User interaction is needed for exploitation. Patch ID: ALPS10199779; Issue ID: MSV-4504.

CVSS Details

CVSS Score
6.7
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:google:android:16.0:-:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:mediatek:mt6899:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:mediatek:mt6991:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:h:mediatek:mt8793:-:*:*:*:*:*:*:* - NOT VULNERABLE
MediaTek处理器dpe组件(具体版本需参考厂商公告)
使用MediaTek芯片的Android设备(受影响固件版本)
联发科处理器相关设备(等待官方受影响版本列表)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-20803 PoC Concept (Conceptual - Requires System Privilege) // This is a theoretical PoC demonstrating the integer overflow condition // Actual exploitation requires specific MediaTek device and system access #include <stdio.h> #include <stdint.h> #include <stdlib.h> // Simulated dpe function with integer overflow vulnerability void dpe_process_data(uint32_t input_size, uint8_t* input_data) { uint32_t alloc_size; uint8_t* buffer; // Vulnerable code: Integer overflow when input_size is close to UINT32_MAX // The multiplication can overflow, resulting in a small allocation alloc_size = (input_size + 1) * 256; // Integer overflow here // Allocate buffer based on overflowed size buffer = (uint8_t*)malloc(alloc_size); if (buffer) { // Copy data larger than allocated buffer // This causes heap overflow memcpy(buffer, input_data, input_size); free(buffer); } } // Trigger the vulnerability int main() { uint32_t large_size = 0xFFFFFF00; // Near UINT32_MAX uint8_t* data = (uint8_t*)malloc(large_size); if (data) { memset(data, 0x41, large_size); dpe_process_data(large_size, data); free(data); } return 0; } // Note: This PoC is for educational purposes only. // Actual exploitation requires: // 1. System-level access to MediaTek device // 2. Knowledge of specific dpe driver interfaces // 3. Custom kernel module or root exploit to interact with dpe

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-20803", "sourceIdentifier": "[email protected]", "published": "2026-01-06T02:15:44.460", "lastModified": "2026-01-08T19:23:03.343", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In dpe, there is a possible memory corruption due to an integer overflow. This could lead to local escalation of privilege if a malicious actor has already obtained the System privilege. User interaction is needed for exploitation. Patch ID: ALPS10199779; Issue ID: MSV-4504."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 6.7, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 0.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-190"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:google:android:16.0:-:*:*:*:*:*:*", "matchCriteriaId": "02882AB1-7993-47DD-84A0-8DF4272D85ED"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:mediatek:mt6899:-:*:*:*:*:*:*:*", "matchCriteriaId": "C6E9F80F-9AC9-41E0-BB14-9DB6F14B62CD"}, {"vulnerable": false, "criteria": "cpe:2.3:h:mediatek:mt6991:-:*:*:*:*:*:*:*", "matchCriteriaId": "CBBB30DF-E963-4940-B742-F6801F68C3FC"}, {"vulnerable": false, "criteria": "cpe:2.3:h:mediatek:mt8793:-:*:*:*:*:*:*:*", "matchCriteriaId": "2FBD3487-F8CE-406C-8BD7-DD57FF8CD60B"}]}]}], "references": [{"url": "https://corp.mediatek.com/product-security-bulletin/January-2026", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}