CVE-2025-20177
Cisco Ios Xr ≤ 7.11.21
Raw vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HCVSS 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-20177 is a medium-severity Improper Handling of Insufficient Privileges (CWE-274) vulnerability in Cisco Ios Xr. Its CVSS base score is 6.7 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Regsvcs/Regasm (T1218.009); ranked at the 6th 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
- 🇪🇺 ENISA EUVD: EUVD-2025-6451
Vulnerability Data
A vulnerability in the boot process of Cisco IOS XR Software could allow an authenticated, local attacker to bypass Cisco IOS XR image signature verification and load unverified software on an affected device. To exploit this vulnerability, the attacker must…
more
have root-system privileges on the affected device. This vulnerability is due to incomplete validation of files in the boot verification process. An attacker could exploit this vulnerability by manipulating the system configuration options to bypass some of the integrity checks that are performed during the boot process. A successful exploit could allow the attacker to control the boot configuration, which could enable them to bypass the requirement to run Cisco-signed images or alter the security properties of the running system. Note: Because exploitation of this vulnerability could result in the attacker bypassing Cisco image verification, Cisco has raised the Security Impact Rating (SIR) of this advisory from Medium to High.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 5 hardening rules · 3 OS baselines
—
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Always-invoked reference monitor guarantees privilege checks occur and cannot be bypassed or mishandled.
Enforces approved authorizations so insufficient privileges produce a proper denial instead of mishandled failure.
Requires every access request to be decided against current authorizations, preventing ad-hoc privilege handling.
Least-privilege assignment reduces the frequency of operations that encounter insufficient privileges.
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.
Enforcing least-privilege access policies directly prevents improper handling of insufficient privileges.
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.
Privileged-access-rights control directly limits the situations in which insufficient privileges can occur.
A.8.29's combined programme of code review, static analysis, and penetration/dynamic testing reaches most CWE-274 instances: missing or incorrect privilege-error handling is visible in source (un-checked return values from privilege calls, missing error branches) and often surfaces at runtime as crashes or altered execution when the system is exercised without sufficient privileges; the remainder is subtle handling paths that only manifest under specific privilege states and may evade both static rules and black-box testing.
Information-access-restriction mechanisms enforce least-privilege checks that mitigate the weakness at runtime.
Access-rights provisioning and review reduce privilege gaps, yet do not address the software’s failure to handle insufficient privileges gracefully.
Training developers about privilege handling and the consequences of insufficient-privilege states reduces a minority of instances, but the weakness is an implementation defect that requires secure coding practice (A.8.28) and security testing (A.8.29) to reach the bulk of it; training is fallible and sits at the same ceiling as other human-practice clauses on code-level defects.
Secure-coding standards may require proper privilege-error handling, but the control does not guarantee it.
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 9 (2 partial rules)
- V-271452 OL 9 must use a Linux Security Module configured to enforce limits on system services. blocks CWE-274
- V-271640 OL 9 must be configured so that the Network File System (NFS) is configured to use RPCSEC_GSS. blocks CWE-274
RHEL 9 (1 partial rule)
- V-258078 RHEL 9 must use a Linux Security Module configured to enforce limits on system services. blocks CWE-274