Skip to main content
CVE-2025-58295VulnerabilityPublished Updated

CVE-2025-58295: Huawei HarmonyOS · Stack-based Buffer Overflow

Affects Huawei HarmonyOSSource CVE Database V5

0

Not known to be exploited · CVSS 5.9 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.09% chance of exploitation in 30 days – higher than 0% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
Huawei HarmonyOSAffected
  • =5.1.0
  • =5.0.1
Fixed in–

AI-suggested

1. Monitor Huawei’s official channels for patches or updates addressing CVE-2025-58295 and apply them promptly once available. 2. Restrict local access to devices running affected HarmonyOS versions through strict physical security controls and user access management. 3. Implement runtime protections such as stack canaries, address space layout randomization (ASLR), and control-flow integrity (CFI) where possible to mitigate buffer overflow exploitation. 4. Conduct regular security audits and vulnerability assessments on HarmonyOS devices within the organization to detect anomalous behavior indicative of exploitation attempts. 5. Employ endpoint detection and response (EDR) solutions capable of monitoring local system calls and memory corruption attempts. 6. Limit installation of untrusted or unnecessary applications on HarmonyOS devices to reduce attack surface. 7. Educate users and administrators about the risks of local exploitation and enforce policies to prevent unauthorized device access. 8. For critical infrastructure, consider network segmentation to isolate HarmonyOS devices and minimize potential impact. 9. Maintain comprehensive logging and incident response plans tailored to potential availability disruptions caused by this vulnerability.

Description

Buffer overflow vulnerability in the development framework module. Successful exploitation of this vulnerability may affect availability.

References

Community reviews

Loading reviews…