What is LLDP on Cisco IOS/IOS XE/IOS XR?
Link Layer Discovery Protocol (LLDP) lets network devices automatically advertise their identity and capabilities to directly connected neighbors, supporting automatic topology discovery in management tools. It is processed by the device's control-plane software on every LLDP-enabled interface and is often enabled by default across Cisco's IOS product families.
Overview
CVE-2018-0175 is a high-severity format string vulnerability in the LLDP subsystem shared across Cisco IOS, IOS XE, and IOS XR Software. An unauthenticated attacker on an adjacent network segment can send a crafted LLDP frame containing attacker-controlled format-string sequences, which the device passes to a formatting function without proper sanitization, resulting in a denial-of-service condition or, more seriously, arbitrary code execution with elevated privileges. Unlike its companion buffer overflow CVE-2018-0167, this bug's CVSS vector notes user interaction is required, suggesting a somewhat narrower triggering condition.
Technical Details
The flaw is classified under CWE-119 (memory buffer bounds) in this catalog's records, though format string bugs are technically a distinct pattern (commonly CWE-134) where attacker-supplied input is passed directly as, or embedded within, a format specifier string to a function like a C-style printf variant. When that happens, format specifiers embedded in the attacker's data (e.g., %x, %n) can be used to read or write arbitrary memory locations, which is a far more powerful primitive than a typical buffer overflow and can lead directly to code execution.
Discovery
Cisco identified and fixed the issue internally, releasing it as part of the March 2018 semiannual IOS/IOS XE/IOS XR security advisory bundle alongside the related LLDP buffer overflow vulnerability, CVE-2018-0167.
Exploitation Context
CISA's KEV catalog listing confirms real-world exploitation of this vulnerability. As with other LLDP-related flaws from this disclosure batch, exploitation requires an attacker to have reached an adjacent network segment first — typically via a prior foothold on the same VLAN or physical segment — after which this bug offers a path to elevated code execution on core switching or routing infrastructure rather than just the originally compromised endpoint.
Remediation
- Identify Cisco IOS, IOS XE, and IOS XR devices with LLDP enabled and confirm their current software version.
- Apply the Cisco-published fixed software release from the corresponding security advisory.
- Disable LLDP on interfaces facing untrusted or lower-trust segments where automatic neighbor discovery is not required.
- Segment untrusted devices away from core network infrastructure to limit adjacent-network attack opportunities.
- Monitor for unexpected crashes or anomalous behavior on LLDP-enabled interfaces, which could indicate exploitation attempts.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2018-0175 |
| Vendor / Product | Cisco — IOS, XR, and XE Software |
| NVD Published | 2018-03-28 |
| NVD Last Modified | 2026-01-14 |
| CVSS 3.1 Score | 8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Severity | HIGH |
| CWE | CWE-119 find similar ↗ |
| CISA KEV Added | 2022-03-03 |
| CISA KEV Deadline | 2022-03-17 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2018-03-28 | Cisco published a security advisory as part of its semiannual IOS/IOS XE/IOS XR bundle and released fixed software |
| 2022-03-03 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-03-17 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2018-0175 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |