Security Advisory

CVE-2018-0173: Cisco IOS DHCP Relay Reply DoS

Last updated:
  • CVE-2018-0173

CVE-2018-0173 is a relay reply reload bug in the DHCPv4 relay agent of Cisco IOS and IOS XE: crafted DHCP option 82 data reloads a router or switch that relays DHCP and inserts option 82. No login is needed. NVD scores it 8.6, CISA KEV lists it, and CISA names Rockwell Stratix switches. Upgrade the firmware; Cisco lists no workaround.

Vulnerability summary

CVSS base score

8.6

High severity

EPSS score (FIRST)

7.0%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2018-0173 · Source: NVD

Affected components

ComponentCPEVersion range
Cisco IOS and IOS XE Software configured as a DHCPv4 relay agent with option 82 insertioncpe:2.3:o:cisco:ios_xe:denali-16.3.4:*:*:*:*:*:*:*428 IOS and 197 IOS XE releases in Cisco's CSAF (bug CSCvg62754); first fixed release per the Cisco IOS Software Checker. IOS XR and NX-OS not affected
Rockwell Automation Allen-Bradley Stratix 5400, 5410, 5700, 8000 and ArmorStratix 5700 switches—15.2(6)E0a and earlier; fixed in FRN 15.2(6)E1 or later (ICSA-18-107-04)

What does this mean for affected devices?

CVE-2018-0173 is a denial-of-service bug in the Cisco IOS and IOS XE function that restores encapsulated option 82 information in DHCPv4 replies. The software performs incomplete validation of option 82 data "that it receives in DHCPOFFER messages from DHCPv4 servers": a crafted packet sent through the relay comes back in the server's response, and processing it can reload the device. Cisco documents it in cisco-sa-20180328-dhcpr2 (bug CSCvg62754), part of the March 2018 IOS and IOS XE bundled publication. NVD scores it CVSS v3.1 8.6 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H) and NVD CVSS v2 7.8; Cisco and CISA ADP give the same 8.6. NVD and Cisco both map it to CWE-20, improper input validation (NVD, CVE record).

How was it found?

Tenable reported it to Cisco on 2017-11-03 together with two sibling relay bugs, found while researching an earlier IOS DHCP flaw. Its research note TRA-2018-06 explains the root cause at code level: when the relay strips its own option 82 from the server's offer, a client option 82 with an invalid, too-long length makes the size calculation for the clean-up wrap to a very large number and the device faults. Cisco told Tenable that two of the three bugs were new and one had already been fixed for Cisco switches.

Which devices and firmware are affected?

Cisco says a device is affected only when it runs a vulnerable release and an interface is configured as a DHCP relay agent, the device inserts option 82 information, and the DHCP server on the network supports option 82 in the packets it receives and sends. IOS XR and NX-OS are not affected. Cisco's CSAF file lists 625 affected releases: 428 IOS and 197 IOS XE. NVD's CPE configuration names IOS XE Denali 16.3.4 and ranges up to 15.2(6)E0a and 15.2(4a)EA5.

In plants, CISA advisory ICSA-18-107-04 lists Rockwell Automation Allen-Bradley Stratix 5400, 5410, 5700, 8000 and ArmorStratix 5700 switches at 15.2(6)E0a and earlier for this CVE; Rockwell recommends FRN 15.2(6)E1 or later, and the ICSA cites Cisco Snort rule 46119 for detection.

How do I fix CVE-2018-0173?

Upgrade to the first fixed release that the Cisco IOS Software Checker returns, or to the fixed Stratix FRN. Cisco says "there are no workarounds that address this vulnerability". Check every relay with show running-config | include ip helper-address; by Cisco's own criteria, a device that does not insert option 82 is not affected. Keep industrial switches behind segmentation, as our OT security guide for small manufacturers describes, and use the KEV and EPSS prioritization guide to rank it against other network-device flaws.

Is CVE-2018-0173 exploited?

