CVE-2020-3118Cisco IOS XR
Remote Code Execution in Cisco IOS XR via Improper Discovery Protocol Validation
High 8.8 KEV No auth neededHigh EPSS
Follow: this CVE · Cisco · Cisco IOS XR We alert you by email or Slack (account required).
- Priority
- 69
- CVSS 3.1
- 8.8
- EPSS
- 11.7% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- In KEV since
- Nov 3, 2021
- CISA deadline
- May 3, 2022
- Ransomware use
- Unknown
- Published
- Feb 5, 2020
- Updated
- Jun 17, 2026
- Category
- Network & edge · Network appliance
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
A vulnerability in Cisco Discovery Protocol implementation for Cisco IOS XR allows an unauthenticated adjacent attacker to execute arbitrary code or cause device reload. The flaw stems from improper input validation in CDP message fields, potentially leading to stack overflow. CISA confirmed active exploitation of this vulnerability.
Show the original NVD text
A vulnerability in the Cisco Discovery Protocol implementation for Cisco IOS XR Software could allow an unauthenticated, adjacent attacker to execute arbitrary code or cause a reload on an affected device. The vulnerability is due to improper validation of string input from certain fields in Cisco Discovery Protocol messages. An attacker could exploit this vulnerability by sending a malicious Cisco Discovery Protocol packet to an affected device. A successful exploit could allow the attacker to cause a stack overflow, which could allow the attacker to execute arbitrary code with administrative privileges on an affected device. Cisco Discovery Protocol is a Layer 2 protocol. To exploit this vulnerability, an attacker must be in the same broadcast domain as the affected device (Layer 2 adjacent).
Exploitation confirmed by CISA
Cisco IOS XR improperly validates string input from certain fields in Cisco Discovery Protocol messages. Exploitation could allow an unauthenticated, adjacent attacker to execute code with administrative privileges or cause a reload on an affected device.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 6.6.12, 7.0.2
Update Cisco IOS XR to version 6.6.12 or later (6.6 branch) or 7.0.2 or later (7.0 branch). Refer to Cisco security advisory for specific instructions.
- Apply the vendor's security update for IOS XR.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 3, 2022.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cisco | ios_xr | ≥ 6.6.0 < 6.6.12 |
| cisco | ios_xr | ≥ 7.0.0 < 7.0.2 |
| cisco | ios_xr | 6.5.3 |
| cisco | ios_xr | 5.2.5 |
| cisco | ios_xr | 6.4.2 |
| cisco | ios_xr | 6.6.25 |
| cisco | ios_xr | 7.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Third Party Advisory VDB Entry
- tools.cisco.com Vendor Advisory
- www.cisa.gov US Government Resource