What is Cisco IOS/IOS XE's QoS Subsystem?
Cisco IOS and IOS XE Software are the operating systems that run on the vast majority of Cisco's enterprise and service-provider routers and switches. The Quality of Service (QoS) subsystem classifies, prioritizes, and shapes traffic flowing through a device — a feature that, on many platforms, must inspect packets at a low level in the forwarding path in order to apply policy, which makes bugs in its packet-parsing code especially dangerous.
Overview
CVE-2018-0151 is a critical vulnerability in the QoS subsystem of Cisco IOS and IOS XE Software that allows an unauthenticated, remote attacker to send specially crafted UDP packets to a device configured for QoS on a specific interface, resulting in either a denial-of-service reload or, in some conditions, arbitrary code execution with elevated privileges. It was disclosed alongside a large batch of other Cisco IOS/IOS XE advisories in a single semiannual bundled release, several of which were later added to the KEV catalog together.
Technical Details
The flaw is a buffer overflow (CWE-119, improper restriction of operations within a memory buffer) in how the QoS packet-processing code handles crafted UDP traffic. Because QoS classification typically occurs early in the packet-forwarding pipeline, an attacker does not need any credentials or an established session — a single malformed packet reaching an interface with QoS enabled is sufficient to corrupt memory and potentially hijack control flow, in addition to the more easily achieved device crash/reload outcome.
Discovery
Cisco identified and fixed the vulnerability through its own internal testing and PSIRT process as part of the March 2018 semiannual IOS/IOS XE security advisory bundle.
Exploitation Context
This CVE's inclusion in the CISA KEV catalog confirms it has been exploited in the wild. Buffer overflow vulnerabilities in core IOS packet-handling code are particularly attractive to sophisticated actors targeting network infrastructure, since routers and switches sit at chokepoints ideal for traffic interception, and the 2018 Cisco IOS advisory bundle overall was associated with broader nation-state interest in exploiting unpatched network devices that year.
Remediation
- Identify all Cisco IOS and IOS XE devices with QoS configured on any interface.
- Apply the fixed software release identified in the corresponding Cisco security advisory.
- Where immediate patching isn't possible, use infrastructure access control lists (iACLs) to restrict which sources can reach QoS-enabled interfaces.
- Monitor for unexpected device reloads, which may indicate exploitation attempts even where full code execution did not succeed.
- Disable QoS classification on interfaces where it is not operationally required, reducing the exposed attack surface.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2018-0151 |
| Vendor / Product | Cisco — IOS and IOS XE Software |
| NVD Published | 2018-03-28 |
| NVD Last Modified | 2026-01-13 |
| CVSS 3.1 Score | 9.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Severity | CRITICAL |
| 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 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-0151 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |