Home / Cisco / Cisco IOS XR Software / CVE-2020-3118
CVE-2020-3118: is it exploited, and which versions of Cisco IOS XR Software are affected and fixed?
CVE-2020-3118 is a format string flaw vulnerability in Cisco IOS XR Software, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on November 3, 2021, with a federal due date of May 3, 2022. Affected: Cisco IOS XR Software before 6.6.3 (CVE record by cisco). Fixed in 6.6.3 (CVE record by cisco). Severity: High (8.8, CVSS 3.0, from cisco).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 28, 2026, 16:16 UTC and NVD November 19, 2026, 08:16 UTC.
What is CVE-2020-3118?
Cisco IOS XR Software Cisco 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).
From the CVE record by cisco, last updated October 21, 2025, 23:35 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Cisco | Cisco IOS XR Software | before 6.6.3 | 6.6.3 |
As the CVE record by cisco states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cisco | ios xr | from 6.6.0 before 6.6.12 | operating system |
| cisco | ios xr | from 7.0.0 before 7.0.2 | operating system |
| cisco | ios xr | 6.5.3 | operating system |
| cisco | ios xr | 5.2.5 | operating system |
| cisco | ios xr | 6.4.2 | operating system |
| cisco | ios xr | 6.6.25 | operating system |
| cisco | ios xr | 7.0.1 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 03:17 UTC.
How severe is CVE-2020-3118?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.0 | CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | cisco |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 8.3 | CVSS 2.0 | AV:A/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-3118 exploited in the wild?
- CISA KEV
- Listed as Cisco IOS XR Software Discovery Protocol Format String Vulnerability, added November 3, 2021; federal agencies must act by May 3, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- 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.
- CISA SSVC
- Exploitation: active; automatable: no; technical impact: total (CISA ADP, November 8, 2024)
- EPSS
- 11.7% probability of exploitation activity in the next 30 days, percentile 96.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- 20200205 Cisco IOS XR Software Cisco Discovery Protocol Format String Vulnerability vendor-advisory, x_refsource_CISCO
- http://packetstormsecurity.com/files/156203/Cisco-Discovery-Protocol-CDP-Remote-Device-Takeover.html x_refsource_MISC
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-3118 government-resource
When was it published, and where is the official record?
- Reserved
- December 12, 2019
- Published
- February 5, 2020, 17:40 UTC
- CVE record updated
- October 21, 2025, 23:35 UTC by cisco
- NVD
- Analyzed, last modified June 17, 2026, 03:17 UTC
- Last checked
- CVE list November 28, 2026, 16:16 UTC; NVD November 19, 2026, 08:16 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Cisco IOS XR Software?
- May 26, 2022CVE-2022-20821 Cisco IOS XR Software: information disclosure exploited
- Sep 23, 2020CVE-2020-3569 Cisco IOS XR Software: denial of service (uncontrolled resource consumption) exploited
- Aug 29, 2020CVE-2020-3566 Cisco IOS XR Software: denial of service (uncontrolled resource consumption) exploited
- Oct 21, 2026CVE-2026-76505 Cisco IOS XR Software: improper input validation
- Sep 2, 2026CVE-2026-20278 Cisco IOS XR Software: improper Neutralization
- Sep 2, 2026CVE-2026-20280 Cisco IOS XR Software: improper Check or Handling of Exceptional Conditions
- Sep 2, 2026CVE-2026-20279 Cisco IOS XR Software: improper access control
- Sep 2, 2026CVE-2026-20275 Cisco IOS XR Software: incorrect calculation
Every CVE in Cisco IOS XR Software
Questions about CVE-2020-3118
Is CVE-2020-3118 exploited in the wild?
Yes. CISA added CVE-2020-3118 to its Known Exploited Vulnerabilities catalog on November 3, 2021 and set federal agencies a due date of May 3, 2022. FIRST's EPSS gives it a 11.7% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Cisco IOS XR Software are affected by CVE-2020-3118?
Cisco IOS XR Software before 6.6.3, per the CVE record by cisco. The tables above give every range the sources list.
Which version fixes CVE-2020-3118?
6.6.3, per the CVE record by cisco. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-3118?
High (8.8, CVSS 3.0, from cisco). The severity table above shows each score with its source.
Where is the official record of CVE-2020-3118?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.