CVE-2018-0179 is a memory-handling bug in the Login Block feature of Cisco IOS: repeated failed SSH or Telnet logins reload a router whose quiet-mode access class was configured before login block-for. NVD scores it 5.9, CISA KEV lists it, and Cisco saw attempted exploitation in March 2022. Upgrade, or reorder and reload.
Vulnerability summary
CVSS base score
5.9
Medium severity
EPSS score (FIRST)
4.9%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2018-0179 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Cisco IOS Software with Login Enhancements (login block-for) configured | cpe:2.3:o:cisco:ios:15.4\(2\)t:*:*:*:*:*:*:* | Release 15.4(2)T, 15.4(3)M, 15.4(2)CG and later (Cisco); fixed releases per Cisco bug CSCuy32360. NVD's CPE list names eight IOS builds. IOS XE, IOS XR and NX-OS not affected |
What does this mean for affected devices?
CVE-2018-0179 is one of two denial-of-service bugs in the Login Enhancements (Login Block) feature of Cisco IOS Software, the option that blocks further SSH or Telnet logins for a quiet period after repeated failures. Cisco's advisory cisco-sa-20180328-slogin says the bug (Cisco bug CSCuy32360) "is due to an attempt to free an area of memory that has not been previously allocated" and that an attacker triggers it by "attempting to log in to an affected device via Secure Shell (SSH) or Telnet with invalid credentials multiple times". It is exploitable only if login quiet-mode access-class was configured before login block-for and the device has not been reloaded since. NVD scores it CVSS v3.1 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) and NVD CVSS v2 7.1; Cisco, the CNA, and the CISA ADP entry both give 6.8 with a changed scope. NVD records the CWE as NVD-CWE-noinfo, while Cisco and the KEV entry use CWE-399 (NVD, CVE record).
Which Cisco devices are affected?
Cisco says both Login Block bugs affect devices "running Cisco IOS Software Release 15.4(2)T, 15.4(3)M, or 15.4(2)CG and later", and that IOS XE, IOS XR and NX-OS are not affected. Those are router trains: the advisory's own example is a Cisco 2951 router. The feature is off by default, so only devices with login block-for configured are exposed. NVD's CPE list names eight specific IOS builds, including 15.4(2)T, 15.4(3)M and 15.4(2)CG. The companion bug CSCuz60599 is CVE-2018-0180.
How do I fix it?
Cisco points to the bug ID for the fixed releases; its CSAF file records a vendor fix for both CVEs. For CSCuy32360 Cisco gives a workaround: configure login block-for before login quiet-mode access-class, or reload the device after both are configured. Cisco lists the log lines that show an attempt (failed-login and quiet-mode messages, or a bad chunk reference count in the Secure Login process) and a crashinfo file after the reload. Limit SSH and Telnet to a management network and keep the router's login service off the internet, as our CISA BOD 23-02 guide describes.
Is CVE-2018-0179 exploited?
Yes. 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-0179 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.04935, the 92.27th percentile, in the 2026-11-24 dataset (FIRST EPSS). Our KEV and EPSS prioritization guide explains why a medium CVSS score on a KEV-listed bug still goes to the front of the patch queue. Another exploited reload bug in IOS: the PROFINET flaw CVE-2017-12235.
Evidence
- NVD: Analyzed; Login Block DoS, IOS 15.4(2)T, 15.4(3)M, 15.4(2)CG and later; NVD Primary CVSS v3.1 5.9 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H; NVD Primary CVSS v2 7.1; CISA ADP Secondary 6.8 (S:C); CWE NVD-CWE-noinfo (NVD), CWE-399 (Cisco); 8 IOS CPEs; published 2018-03-28. — NVD
- Cisco cisco-sa-20180328-slogin (v1.1, updated 2022-12-15): CVE-2018-0179 = CSCuy32360, SIR Medium, free of memory not previously allocated; "attempting to log in to an affected device via Secure Shell (SSH) or Telnet with invalid credentials multiple times". It is exploitable only if `login quiet-mode access-class` was configured before `login block-for` and the device has not been reloaded since; IOS XE/XR/NX-OS not affected; workaround only for CSCuy32360; attempted exploitation seen March 2022. — Cisco Security Advisory
- Cisco CSAF: CVE-2018-0179 CVSS 3.0 6.8 AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H, vendor_fix remediation. — Cisco CSAF
- CVE record: PUBLISHED, CNA Cisco; CISA-ADP CVSS v3.1 6.8. — CVE.org
- KEV catalog version 2026.11.24: CVE-2018-0179 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.04935, percentile 0.92268, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Is there a workaround for CVE-2018-0179?
Yes. Cisco says to configure login block-for before login quiet-mode access-class, or to reload the device after both commands are configured; the bug only triggers when quiet-mode was configured first and the device has not been reloaded since. A fixed IOS release removes it for good (per Cisco advisory cisco-sa-20180328-slogin).
Is CVE-2018-0179 exploited in the wild?
Yes. Cisco reported additional attempted exploitation in March 2022, and CISA added CVE-2018-0179 to KEV on 2022-03-03; it is listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.04935, the 92.27th percentile, in the 2026-11-24 dataset (per Cisco, CISA KEV and FIRST EPSS).
How do I find out whether my router is exposed to CVE-2018-0179?
Run show version to read the IOS release (15.4(2)T, 15.4(3)M, 15.4(2)CG and later are in scope) and check the running configuration for login block-for. Cisco lists the fixed releases under bug CSCuy32360 and names log messages and a crashinfo file as signs of an attempt (per Cisco advisory cisco-sa-20180328-slogin).
Does CVE-2018-0179 affect IOS XE or IOS XR?
No. Cisco confirms that the Login Block vulnerabilities do not affect IOS XE, IOS XR or NX-OS Software. Only classic IOS Release 15.4(2)T, 15.4(3)M, 15.4(2)CG and later with login block-for configured is in scope (per Cisco advisory cisco-sa-20180328-slogin).
Questions about this page?