Cisco updated the advisory after it "became aware of additional attempted exploitation of this vulnerability in the wild" in March 2022. CISA added CVE-2018-0173 to the KEV catalog on 2022-03-03 with the required action "Apply updates per vendor instructions." (due 2022-03-17; known ransomware campaign use: Unknown); it is still listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.06986, the 94.23rd percentile, in the 2026-11-24 dataset (FIRST EPSS). The two sibling relay bugs are CVE-2018-0172 and CVE-2018-0174.

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD: Analyzed; DHCP option 82 relay DoS in IOS and IOS XE, unauthenticated remote; NVD Primary CVSS v3.1 8.6 AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H; NVD Primary CVSS v2 7.8; CISA ADP 8.6; CWE-20 (NVD and Cisco); NVD's CPE configuration names IOS XE Denali 16.3.4 and ranges up to 15.2(6)E0a and 15.2(4a)EA5; published 2018-03-28. — NVD
  • Cisco cisco-sa-20180328-dhcpr2 (v1.1, updated 2022-12-15): CSCvg62754; affected when an interface is configured as a DHCP relay agent, the device inserts option 82 information, and the DHCP server on the network supports option 82 in the packets it receives and sends; IOS XR and NX-OS not affected; no workarounds; credit Tenable; attempted exploitation seen March 2022. — Cisco Security Advisory
  • Cisco CSAF: CVE-2018-0173 CVSS 3.0 8.6; 625 known_affected products (428 IOS, 197 IOS XE). — Cisco CSAF
  • Tenable TRA-2018-06: CVE-2018-0172 heap overflow, CVE-2018-0174 and CVE-2018-0173 bad pointer arithmetic in IOS/XE DHCP relay; reported 2017-11-03 while researching CVE-2017-12240; Cisco said two were previously unknown and one known and patched for Cisco Switch. — Tenable Research
  • ICSA-18-107-04: CVE-2018-0173 affects Stratix 5400, 5410, 5700, 8000, ArmorStratix 5700 15.2(6)E0a and earlier; upgrade to FRN 15.2(6)E1 or later; Snort rule 46119. — CISA ICS advisory (CSAF)
  • CVE record: PUBLISHED, CNA Cisco. — CVE.org
  • KEV catalog version 2026.11.24: CVE-2018-0173 dateAdded 2022-03-03, required action 'Apply updates per vendor instructions.', due 2022-03-17, knownRansomwareCampaignUse Unknown; checked 2026-11-25. — CISA KEV
  • EPSS 0.06986, percentile 0.94228, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Cisco Security Advisory cisco-sa-20180328-dhcpr2: Cisco IOS and IOS XE Software DHCP Version 4 Relay Reply Denial of Service Vulnerability
  3. Cisco CSAF cisco-sa-20180328-dhcpr2
  4. Tenable Research TRA-2018-06: Cisco IOS/XE DHCP relay agent vulnerabilities
  5. CISA ICSA-18-107-04: Rockwell Automation Stratix and ArmorStratix Switches (CSAF)
  6. CVE.org record CVE-2018-0173 (CNA: Cisco)
  7. CISA KEV
  8. FIRST EPSS

Frequently asked questions

Which Cisco configuration is exposed to CVE-2018-0173?

Only devices where an interface is configured as a DHCP relay agent, the device inserts option 82 information, and the DHCP server on the network supports option 82 in the packets it receives and sends. Cisco suggests show running-config | include ip helper-address to find relay interfaces. Devices that do not relay DHCP are not affected (per Cisco advisory cisco-sa-20180328-dhcpr2).

Which firmware fixes CVE-2018-0173?

Cisco publishes the first fixed IOS and IOS XE release for each train through the Cisco IOS Software Checker and lists no workaround. For Rockwell Stratix 5400, 5410, 5700, 8000 and ArmorStratix 5700 switches, 15.2(6)E0a and earlier are affected and Rockwell recommends FRN 15.2(6)E1 or later (per Cisco and CISA ICSA-18-107-04).

Who found CVE-2018-0173?

Tenable reported the three DHCP relay bugs CVE-2018-0172, CVE-2018-0173 and CVE-2018-0174 to Cisco together on 2017-11-03 and published research note TRA-2018-06 when Cisco released its advisories on 2018-03-28. Cisco credits Tenable in the advisory (per Tenable and Cisco).

Is CVE-2018-0173 exploited in the wild?

Cisco reported additional attempted exploitation in March 2022, and CISA added CVE-2018-0173 to KEV on 2022-03-03; it is listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.06986, the 94.23rd percentile, in the 2026-11-24 dataset (per Cisco, CISA KEV and FIRST EPSS).