Security Resilience

CVE-2020-3118

Memory Safety in Cisco Ios Xr 6.6.0 – 6.6.12

CISA KEVActive ExploitationEUVD ExploitedPublic PoCMemory Safety
Published
05 February 2020
Modified
28 October 2025
KEV Added
03 November 2021
Patch / advisory
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.12 96th percentile
Risk Priority 90 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2020-3118 is a high-severity Use of Externally-Controlled Format String (CWE-134) vulnerability in Cisco Ios Xr. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique LSASS Memory (T1003.001); ranked in the top 4% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

A vulnerability in the Cisco Discovery Protocol implementation within Cisco IOS XR Software stems from improper validation of string input in certain CDP message fields. This flaw, tracked under CWE-134 and CWE-787, can trigger a stack overflow when processing crafted packets. The affected component is the Layer 2 CDP handler on IOS XR devices, which runs with elevated privileges.

An unauthenticated attacker positioned on the same broadcast domain can exploit the issue by transmitting a single malicious CDP packet to an adjacent device. Successful exploitation yields arbitrary code execution with administrative rights or triggers a device reload, corresponding to the CVSS 8.8 vector AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

The Cisco Security Advisory cisco-sa-20200205-iosxr-cdp-rce details the flaw and available fixes, while the CISA Known Exploited Vulnerabilities catalog lists CVE-2020-3118 as actively used in the wild. Public exploit code has also appeared on Packet Storm.

EU & UK References

Vulnerability Data

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…

more

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

CWE(s)
KEV Date Added
03 November 2021

Related Threats

Threat-Actor AttributionAI

Microsoft Corp. (Salesforce / Slack engineer recruitment claims)
Potential for China Cyber Response to Heightened U.S.–China Tensions | CISA
APT1 (G0006)
Potential for China Cyber Response to Heightened U.S.–China Tensions | CISA
Deep Panda (G0009)
Potential for China Cyber Response to Heightened U.S.–China Tensions | CISA
APT3 (G0022)
Potential for China Cyber Response to Heightened U.S.–China Tensions | CISA
Winnti Group (G0044)
Potential for China Cyber Response to Heightened U.S.–China Tensions | CISA
menuPass (G0045)
Potential for China Cyber Response to Heightened U.S.–China Tensions | CISA
Leviathan (G0065)
Potential for China Cyber Response to Heightened U.S.–China Tensions | CISA
APT19 (G0073)
Potential for China Cyber Response to Heightened U.S.–China Tensions | CISA
APT41 (G0096)
Potential for China Cyber Response to Heightened U.S.–China Tensions | CISA
AnonOps
Potential for China Cyber Response to Heightened U.S.–China Tensions | CISA

MITRE ATT&CK Enterprise Techniques

T1003.001 LSASS Memory Credential Access
Adversaries may attempt to access credential material stored in the process memory of the Local Security Authority Subsystem Service (LSASS).
T1003.002 Security Account Manager Credential Access
Adversaries may attempt to extract credential material from the Security Account Manager (SAM) database either through in-memory techniques or through the Windows Registry where the SAM database is stored.
T1003.004 LSA Secrets Credential Access
Adversaries with SYSTEM access to a host may attempt to access Local Security Authority (LSA) secrets, which can contain a variety of different credential materials, such as credentials for service accounts.
T1003.007 Proc Filesystem Credential Access
Adversaries may gather credentials from the proc filesystem or `/proc`.
T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-20109Same vendor: Ciscoboth on KEV
CVE-2022-20701Same vendor: Ciscoboth on KEV
CVE-2018-0171Same vendor: Ciscoboth on KEV
CVE-2022-20700Same vendor: Ciscoboth on KEV
CVE-2018-0172Same vendor: Ciscoboth on KEV
CVE-2024-20376Same vendor: Cisco
CVE-2023-20213Same vendor: Cisco
CVE-2024-20357Same vendor: Cisco
CVE-2023-31488Same vendor: Cisco
CVE-2024-20501Same vendor: Cisco

Affected Assets

cisco
ios xr
5.2.5, 6.4.2, 6.5.3, 6.6.25, 7.0.1 · 6.6.0 — 6.6.12 · 7.0.0 — 7.0.2

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-787

Out-of-bounds writes that corrupt control flow or inject shellcode are rendered non-executable by the same memory protections.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

ID.RA-01 partial match
blocks

Vulnerability identification can discover existing format-string flaws but does not prevent their introduction.

PR.PS-02 partial match
blocks

Patching or replacing vulnerable software directly eliminates known instances of this coding weakness.

PR.PS-06 partial match
blocks

Secure SDLC practices directly prevent external format strings via code review, static analysis, and safe APIs.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

removes
removes
removes
removes
removes

References