← Vulnerability feed

Vulnerability record · CVE-2018-0158 · published 28 March 2018

CVE-2018-0158: Cisco IOS and IOS XE IKEv2 packet handling memory leak DoS

Cisco · Ios

Cisco IOS and IOS XE mishandle certain IKEv2 packets, causing improper input validation that leaks memory. Repeated crafted packets drive continuous memory consumption until the device reloads, producing a denial of service. The flaw is remotely reachable without authentication, so any internet-exposed IKEv2 endpoint is at risk.

8.6 CVSS 3.1 High CISA KEV since 3 Mar 2022 EPSS 7.2% · top 5.6% CWE-20 · Improper input validationCWE-401 · Memory leak
8.6CVSS 3.1 base score, v2 7.8
7.2%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
2Affected product versions listed by NVD
11References
17 Jun 2026Last modified by NVD

Description

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 that leads to a denial of service (DoS) condition. The vulnerability is due to incorrect processing of certain IKEv2 packets. An attacker could exploit this vulnerability by sending crafted IKEv2 packets to an affected device to be processed. A successful exploit could cause an affected device to continuously consume memory and eventually reload, resulting in a DoS condition. Cisco Bug IDs: CSCvf22394.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityUnauthenticated remote denial of service with a CVSS of 8.6 and confirmed inclusion in CISA's KEV catalog, though no ransomware use is documented.

What it is

Cisco IOS and IOS XE mishandle certain IKEv2 packets, causing improper input validation that leaks memory. Repeated crafted packets drive continuous memory consumption until the device reloads, producing a denial of service. The flaw is remotely reachable without authentication, so any internet-exposed IKEv2 endpoint is at risk.

Impact

An unauthenticated remote attacker can exhaust device memory and force a reload, taking the affected router or switch offline. No data confidentiality or integrity loss is described; the gain is purely availability disruption.

Attack surface

Reached over the network via the IKEv2 service (UDP 500/4500) on affected devices; the CVSS vector shows no privileges and no user interaction required. Any device with IKEv2 enabled and reachable from untrusted networks is exposed.

Exploitation

CVE-2018-0158 is listed in CISA's Known Exploited Vulnerabilities catalog (added 2022-03-03), indicating real-world exploitation, and EPSS gives a 30-day probability of about 7.2 percent (94th percentile). No public exploit code or ransomware use is documented in this record.

What to do

  • Apply the Cisco IOS/IOS XE updates referenced in Cisco advisory cisco-sa-20180328-ike; this is the required KEV action.
  • If patching cannot be done immediately, restrict IKEv2 (UDP 500/4500) to trusted peers with ACLs or infrastructure access lists.
  • Disable IKEv2 on devices that do not need it.
  • Monitor device memory and reload events on IKEv2-enabled systems for signs of the leak.
  • Track the KEV due date (2022-03-17) and confirm remediation status for all affected devices.

Detection

  • Alert on sustained memory growth or unexpected reloads on IKEv2-enabled Cisco IOS/IOS XE devices.
  • Log and review IKEv2 packet rates and malformed IKEv2 traffic from untrusted sources.
  • Correlate device syslog reload or crash messages with IKEv2 activity in the preceding window.
  • Inventory IKEv2-exposed devices and verify they are patched against the Cisco advisory.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2018-0158 to the Known Exploited Vulnerabilities catalog on 3 March 2022 as "Cisco IOS and XE Software Internet Key Exchange Memory Leak Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 17 March 2022.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://www.securityfocus.com/bid/103566 Broken LinkThird Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1040595 Broken LinkThird Party AdvisoryVDB Entry
https://ics-cert.us-cert.gov/advisories/ICSA-18-107-03 Third Party AdvisoryUS Government ResourceVDB Entry
https://ics-cert.us-cert.gov/advisories/ICSA-18-107-04 Third Party AdvisoryUS Government ResourceVDB Entry
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180328-ike Vendor Advisory
http://www.securityfocus.com/bid/103566 Broken LinkThird Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1040595 Broken LinkThird Party AdvisoryVDB Entry
https://ics-cert.us-cert.gov/advisories/ICSA-18-107-03 Third Party AdvisoryUS Government ResourceVDB Entry
https://ics-cert.us-cert.gov/advisories/ICSA-18-107-04 Third Party AdvisoryUS Government ResourceVDB Entry
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180328-ike Vendor Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-0158 US Government Resource

Track CVE-2018-0158 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2002-1357Cisco ios memory buffer overflow vulnerabilityMultiple SSH2 servers and clients do not properly handle packets or data elements with incorrect length specifiers, which may allow remote attackers …EPSS 9.8%10.0CVE-2002-1358Cisco ios improper input validation vulnerabilityMultiple SSH2 servers and clients do not properly handle lists with empty elements or strings, which may allow remote attackers to cause a denial of …EPSS 5.8%10.0CVE-2002-1359SSH2 implementations mishandle large packets, enabling DoS and possible code executionMultiple SSH2 servers and clients fail to properly handle large packets or large fields, leading to buffer overflow conditions. The flaw was demonstr…EPSS 80%analysed10.0CVE-2002-1360Cisco ios improper input validation vulnerabilityMultiple SSH2 servers and clients do not properly handle strings with null characters in them when the string length is specified by a length field, …EPSS 6.1%10.0CVE-1999-0775Cisco ios vulnerabilityCisco Gigabit Switch routers running IOS allow remote attackers to forward unauthorized packets due to improper handling of the "established" keyword…EPSS 3.2%9.3CVE-2003-1398Cisco ios information exposure vulnerabilityCisco IOS 12.0 through 12.2, when IP routing is disabled, accepts false ICMP redirect messages, which allows remote attackers to cause a denial of se…EPSS 1.8%9.3CVE-2001-0537Cisco IOS HTTP server authentication bypass via URL access levelThe HTTP server in Cisco IOS 11.3 through 12.2 fails to properly enforce local authorization, letting a remote attacker bypass authentication by spec…EPSS 68%analysed7.8CVE-2014-2108Cisco ios improper input validation vulnerabilityCisco IOS 12.2 and 15.0 through 15.3 and IOS XE 3.2 through 3.7 before 3.7.5S and 3.8 through 3.10 before 3.10.1S allow remote attackers to cause a d…EPSS 2.2%

Source: NIST National Vulnerability Database (record CVE-2018-0158), CISA KEV, FIRST EPSS (scores of 2026-12-02). This page is refreshed as NVD updates the record.