Skip to content
Server Security Center
KEVhigh8.8

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

Cisco IOS XR · listed in the CISA catalog of actively exploited vulnerabilities since 2021-11-03.

CVSS v3.0 (CVE record)
8.8
high
EPSS (exploit probability, 30 days)
12%
higher than 96.1% of all CVEs
Added to CISA KEV
2021-11-03
US federal due date 2022-05-03
Automatable (CISA SSVC)
no
technical impact: total

CVE-2020-3118 explained

CVE-2020-3118 is a format string vulnerability in the Cisco Discovery Protocol implementation of Cisco IOS XR Software. Improper validation of string input in certain protocol message fields can let an unauthenticated, Layer 2 adjacent attacker execute arbitrary code with administrative privileges or reload the device. CISA lists it as known to be exploited.

Impact

An attacker in the same broadcast domain can send a malicious Cisco Discovery Protocol packet to cause a stack overflow. This can lead to arbitrary code execution with administrative privileges or a device reload. No authentication or user interaction is needed. CISA rates the technical impact as total, meaning full control of the device. CISA rates it as not automatable, and it requires Layer 2 adjacency.

Who is affected

The CVE record lists Cisco IOS XR Software versions before 6.6.3 as affected. The fix is in version 6.6.3. Only devices running Cisco IOS XR Software with Cisco Discovery Protocol are covered by this description. Check the Cisco advisory for details on specific platforms and release trains.

Written with AI from the data on this page and checked against it automatically.

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

CISA required action: Apply updates per vendor instructions.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Cisco IOS XR Software
    Affected
    • < 6.6.3
    Fixed in
    • 6.6.3

How to fix it

What to do

  1. Upgrade Cisco IOS XR Software to 6.6.3 or a later release that includes the fix, following the Cisco advisory.
  2. Where Cisco Discovery Protocol is not needed, disable it on interfaces, as the vendor advisory may describe.
  3. Limit Layer 2 adjacency: restrict untrusted hosts from sharing broadcast domains with affected devices.
  4. Check affected devices for unexpected reloads or configuration changes that could indicate compromise.
  5. U.S. federal agencies must apply updates per vendor instructions by the CISA due date of 2022-05-03.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-134

Questions about CVE-2020-3118

Can this be exploited remotely over the internet?
No. Cisco Discovery Protocol is a Layer 2 protocol, so the attacker must be in the same broadcast domain as the affected device. No authentication is required, though.
Is this vulnerability being exploited?
Yes. CISA added CVE-2020-3118 to its Known Exploited Vulnerabilities catalog on 2021-11-03. Whether it has been used in ransomware campaigns is listed as unknown.
Which version fixes it?
The CVE record names Cisco IOS XR Software 6.6.3 as the fixed version. Versions before 6.6.3 are affected.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.