Security Advisory

CVE-2018-0151: Cisco IOS QoS UDP 18999 RCE

Last updated:
  • CVE-2018-0151

CVE-2018-0151 is a buffer overflow in the QoS subsystem of Cisco IOS and IOS XE. Crafted packets sent to UDP port 18999 on the device let an unauthenticated remote attacker run code with elevated privileges or reload it. NVD scores it 9.8 and CISA KEV lists it. Upgrade, or drop UDP 18999 with Control Plane Policing.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

14.2%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

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

Affected components

ComponentCPEVersion range
Cisco IOS and IOS XE Software (UDP port 18999 listening)cpe:2.3:o:cisco:ios_xe:16.5.1:*:*:*:*:*:*:*141 affected releases in Cisco's CSAF (74 IOS in 15.5 to 15.7M, 67 IOS XE in 3.14S to 16.6); first fixed release per the Cisco IOS Software Checker. NVD's CPE configuration names only IOS XE 16.5.1
Rockwell Automation Allen-Bradley Stratix 5900 Services Router—15.6.3M1 and earlier (ICSA-18-107-03); Rockwell knowledge base article 1073313

What does this mean for affected devices?

NVD describes it: "The vulnerability is due to incorrect bounds checking of certain values in packets that are destined for UDP port 18999 of an affected device." A successful exploit lets the attacker "execute arbitrary code on the affected device with elevated privileges" or reload it, and "Traffic transiting a device will not trigger the vulnerability." NVD's Primary score is CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and NVD CVSS v2 10.0, with CWE-119 from both NVD and Cisco; Cisco's advisory and the CISA ADP entry also give 9.8 (NVD, CVE record).

Which Cisco devices are affected?

Cisco's advisory cisco-sa-20180328-qos (bug CSCvf73881, found in internal testing) covers devices running a vulnerable IOS or IOS XE release. A device may be affected if show udp (or show ip sockets) shows a listener on local port 18999; the port belongs to the Adaptive QoS for DMVPN feature and "may be open due to the provisioning of this feature on unaffected platforms", so check the release as well. Cisco's CSAF file lists 141 affected releases: IOS 15.5 to 15.7M and IOS XE 3.14S to 16.6. IOS XR and NX-OS are not affected.

On the plant floor, CISA's ICSA-18-107-03 lists the Allen-Bradley Stratix 5900 Services Router at 15.6.3M1 and earlier, with Rockwell knowledge base article 1073313 and Snort rules 46110 and 46111.

How do I fix CVE-2018-0151?

Upgrade to the first fixed release that the Cisco IOS Software Checker returns. Where you do not use Adaptive QoS for DMVPN, Cisco's workaround is a Control Plane Policing policy that drops traffic to UDP port 18999 (with a line that ignores fragments). Some platforms, such as the ASR 900 Series, cannot do this, so they must be upgraded; the ICSA adds that the CoPP policy must come off and the device be upgraded if the feature is enabled later. The bug class is covered in how to fix memory corruption in embedded firmware, and plant-network isolation in OT/ICS security for small manufacturers.

Is CVE-2018-0151 exploited?

CISA says yes. CISA added CVE-2018-0151 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.14197, the 96.65th percentile, in the 2026-11-24 dataset (FIRST EPSS). Cisco's advisory, last revised on 2018-04-27, still says PSIRT "is not aware of any public announcements or malicious use", so the KEV listing is the exploitation evidence here. The same bundle fixed the IKEv2 leak CVE-2018-0158, also on the Stratix 5900; for another Cisco IOS overflow with code execution, see the SNMP flaw CVE-2017-6744.

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.

Evidence

  • NVD: QoS subsystem of Cisco IOS and IOS XE; incorrect bounds checking of values in packets destined for UDP port 18999; arbitrary code with elevated privileges or reload; transit traffic does not trigger; NVD Primary CVSS v3.1 9.8; NVD Primary CVSS v2 10.0; CWE-119 (NVD and Cisco); CPEs ios_xe 16.5.1 and ios_xe -; bug CSCvf73881; published 2018-03-28; status Analyzed. — NVD
  • Cisco advisory cisco-sa-20180328-qos (v1.4, 2018-04-27): show udp port 18999; Adaptive QoS for DMVPN uses UDP 18999; CoPP workaround dropping UDP 18999 for customers not using the feature; ASR 900 Series no workaround; PSIRT not aware of malicious use; found in internal security testing; IOS XR and NX-OS not affected. — Cisco Security Advisory
  • Cisco CSAF cisco-sa-20180328-qos: CVSS 3.0 9.8; 141 known affected releases (74 IOS, 67 IOS XE), trains 15.5M-15.7M and IOS XE 3.14S-16.6. — Cisco CSAF
  • ICSA-18-107-03: Allen-Bradley Stratix 5900 Services Router 15.6.3M1 and earlier affected by CVE-2018-0151; Rockwell KB 1073313; Snort rules 46110 and 46111; CoPP mitigation, and if Adaptive QoS for DMVPN is later configured the device must be upgraded and the CoPP policy removed. — CISA ICS advisory (CSAF)
  • CVE record: state PUBLISHED, CNA Cisco, published 2018-03-28; CISA ADP Vulnrichment CVSS v3.1 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). — CVE.org
  • KEV catalog version 2026.11.24: CVE-2018-0151 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.14197, percentile 0.9665, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Cisco Security Advisory cisco-sa-20180328-qos
  3. Cisco CSAF cisco-sa-20180328-qos
  4. CISA ICSA-18-107-03: Rockwell Automation Stratix Services Router (CSAF)
  5. CVE.org record CVE-2018-0151 (CNA: Cisco)
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

How do I know if a device is exposed to CVE-2018-0151?

Run `show udp` (or `show ip sockets`) and look for a listener on local UDP port 18999, then check the release in the Cisco IOS Software Checker. The port can be open on unaffected platforms because of Adaptive QoS for DMVPN, so the release decides (per Cisco's cisco-sa-20180328-qos advisory).

Is there a workaround for CVE-2018-0151?

If you do not use Adaptive QoS for DMVPN, a Control Plane Policing policy can drop all traffic to UDP port 18999 on the device. Some platforms, such as the Cisco ASR 900 Series, cannot apply it and must be upgraded to a fixed release (per Cisco and CISA ICSA-18-107-03).

Does traffic passing through a router trigger CVE-2018-0151?

No. Cisco states that the malicious packets must be destined to and processed by the affected device; traffic transiting the device does not trigger the overflow. That is why filtering UDP 18999 at the control plane works as a stopgap (per Cisco and NVD).

Is CVE-2018-0151 exploited in the wild?

CISA added it to KEV on 2022-03-03, and it is listed as of 2026-11-25 in catalog version 2026.11.24, although Cisco's 2018 advisory text reports no known malicious use. FIRST EPSS gives 0.14197, the 96.65th percentile, in the 2026-11-24 dataset (per CISA KEV, Cisco and FIRST EPSS).