Security Vulnerability Report
中文
CVE-2026-34867 CVSS 5.6 MEDIUM

CVE-2026-34867

Published: 2026-04-13 04:16:13
Last Modified: 2026-04-17 19:24:47

Description

Double free vulnerability in the multi-mode input system. Impact: Successful exploitation of this vulnerability may affect availability.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:huawei:harmonyos:5.1.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:huawei:harmonyos:6.0.0:*:*:*:*:*:*:* - VULNERABLE
华为多模式输入系统 (2026年4月补丁发布前的特定版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#include <stdio.h> #include <stdlib.h> #include <string.h> // Simulated PoC for Double Free Vulnerability // This code demonstrates the logic leading to a double free condition. void trigger_vulnerability(char* user_input) { char* buffer = (char*)malloc(100); if (buffer == NULL) return; printf("Buffer allocated at: %p\n", buffer); // First free: Freed under certain condition if (strlen(user_input) > 0) { free(buffer); printf("Buffer freed for the first time.\n"); } // Second free: Logic error causes double free // In a real scenario, this might happen in a different function path if (strcmp(user_input, "crash") == 0) { free(buffer); // Double Free occurs here printf("Buffer freed for the second time - CRASH!\n"); } } int main() { // Malicious input triggering the vulnerable path char input[] = "crash"; trigger_vulnerability(input); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-34867", "sourceIdentifier": "[email protected]", "published": "2026-04-13T04:16:13.240", "lastModified": "2026-04-17T19:24:46.980", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Double free vulnerability in the multi-mode input system.\nImpact: Successful exploitation of this vulnerability may affect availability."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:H", "baseScore": 5.6, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.3, "impactScore": 4.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-415"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:huawei:harmonyos:5.1.0:*:*:*:*:*:*:*", "matchCriteriaId": "E39DE6A6-CBE6-4086-93CD-113D1B3BA730"}, {"vulnerable": true, "criteria": "cpe:2.3:o:huawei:harmonyos:6.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "0EBE30DD-E146-4A6A-BE68-DEF9D4D0B2A8"}]}]}], "references": [{"url": "https://consumer.huawei.com/en/support/bulletin/2026/4/", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://consumer.huawei.com/en/support/bulletinlaptops/2026/4/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}