Security Advisory

CVE-2018-0158: Cisco IOS IKEv2 Memory Leak DoS

Last updated:
  • CVE-2018-0158

CVE-2018-0158 is a memory leak in the IKEv2 code of Cisco IOS and IOS XE. Crafted IKEv2 packets from an unauthenticated remote sender make the device consume memory until it reloads. Any router or switch with ISAKMP enabled is exposed. NVD scores it 8.6; CISA KEV lists it. Upgrade to a fixed release; there is no workaround.

Vulnerability summary

CVSS base score

8.6

High severity

EPSS score (FIRST)

7.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-0158 · Source: NVD

Affected components

ComponentCPEVersion range
Cisco IOS and IOS XE Software with ISAKMP enabledcpe:2.3:o:cisco:ios_xe:15.5\(3\)s1.1:*:*:*:*:*:*:*132 affected releases in Cisco's CSAF (78 IOS, 54 IOS XE); first fixed release per the Cisco IOS Software Checker. NVD's CPE configuration names only 15.5(3)S1.x builds
Rockwell Automation Allen-Bradley Stratix 5400, 5410, 5700, 8000 and ArmorStratix 5700—15.2(6)E0a and earlier; fixed in FRN 15.2(6)E1 or later (ICSA-18-107-04)
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: "A vulnerability in the Internet Key Exchange Version 2 (IKEv2) module of Cisco IOS Software and Cisco IOS XE Software could allow an unauthenticated, remote attacker to cause a memory leak or a reload of an affected device". NVD's Primary score is 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; NVD maps it to CWE-401 (memory leak), while Cisco, the CNA, gives CWE-20. Cisco's advisory and the CISA ADP entry on the CVE record also score it 8.6 (NVD, CVE record). The KEV entry's short description says IKEv1; Cisco's advisory is more precise, see below.

Which Cisco devices are affected?

Cisco's advisory cisco-sa-20180328-ike (bug CSCvf22394, March 2018 bundled publication) covers devices running a vulnerable IOS or IOS XE release "and have the Internet Security Association and Key Management Protocol (ISAKMP) enabled". Only IKEv2 packets trigger the leak, but IKEv2 is enabled automatically with ISAKMP, so "a device configured with IKEv1 or IKEv2 is vulnerable". That takes in LAN-to-LAN and remote-access IPsec VPN, DMVPN, FlexVPN and GET VPN. Open UDP ports 500, 848, 4500 or 4848 in show udp mean the device is processing IKE. Cisco's CSAF file lists 132 affected releases, from IOS 15.2E and 15.5M to IOS XE 3.8E and 16.4. A steadily growing GKM GM Process line in show processes memory is the indicator Cisco gives.

Industrial devices run the same code. CISA's ICSA-18-107-04 lists Allen-Bradley Stratix 5400, 5410, 5700, 8000 and ArmorStratix 5700 switches at 15.2(6)E0a and earlier; Rockwell recommends FRN 15.2(6)E1 or later. ICSA-18-107-03 lists the Stratix 5900 Services Router at 15.6.3M1 and earlier and points to Rockwell knowledge base article 1073313 and Snort rules 46110 and 46111.

How do I fix CVE-2018-0158?

Upgrade to the first fixed release that the Cisco IOS Software Checker returns for your train; Cisco says "there are no workarounds". Keep VPN headends and plant routers behind a firewall that admits IKE only from known peers, as the ICS advisories recommend; our guide to OT/ICS security for small manufacturers covers that segmentation.

Is CVE-2018-0158 exploited?

Yes. Cisco updated the advisory on 2022-12-15: "In March 2022, the Cisco Product Security Incident Response Team (PSIRT) became aware of additional attempted exploitation of this vulnerability in the wild." CISA added CVE-2018-0158 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.0719, the 94.39th percentile, in the 2026-11-24 dataset (FIRST EPSS). Our KEV and EPSS prioritization guide explains why a KEV listing outranks a modest EPSS score. The same Cisco bundle fixed the QoS overflow CVE-2018-0151, also on the Stratix 5900, and the Smart Install flaws CVE-2018-0156 and CVE-2018-0171.

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: IKEv2 module of Cisco IOS and IOS XE, unauthenticated remote memory leak or reload; 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; NVD CWE-401, Cisco CWE-20; CPEs ios and ios_xe 15.5(3)S1.x; bug CSCvf22394; published 2018-03-28; status Analyzed. — NVD
  • Cisco advisory cisco-sa-20180328-ike (v1.1, 2022-12-15): devices with ISAKMP enabled are vulnerable; only IKEv2 packets trigger it but IKEv1 or IKEv2 configurations are both vulnerable; UDP 500, 848, 4500, 4848; no workarounds; GKM GM Process memory growth as indicator; March 2022 additional attempted exploitation; IOS XR and NX-OS not affected. — Cisco Security Advisory
  • Cisco CSAF cisco-sa-20180328-ike: CVSS 3.0 8.6; 132 known affected releases (78 IOS, 54 IOS XE). — Cisco CSAF
  • ICSA-18-107-04: Allen-Bradley Stratix 5400, 5410, 5700, 8000, ArmorStratix 5700 versions 15.2(6)E0a and earlier affected by CVE-2018-0158; Rockwell recommends FRN 15.2(6)E1 or later; Snort rule 46110. — CISA ICS advisory (CSAF)
  • ICSA-18-107-03: Allen-Bradley Stratix 5900 Services Router 15.6.3M1 and earlier affected by CVE-2018-0158 and CVE-2018-0151; Rockwell KB 1073313; Snort rules 46110 and 46111. — CISA ICS advisory (CSAF)
  • CVE record: state PUBLISHED, CNA Cisco, published 2018-03-28; CISA ADP Vulnrichment CVSS v3.1 8.6 (AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H). — CVE.org
  • KEV catalog version 2026.11.24: CVE-2018-0158 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.0719, percentile 0.94387, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories

Sources

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

Frequently asked questions

Is a router that only uses IKEv1 affected by CVE-2018-0158?

Yes. Cisco says only IKEv2 packets trigger the leak, but IKEv2 is enabled automatically when ISAKMP is enabled, so a device configured with IKEv1 or IKEv2 processes the malformed packet. Open UDP 500, 848, 4500 or 4848 ports show IKE is active (per Cisco's cisco-sa-20180328-ike advisory).

Which firmware fixes CVE-2018-0158?

Cisco lists 132 affected IOS and IOS XE releases and gives first fixed releases through the Cisco IOS Software Checker; there is no workaround. For Allen-Bradley Stratix 5400, 5410, 5700, 8000 and ArmorStratix 5700, Rockwell recommends FRN 15.2(6)E1 or later (per Cisco and CISA ICSA-18-107-04).

Is CVE-2018-0158 exploited in the wild?

Yes. Cisco PSIRT saw additional attempted exploitation in March 2022, and CISA added it to KEV on 2022-03-03; it is listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.0719, the 94.39th percentile, in the 2026-11-24 dataset (per Cisco, CISA KEV and FIRST EPSS).

How can I spot CVE-2018-0158 activity on a device?

Cisco gives a memory leak in the GKM GM Process as the indicator: repeated `show processes memory | include GKM GM Process` output with a steadily rising value, and leak entries from Crypto IKE Disp in `show memory debug incremental leaks` (per Cisco cisco-sa-20180328-ike).