Remote code executionin Cisco IOS and IOS XE Software.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 3 Mar 2022.
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.
CISA: 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.
- CISA requires US federal agencies to fix it by 24 Mar 2022.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 3 Aug 2017CVE ID reserved by cisco.
- 28 Sep 2017Published in the CVE List.
- 3 Mar 2022Added to CISA's Known Exploited Vulnerabilities list.
- 12 Jan 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other IOS and IOS XE Software vulnerabilities
Same weakness: Improper input validation
- 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
- www.cisa.gov government-resource
Patchminder. CVE-2017-12240: Remote code execution in Cisco IOS and IOS XE Software. https://patchminder.com/cve/cve-2017-12240/ (accessed 5 December 2026).