Security Resilience

CVE-2025-31173

Huawei Harmonyos 5.0.0

Published
07 April 2025
Modified
07 May 2025
Patch / advisory
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.0011 2th percentile
Risk Priority 58 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-31173 is a high-severity Improper Handling of Insufficient Permissions or Privileges (CWE-280) vulnerability in Huawei Harmonyos. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Regsvcs/Regasm (T1218.009); ranked at the 2th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Memory write permission bypass vulnerability in the kernel futex module Impact: Successful exploitation of this vulnerability may affect service confidentiality.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1218.009 Regsvcs/Regasm Stealth
Adversaries may abuse Regsvcs and Regasm to proxy execution of code through a trusted Windows utility.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-31172Same product: Huawei Harmonyos
CVE-2025-46584Same product: Huawei Harmonyos
CVE-2023-52537Same product: Huawei Harmonyos
CVE-2024-30418Same product: Huawei Harmonyos
CVE-2024-56451Same product: Huawei Harmonyos
CVE-2026-24923Same product: Huawei Harmonyos
CVE-2026-34856Same product: Huawei Harmonyos
CVE-2024-56445Same product: Huawei Harmonyos
CVE-2024-54119Same product: Huawei Harmonyos
CVE-2024-57957Same product: Huawei Harmonyos

Affected Assets

huawei
harmonyos
5.0.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 6 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V6.2.2
  • V8.3.3

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Ensuring access decisions are applied to every request structurally prevents the product from taking unexpected paths when privileges are lacking.

A reference monitor that is always invoked guarantees privilege checks occur, eliminating the root condition for improper insufficient-privilege handling.

Access enforcement directly stops code from proceeding on insufficient privileges by applying authorization checks before resource access.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-05 mostly match
blocks

Defining, enforcing and reviewing access permissions with least privilege directly prevents code paths that mishandle insufficient privileges.

DE.CM-09 partial match
blocks

Runtime monitoring of software and data surfaces adverse events triggered by unhandled permission failures.

PR.PS-04 partial match
blocks

Generating logs of permission-related events enables detection and analysis of improper handling.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect missing or incorrect privilege handling.

prevents

Training raises developer awareness of permission-handling concerns, but CWE-280 is a subtle implementation defect (the CWE notes it is under-studied and developers often fail to consider access-failure paths), so even well-trained developers miss edge cases — a minority effect, consistent with A.8.28 vs CWE-79 at `partial`.

prevents

Secure-coding standards require proper permission checks before resource access.

prevents

A.8.30 carries its effect through the secure-development practices (8.25-8.29) its contract requires of the supplier, so it reduces ordinary software implementation weaknesses like CWE-280 in delivered code the way those practices do, at the clause's declared ceiling of `partial`.

finds

A.8.8's reach is DISCLOSURE — it sees only instances carrying a vendor-published flaw. CWE-280 is a code-level implementation defect that is described as under-studied and rarely surfaces as CVEs (researchers focus on excess permissions rather than insufficient ones), so the disclosed share is small but non-zero (the observed examples CVE-2003-0501 and CVE-2004-0148 are in scope). A.8.8 finds that minority; most instances live in code no advisory was ever published about.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.

Oracle Linux 8 (2 partial rules)
  • V-248548 OL 8 must use a Linux Security Module configured to enforce limits on system services. blocks CWE-280
  • V-248596 OL 8 must enable the SELinux targeted policy. blocks CWE-280
Oracle Linux 9 (1 partial rule)
  • V-271452 OL 9 must use a Linux Security Module configured to enforce limits on system services. blocks CWE-280
RHEL 9 (2 partial rules)
  • V-258078 RHEL 9 must use a Linux Security Module configured to enforce limits on system services. blocks CWE-280
  • V-272496 RHEL 9 must elevate the SELinux context when an administrator calls the sudo command. blocks CWE-280

References