CVE-2020-3118: Cisco IOS XR Software Cisco Discovery Protocol Format String Vulnerability
CVE-2020-3118 affects 124 listed versions of Cisco IOS XR in the Dawnsentry catalogue. It is known to be exploited in the wild.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Cisco IOS XR
124 of 250 listed versions are affected. Fixed in 7.0.2, 6.6.12, 6.6.3. The newest release, 26.3.1, is not affected.
7.0.1 7.0.0 6.6.25 6.6.11 6.6.4 6.6.3 6.6.2 6.6.1 6.6.0 6.5.353 6.5.352 6.5.351 6.5.93 6.5.92 6.5.90 6.5.36 6.5.35 6.5.33 6.5.32 6.5.31 6.5.29 6.5.28 6.5.26 6.5.25 6.4.9999 6.4.3 6.4.2 6.4.1_base 6.4.1 6.4.0 6.3.15 6.3.3_base 6.3.3 6.3.2 6.3.1 6.3.0 6.2.25 6.2.11 6.2.9 6.2.8 6.2.3.base 6.2.3 6.2.2 6.2.1 6.2.0 6.1.42 6.1.36 6.1.32 6.1.22 6.1.12 6.1.4.base 6.1.4 6.1.3 6.1.2 6.1.1 6.1.0 6.0.4.base 6.0.2.01 6.0.2.base 6.0.2 and 64 more
What it is
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).
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by Cisco on 5 February 2020. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2020-3118 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.