{"id":"CVE-2017-12240","kind":"vulnerability","aliases":["CVE-2017-12240"],"related":[],"title":"Cisco IOS and IOS XE Software: Cisco IOS and IOS XE Software DHCP Remote Code Execution Vulnerability","description":"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.","summary":"Cisco IOS and IOS XE DHCP relay subsystem contains a flaw that lets an unauthenticated remote attacker execute arbitrary code on the device. A successful attacker gains full control of the affected router or switch.","severity":"critical","cvss":10.0,"epss":0.13773,"exploited":true,"exploited_at":"2022-03-03T00:00:00+00:00","products":[{"name":"Cisco IOS and IOS XE Software","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["cisco","exploited","infrastructure","ios","ios-xe","network-gear"],"not_affected_if":["no-dhcp-relay-configured"],"how_to_check":"Run 'show version' on the device to identify the IOS or IOS XE release, then compare it against the fixed releases in the Cisco advisory.","fix":"Upgrade IOS or IOS XE to a fixed release per the Cisco security advisory; the CISA entry says only to apply vendor updates.","status":"open","published_at":"2017-09-29T01:34:49+00:00","first_seen_at":"2026-10-23T19:11:52+00:00","triaged_at":"2026-10-23T21:24:21+00:00","updated_at":"2026-10-23T21:57:35+00:00","category":"infrastructure","confidence":0.6,"triage":{"at":"2026-10-23T21:24:21Z","model":"claude-haiku-5-5","output":{"fix":"Upgrade IOS or IOS XE to a fixed release per the Cisco security advisory; the CISA entry says only to apply vendor updates.\nunknown","reach":"network","impact":"high","summary":"Cisco IOS and IOS XE DHCP relay subsystem contains a flaw that lets an unauthenticated remote attacker execute arbitrary code on the device. A successful attacker gains full control of the affected router or switch.","category":"infrastructure","who_cares":["cisco","ios","ios-xe","network-gear"],"confidence":0.6,"needs_auth":"no","worst_case":"Unauthenticated attacker runs code on the device and takes full control.","analyst_note":"Find the Cisco advisory for CVE-2017-12240 to confirm affected and fixed IOS/IOS XE versions and whether DHCP relay must be enabled.","how_to_check":"Run 'show version' on the device to identify the IOS or IOS XE release, then compare it against the fixed releases in the Cisco advisory.\nunknown","needs_analyst":true,"not_affected_if":["no-dhcp-relay-configured"],"user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"critical"},"cost_usd":0.000503,"input_tokens":2896,"output_tokens":427,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-12240':20A,23A '-2017':19A,22A '12.2':82C '15.6':84C '4':160C 'affect':71B,110C,118C,146C,165C,184C,189C 'allow':95C,171C 'also':115C 'and':26A 'arbitrari':58B,102C,176C 'attack':56B,65B,99C,113C,149C,173C 'buffer':136C 'bug':199C 'caus':116C,187C 'cisco':1A,7A,24A,30B,40B,80C,86C,198C 'code':15A,59B,103C,177C 'condit':129C,138C,197C 'contain':48B,90C 'control':68B,107C,181C 'could':94C,114C,150C,170C 'craft':157C 'cscsm45390':201C 'cscuw77959':202C 'cve':18A,21A 'denial':125C 'devic':62B 'dhcp':13A,45B,76C,141C,158C 'dhcpv4':161C 'dos':128C,196C 'due':133C 'execut':16A,57B,101C,175C 'exploit':31B,151C,169C 'flaw':50B 'full':67B,106C,180C 'gain':66B,105C,179C 'gear':39B 'id':200C 'infrastructur':32B 'io':2A,4A,8A,10A,33B,35B,41B,43B,81C,87C 'ios':25A,27A 'ios-x':34B 'let':52B 'network':38B 'network-gear':37B 'overflow':137C 'packet':162C 'relay':46B,77C,142C 'reload':121C,192C 'remot':14A,55B,98C 'result':122C,193C 'router':72B 'send':155C 'servic':127C 'softwar':6A,12A,89C,147C 'software':29A 'subsystem':47B,78C,143C 'success':64B,168C 'switch':74B 'system':111C,119C,166C,185C,190C 'unauthent':54B,97C 'version':159C 'vulner':17A,92C,131C,153C 'xe':5A,11A,28A,36B,44B,88C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2017-09-29T01:34:49+00:00","kev":{"dateAdded":"2022-03-03","dueDate":"2022-03-24","requiredAction":"Apply updates per vendor instructions.","knownRansomwareCampaignUse":"Unknown"},"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_by":"nvd@nist.gov","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2017-12240","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2017-12240","severity":null,"published_at":"2022-03-03T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:52+00:00","fetched_at":"2026-10-25T11:39:17+00:00","note":null},{"source":"epss","external_id":"CVE-2017-12240","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-12240","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-23T19:13:44+00:00","fetched_at":"2026-10-23T19:13:44+00:00","note":null},{"source":"nvd","external_id":"CVE-2017-12240","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12240","severity":null,"published_at":"2017-09-29T01:34:49+00:00","modified_at":"2026-06-17T01:02:57+00:00","first_seen_at":"2026-10-23T21:57:35+00:00","fetched_at":"2026-10-23T21:57:35+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}