CVE-2020-3118
HIGH 8.8CVSS 3.1known exploitedCisco IOS XR Software Discovery Protocol Format String Vulnerability
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).
- Published
- 5 Feb 2020
- Last modified
- 17 Jun 2026
- Assigned by
- psirt@cisco.com
- NVD status
- Analyzed
- Weakness
- CWE-134CWE-787
- Sources
- NVDJSONCISA KEVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | psirt@cisco.com (Secondary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 8.3 | AV:A/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cisco | ios_xrcpe:2.3:o:cisco:ios_xr:*:*:*:*:*:*:*:* |
>= 6.6.0, < 6.6.12 | 6.6.12 |
| NVD | cisco | ios_xrcpe:2.3:o:cisco:ios_xr:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.0.2 | 7.0.2 |
| NVD | cisco | ios_xrcpe:2.3:o:cisco:ios_xr:6.5.3:*:*:*:*:*:*:* |
= 6.5.3 | |
| NVD | cisco | ios_xrcpe:2.3:o:cisco:ios_xr:5.2.5:*:*:*:*:*:*:* |
= 5.2.5 | |
| NVD | cisco | ios_xrcpe:2.3:o:cisco:ios_xr:6.4.2:*:*:*:*:*:*:* |
= 6.4.2 | |
| NVD | cisco | ios_xrcpe:2.3:o:cisco:ios_xr:6.6.25:*:*:*:*:*:*:* |
= 6.6.25 | |
| NVD | cisco | ios_xrcpe:2.3:o:cisco:ios_xr:7.0.1:*:*:*:*:*:*:* |
= 7.0.1 |
References
- http://packetstormsecurity.com/files/156203/Cisco-Discovery-Protocol-CDP-Remote-Device-Takeover.html · Third Party Advisory, VDB Entry
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20200205-iosxr-cdp-rce · Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-3118 · US Government Resource
- https://nvd.nist.gov/vuln/detail/CVE-2020-3118
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 5 Feb 2020)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 3 Nov 2021)
- 3 Nov 2021 00:00 UTC · Listed as known exploited