# CVE-2020-3118: Cisco IOS XR Software Cisco Discovery Protocol Format String Vulnerability

- Severity: High 8.8 (CVSS:3.0, scored by cisco) `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: yes. In CISA's catalogue since 2021-11-03. Apply updates per vendor instructions.
- Likelihood of exploitation in the next 30 days (EPSS): 11.7%, higher than 96% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-02-05T17:40:16.080Z
- Modified: 2026-06-17T03:17:23.013Z
- Weaknesses: CWE-134, CWE-787
- SSVC (CISA-ADP): exploitation active, automatable no, technical impact total
- Assigned by: cisco

## Description

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).

(As written by CVE List.)

## Affected

- Cisco Cisco IOS XR Software: from unspecified before 6.6.3
- cisco ios_xr: from 6.6.0 before 6.6.12; from 7.0.0 before 7.0.2; 6.5.3; 5.2.5; 6.4.2; 6.6.25; 7.0.1
- Cisco IOS XR: no versions given

## Every score

- cisco: CVSS:3.0 8.8 High `CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 8.3 High `AV:A/AC:L/Au:N/C:C/I:C/A:C`

## References

- <http://packetstormsecurity.com/files/156203/Cisco-Discovery-Protocol-CDP-Remote-Device-Takeover.html> (exploit, 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> (government-resource, us-government-resource)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-3118> (kev)

## Sources

- CVE List: [CVE-2020-3118](https://www.cve.org/CVERecord?id=CVE-2020-3118), CVE Terms of Use, modified 2025-10-21
- NVD: [CVE-2020-3118](https://nvd.nist.gov/vuln/detail/CVE-2020-3118), Public domain, modified 2026-06-17
- CISA KEV: [CVE-2020-3118](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2020-3118), CC0-1.0, modified 2021-11-03

---

Page: https://cve.day/CVE-2020-3118 · Whole record: https://cve.day/CVE-2020-3118.json · Rebuilt by cve.day 2026-11-25T22:57:50.760Z
