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

CVE-2025-20807

Published: 2026-01-06 02:15:45
Last Modified: 2026-01-08 19:20:46

Description

In dpe, there is a possible out of bounds write 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 not needed for exploitation. Patch ID: ALPS10114841; Issue ID: MSV-4451.

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 < ALPS10114841

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-20807 PoC - MediaTek DPE Integer Overflow // This PoC demonstrates the integer overflow vulnerability in MediaTek DPE // Note: Requires system-level privileges to exploit #include <stdio.h> #include <stdlib.h> #include <stdint.h> // Simulated DPE buffer structure typedef struct { uint32_t size; uint32_t count; char* buffer; } DPE_Context; // Vulnerable function with integer overflow int process_dpe_input(DPE_Context* ctx, uint32_t input_size) { // VULNERABLE: No integer overflow check uint32_t alloc_size = input_size + 1; // Can overflow // Integer overflow can cause buffer overflow char* buf = (char*)malloc(alloc_size); if (!buf) return -1; // Copy data to buffer memcpy(buf, ctx->buffer, input_size); return 0; } // Trigger the vulnerability int trigger_vulnerability() { DPE_Context ctx; ctx.size = 0; ctx.buffer = "test_data"; // Trigger with maximum uint32 value uint32_t malicious_input = 0xFFFFFFFF; return process_dpe_input(&ctx, malicious_input); } int main() { printf("CVE-2025-20807 PoC\n"); printf("MediaTek DPE Integer Overflow Leading to OOB Write\n"); trigger_vulnerability(); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-20807", "sourceIdentifier": "[email protected]", "published": "2026-01-06T02:15:44.970", "lastModified": "2026-01-08T19:20:46.453", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In dpe, there is a possible out of bounds write 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 not needed for exploitation. Patch ID: ALPS10114841; Issue ID: MSV-4451."}], "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"]}]}}