CVE-2020-3118 in Cisco IOS XR and 37 more products
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).
Affects 38 products from 1 vendor. Description from NVD and MITRE.
Exploitable from adjacent network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Cisco | IOS XR (device and firmware) | 5.2.5 6.4.2 6.5.3 6.6.25 ≥ 6.6.0, < 6.6.12 ≥ 7.0.0, < 7.0.2 |
| Cisco | Asr 9901 | 5.2.5 6.4.2 6.5.3 6.6.25 ≥ 6.6.0, < 6.6.12 ≥ 7.0.0, < 7.0.2 |
| Cisco | Asr 9906 | 5.2.5 6.4.2 6.5.3 6.6.25 ≥ 6.6.0, < 6.6.12 ≥ 7.0.0, < 7.0.2 |
| Cisco | Asr 9910 | 5.2.5 6.4.2 6.5.3 6.6.25 ≥ 6.6.0, < 6.6.12 ≥ 7.0.0, < 7.0.2 |
| Cisco | Ncs 5508 | 5.2.5 6.4.2 6.5.3 6.6.25 ≥ 6.6.0, < 6.6.12 ≥ 7.0.0, < 7.0.2 |
| Cisco | Ncs 5516 | 5.2.5 6.4.2 6.5.3 6.6.25 ≥ 6.6.0, < 6.6.12 ≥ 7.0.0, < 7.0.2 |
| Cisco | Ncs 6000 | 5.2.5 6.4.2 6.5.3 6.6.25 ≥ 6.6.0, < 6.6.12 ≥ 7.0.0, < 7.0.2 |
| Cisco | Xrv 9000 | 5.2.5 6.4.2 6.5.3 6.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C-A | 5.2.5 6.4.2 6.5.3 6.6.25 ≥ 6.6.0, < 6.6.12 ≥ 7.0.0, < 7.0.2 |
| Cisco | Ncs 540X-16Z4G8Q2C-D | 5.2.5 6.4.2 6.5.3 6.6.25 ≥ 6.6.0, < 6.6.12 ≥ 7.0.0, < 7.0.2 |
| Cisco | Ncs 540X-ACC-SYS | 5.2.5 6.4.2 6.5.3 6.6.25 ≥ 6.6.0, < 6.6.12 ≥ 7.0.0, < 7.0.2 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Cisco Asr 9001, Cisco Asr 9006, Cisco Asr 9010, Cisco Asr 9904, Cisco Asr 9912, Cisco Asr 9922, Cisco Asr 9000, Cisco Asr 9000V, Cisco Asr 9903, Cisco Asr 9920, Cisco Ncs 5501, Cisco Ncs 5501-SE, Cisco Ncs 5502, Cisco Ncs 5502-SE, Cisco Crs-X
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2021-11-03 |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2020-3118 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-277943-H |
| CVSS vector | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2020-02-05 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement network segmentation to limit Layer 2 adjacency between critical systems and potential attack vectors. Apply strict access control lists (ACLs) to restrict communication to only necessary protocols and devices.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.