Security Advisory

CVE-2004-1464: Cisco IOS Telnet VTY Lockout DoS

Last updated:
  • CVE-2004-1464

CVE-2004-1464 is a denial-of-service flaw in Cisco IOS remote management: one crafted TCP connection to the Telnet or reverse Telnet port stops the device from accepting new Telnet, SSH, RSH and similar sessions until the connection is cleared or the device reloads. NVD scores it 5.9 and CISA KEV lists it. Upgrade to a repaired release and restrict VTY access.

Vulnerability summary

CVSS base score

5.9

Medium severity

EPSS score (FIRST)

4.8%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2004-1464 · Source: NVD

Affected components

ComponentCPEVersion range
Cisco IOS Software on devices that accept Telnet or reverse Telnetcpe:2.3:o:cisco:ios:*:*:*:*:*:*:*:*NVD CPE: up to and including 12.2(15)ZJ3; Cisco: trains 9.x, 10.x, 11.x and 12.x, with repaired releases per train (for example 12.1(26), 12.2(27), 12.3(12)) in cisco-sa-20040827-telnet

What does this mean for affected devices?

NVD describes CVE-2004-1464 as a flaw that "allows remote attackers to cause a denial of service (refused VTY (virtual terminal) connections), via a crafted TCP connection to the Telnet or reverse Telnet port" of Cisco IOS 12.2(15) and earlier. NVD's Primary score is CVSS v3.1 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H), with NVD CVSS v2 5.0, and its CWE is CWE-400, uncontrolled resource consumption. The record was published by MITRE in 2005 (NVD, CVE record).

What does the attack do to a Cisco device?

Cisco's advisory cisco-sa-20040827-telnet, bug CSCef46191, explains that Telnet, reverse Telnet, RSH, SSH, SCP, DLSw, protocol translation and the version 1.0 HTTP server all run on VTY lines. After the crafted connection to TCP port 23 or to a reverse Telnet port (2001-2999, 3001-3099, 6001-6999 or 7001-7099, used when the router acts as a console server for other equipment), the device "can no longer accept any subsequent VTY connections". Sessions already open keep working, and routing protocols, TACACS/RADIUS, voice and packet forwarding are not affected. The attack needs a complete TCP three-way handshake, so the source address is hard to spoof. Cisco says all devices that permit Telnet or reverse Telnet access are affected and lists IOS trains 9.x, 10.x, 11.x and 12.x; IOS 12.2(15)T and later ship HTTP server 1.1, which is not affected. CERT/CC VU#384230 adds that there were reports of active exploitation and that the hung connection must be cleared or the device reloaded to regain access.

How do I fix CVE-2004-1464?

Cisco published repaired releases for each affected train in 2004, for example 12.1(26), 12.2(27) and 12.3(12) for the mainline trains; any train without a listed fix should be treated as vulnerable. Its workarounds are still good practice: enable SSH and set transport input ssh on the VTY lines (Cisco notes the device stays exposed until Telnet is disabled), apply a VTY access-class that permits only trusted management hosts, including on the aux and terminal lines of console servers, and filter management ports with infrastructure or receive-path ACLs. A hung line can be found with who and cleared with clear tcp line vty <n> from an existing session or the console. Keeping management off the internet is the theme of our BOD 23-02 guide to exposed management interfaces. Another exploited Cisco IOS Telnet flaw is the Cluster Management Protocol bug CVE-2017-3881.

Is CVE-2004-1464 exploited?

Yes. Cisco's advisory states "The Cisco PSIRT is aware of exploitation of this vulnerability". CISA added CVE-2004-1464 to the KEV catalog on 2023-05-19 with the action "Apply updates per vendor instructions." (due 2023-06-09; known ransomware campaign use: Unknown); it is still listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.04801, the 92.08th percentile, in the 2026-11-24 dataset (FIRST EPSS). How such old KEV entries rank against new ones is covered in KEV and EPSS prioritization.

How to fix this class of issueThis advisory's weakness class is Resource exhaustion. Our practical guide covers how to detect, fix, verify and disclose it: How to fix SQL injection, XSS, resource exhaustion and deserialization flaws in embedded firmware.

Evidence

  • NVD: Analyzed; Cisco IOS 12.2(15) and earlier, refused VTY connections via crafted TCP connection to Telnet or reverse Telnet port; NVD Primary CVSS v3.1 5.9 AV:N/AC:H/A:H, NVD Primary CVSS v2 5.0; CISA ADP 5.9; CWE-400 (NVD Primary); CPE ios up to and including 12.2(15)zj3; read 2026-11-25. — NVD
  • Cisco advisory (2004-08-27): bug CSCef46191; VTY-based services Telnet, reverse Telnet, RSH, SSH, SCP, DLSw, protocol translation, HTTP 1.0 server blocked; reverse Telnet port ranges; existing sessions and routing/forwarding unaffected; 3-way handshake required; trains 9.x-12.x affected; 12.2(15)T+ HTTP 1.1 unaffected; repaired releases per train incl. 12.1(26), 12.2(27), 12.3(12); workarounds SSH + transport input ssh, VTY access-class, iACL/receive ACLs, who / clear tcp line vty; PSIRT aware of exploitation. — Cisco Security Advisory cisco-sa-20040827-telnet
  • CERT/CC VU#384230: Cisco IOS remote management DoS via telnet (23/tcp) and reverse telnet ports; reports of active exploitation; TCP connection must be cleared or device reloaded. — CERT/CC
  • KEV catalog 2026.11.24: dateAdded 2023-05-19, due 2023-06-09, 'Apply updates per vendor instructions.', knownRansomwareCampaignUse Unknown; checked 2026-11-25. — CISA KEV
  • EPSS 0.04801, percentile 0.92082, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Cisco Security Advisory: Cisco Telnet Denial of Service Vulnerability
  3. CERT/CC Vulnerability Note VU#384230
  4. CVE.org record CVE-2004-1464 (CNA: MITRE)
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Which Cisco devices does CVE-2004-1464 affect?

Cisco says all devices running Cisco IOS that permit access by Telnet or reverse Telnet, with IOS trains 9.x, 10.x, 11.x and 12.x confirmed affected. Devices that do not run IOS are not affected. NVD's CPE covers IOS up to and including 12.2(15)ZJ3 (per Cisco's advisory and NVD).

Does disabling Telnet protect against CVE-2004-1464 if SSH is enabled?

It is Cisco's first workaround: enable SSH and set transport input ssh on all VTY lines. Cisco notes that enabling SSH alone is not enough; the device stays exposed until Telnet access is disabled. A VTY access-class limited to trusted hosts narrows exposure further.

How do I recover a Cisco device hit by CVE-2004-1464?

Use an existing session or the console: who lists the VTY connections and clear tcp line vty <n> drops the hung one. If no session is open, Cisco says console access or a reload is needed. Then upgrade to a repaired release (per Cisco's advisory and CERT/CC VU#384230).

Why is a 2004 Cisco bug in CISA KEV?

Cisco's advisory already noted exploitation in 2004, and CISA added CVE-2004-1464 to KEV on 2023-05-19 with the action to apply updates per vendor instructions. It is listed as of 2026-11-25 in catalog version 2026.11.24, so devices with old IOS images still count.