CVE-2017-12240: Cisco IOS and IOS XE Software DHCP Remote Code Execution Vulnerability
Yes. CVE-2017-12240 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 3 March 2022. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 13.8%.
- Exploited in real attacks
- Yes. On CISA's exploited list since 3 March 2022
- Used in ransomware
- Not known
- Public exploit code
- None found in Exploit-DB, Metasploit or Nuclei
- Chance of exploitation (EPSS)
- 13.8% in the next 30 days, higher than 96.6% of scored vulnerabilities. Scored 5 December 2026
- Severity (CVSS)
- 9.8 Critical (version 3.1)
- Affects
- Cisco IOS and IOS XE Software
- Type of flaw
- Improper input validation (CWE-20)
- Published
- 28 September 2017
- US federal patch deadline
- 24 March 2022
What it is
The Dynamic Host Configuration Protocol (DHCP) relay subsystem of Cisco IOS and Cisco IOS XE Software contains a vulnerability that could allow an unauthenticated, remote attacker to execute arbitrary code and gain full control of an affected system.
The DHCP relay subsystem of Cisco IOS 12.2 through 15.6 and Cisco IOS XE Software contains a vulnerability that could allow an unauthenticated, remote attacker to execute arbitrary code and gain full control of an affected system. The attacker could also cause an affected system to reload, resulting in a denial of service (DoS) condition. The vulnerability is due to a buffer overflow condition in the DHCP relay subsystem of the affected software. An attacker could exploit this vulnerability by sending a crafted DHCP Version 4 (DHCPv4) packet to an affected system. A successful exploit could allow the attacker to execute arbitrary code and gain full control of the affected system or cause the affected system to reload, resulting in a DoS condition. Cisco Bug IDs: CSCsm45390, CSCuw77959.
Description from the CVE record.
Is CVE-2017-12240 being exploited?
Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2017-12240 on 3 March 2022. That was 4 years after the CVE was published, so attackers are still finding unpatched systems long after the fix.
Affected products
- Cisco IOS and IOS XE
From the CVE record. Check the vendor advisory for the full list of fixed versions.
What to do
CISA's required action: Apply updates per vendor instructions.
Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.
How to check whether you are exposed
- Find every copy. List each place Cisco IOS and IOS XE Software runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
HackDrill
Find out whether this is reachable in your systems.
A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in IOS and IOS XE Software. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.
Other tracked vulnerabilities in Cisco products
| CVE | What it affects | Status | EPSS | Published |
|---|---|---|---|---|
| CVE-2026-76466 | Cisco Expressway Series | No public exploit found | 2.7% | 21 October 2026 |
| CVE-2026-20320 | Cisco BroadWorks | No public exploit found | 2.7% | 19 August 2026 |
| CVE-2026-76418 | Cisco Secure Firewall ASA Software and Cisco Secure FTD Software | No public exploit found | 9.0% | 28 October 2026 |
| CVE-2026-76519 | Cisco Secure Email Gateway | Public exploit | 6.6% | 14 October 2026 |
| CVE-2026-76504 | Cisco Catalyst SD-WAN Manager | Public exploit | 64.0% | 30 September 2026 |
| CVE-2026-76460 | Cisco Identity Services Engine | Public exploit | 76.0% | 16 September 2026 |
Sources
- CVE record for CVE-2017-12240
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- quickview.cloudapps.cisco.com (x_refsource_CONFIRM)
- quickview.cloudapps.cisco.com (x_refsource_CONFIRM)
- www.securityfocus.com (vdb-entry, x_refsource_BID)
- tools.cisco.com (x_refsource_CONFIRM)
- www.securitytracker.com (vdb-entry, x_refsource_SECTRACK)
Machine-readable: /api/cve/CVE-2017-12240.json