Security Vulnerability Report
中文
CVE-2025-41432 CVSS 5.5 MEDIUM

CVE-2025-41432

Published: 2026-03-16 14:17:59
Last Modified: 2026-03-17 19:58:30

Description

in OpenHarmony v5.1.0 and prior versions allow a local attacker arbitrary code execution in pre-installed apps through out-of-bounds write. This vulnerability can be exploited only in restricted scenarios.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:openatom:openharmony:5.0.3:*:*:*:-:*:*:* - VULNERABLE
cpe:2.3:o:openatom:openharmony:5.1.0:*:*:*:-:*:*:* - VULNERABLE
OpenHarmony < 5.1.0
OpenHarmony v5.1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-41432 PoC - OpenHarmony Out-of-Bounds Write // This PoC demonstrates the vulnerability trigger mechanism // Note: Actual exploitation requires specific device and app context // Simulated vulnerable function signature function triggerVulnerability(appId, inputData) { // Vulnerable code pattern (pseudo-code) // The actual vulnerable code exists in OpenHarmony pre-installed apps // where input validation is insufficient // Example trigger scenario: // 1. Identify a pre-installed app with the vulnerability // 2. Prepare malicious input with oversized data // 3. Trigger the vulnerable code path console.log('[PoC] Triggering CVE-2025-41432'); console.log('[PoC] Target App:', appId); console.log('[PoC] Input length:', inputData.length); // Attempt to trigger out-of-bounds write // The actual exploit would require: // - Specific app ID of vulnerable pre-installed app // - Crafted input that exceeds buffer boundaries // - Specific timing and system state return { status: 'vulnerability_triggered', cve_id: 'CVE-2025-41432', affected_versions: 'OpenHarmony <= v5.1.0', attack_vector: 'Local (AV:L)', privileges_required: 'Low (PR:L)', note: 'This is a conceptual PoC. Real exploitation requires device access.' }; } // Example trigger const result = triggerVulnerability('com.example.preinstalled', 'A'.repeat(10000));

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-41432", "sourceIdentifier": "[email protected]", "published": "2026-03-16T14:17:58.693", "lastModified": "2026-03-17T19:58:29.997", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "in OpenHarmony v5.1.0 and prior versions allow a local attacker arbitrary code execution in pre-installed apps through out-of-bounds write. This vulnerability can be exploited only in restricted scenarios."}, {"lang": "es", "value": "en OpenHarmony v5.1.0 y versiones anteriores permiten a un atacante local la ejecución de código arbitrario en aplicaciones preinstaladas a través de una escritura fuera de límites. Esta vulnerabilidad puede ser explotada solo en escenarios restringidos."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 3.6}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-787"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:openatom:openharmony:5.0.3:*:*:*:-:*:*:*", "matchCriteriaId": "191FD913-141A-4354-81C3-96C87D4D7CAE"}, {"vulnerable": true, "criteria": "cpe:2.3:o:openatom:openharmony:5.1.0:*:*:*:-:*:*:*", "matchCriteriaId": "0BE5D50A-ABFA-476E-BAE6-41EFEAC1F486"}]}]}], "references": [{"url": "https://gitcode.com/openharmony/security/tree/master/zh/security-disclosure/2025/2025-10.md", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}