Security Vulnerability Report
中文
CVE-2026-25781 CVSS 8.4 HIGH

CVE-2026-25781

Published: 2026-05-19 04:16:28
Last Modified: 2026-05-19 14:25:04

Description

in OpenHarmony v6.0 and prior versions allow a local attacker cause DOS and it cannot be recovered.

CVSS Details

CVSS Score
8.4
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Configurations (Affected Products)

No configuration data available.

OpenHarmony <= v6.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * PoC for CVE-2026-25781 (OpenHarmony Local DoS) * This is a generic simulation of a local trigger. * Actual exploit requires specific vulnerable code path. */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> void trigger_vulnerability() { // Simulating the specific system call or sequence that causes the crash // In a real scenario, this would interact with the buggy OpenHarmony API char *buffer = NULL; printf("[+] Attempting to trigger local DoS on OpenHarmony..."); // Example of a logic flaw leading to panic/crash // This loop simulates resource exhaustion or invalid memory access // which might lead to the unrecoverable state described in the CVE. for(int i = 0; i < 100000; i++) { buffer = (char *)malloc(1024 * 1024); // Attempt to exhaust memory if (buffer == NULL) { // If allocation fails, proceed to trigger logic that might cause race condition break; } // Write operation that might trigger integrity issue buffer[0] = 'A'; } // Hypothetical system call that triggers the bug // syscall(__NR_vulnerable_syscall, arg1, arg2); printf("[-] System should be unstable or crashed now.\n"); } int main() { // Verify local execution context (PR:L) if (getuid() > 0) { printf("[*] Running as low-privilege user...\n"); } trigger_vulnerability(); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-25781", "sourceIdentifier": "[email protected]", "published": "2026-05-19T04:16:28.280", "lastModified": "2026-05-19T14:25:04.340", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "in OpenHarmony v6.0 and prior versions allow a local attacker cause DOS and it cannot be recovered."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N", "baseScore": 8.4, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.0, "impactScore": 5.8}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-787"}]}], "references": [{"url": "https://gitcode.com/openharmony/security/tree/master/zh/security-disclosure/2026/2026-05.md", "source": "[email protected]"}]}}