Home / Cisco IOS and IOS XE / Cisco IOS and IOS XE / CVE-2017-12240
CVE-2017-12240: is it exploited, and which versions of Cisco IOS and IOS XE are affected and fixed?
CVE-2017-12240 is an improper input validation vulnerability in Cisco IOS and IOS XE, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on March 3, 2022, with a federal due date of March 24, 2022. Affected: Cisco IOS and IOS XE Cisco IOS and IOS XE (CVE record by cisco). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:38 UTC.
What is CVE-2017-12240?
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.
From the CVE record by cisco, last updated January 12, 2026, 21:47 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Cisco IOS and IOS XE | Cisco IOS and IOS XE |
As the CVE record by cisco states it, last updated January 12, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cisco | ios | from 12.2 through 15.6 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 01:02 UTC.
How severe is CVE-2017-12240?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-12240 exploited in the wild?
- CISA KEV
- Listed as Cisco IOS and IOS XE Software DHCP Remote Code Execution Vulnerability, added March 3, 2022; federal agencies must act by March 24, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- 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 SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, November 8, 2024)
- EPSS
- 13.8% probability of exploitation activity in the next 30 days, percentile 96.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- https://quickview.cloudapps.cisco.com/quickview/bug/CSCuw77959 x_refsource_CONFIRM
- https://quickview.cloudapps.cisco.com/quickview/bug/CSCsm45390 x_refsource_CONFIRM
- 101034 vdb-entry, x_refsource_BID
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170927-dhcp x_refsource_CONFIRM
- 1039445 vdb-entry, x_refsource_SECTRACK
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-12240 government-resource
When was it published, and where is the official record?
- Reserved
- August 3, 2017
- Published
- September 28, 2017, 07:00 UTC
- CVE record updated
- January 12, 2026, 21:47 UTC by cisco
- NVD
- Analyzed, last modified June 17, 2026, 01:02 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:38 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Cisco IOS and IOS XE?
- Mar 28, 2018CVE-2018-0174 Cisco IOS and IOS XE: improper input validation exploited
- Mar 28, 2018CVE-2018-0173 Cisco IOS and IOS XE: improper input validation exploited
- Mar 28, 2018CVE-2018-0172 Cisco IOS and IOS XE: improper input validation exploited
- Mar 28, 2018CVE-2018-0159 Cisco IOS and IOS XE: improper input validation exploited
- Mar 28, 2018CVE-2018-0158 Cisco IOS and IOS XE: improper input validation exploited
- Mar 28, 2018CVE-2018-0156 Cisco IOS and IOS XE: improper input validation exploited
- Mar 28, 2018CVE-2018-0155 Cisco IOS and IOS XE: exceptional condition mishandled exploited
- Mar 28, 2018CVE-2018-0151 Cisco IOS and IOS XE: memory corruption (buffer overflow) exploited
Every CVE in Cisco IOS and IOS XE
Questions about CVE-2017-12240
Is CVE-2017-12240 exploited in the wild?
Yes. CISA added CVE-2017-12240 to its Known Exploited Vulnerabilities catalog on March 3, 2022 and set federal agencies a due date of March 24, 2022. FIRST's EPSS gives it a 13.8% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Cisco IOS and IOS XE are affected by CVE-2017-12240?
Cisco IOS and IOS XE Cisco IOS and IOS XE, per the CVE record by cisco. The tables above give every range the sources list.
Which version fixes CVE-2017-12240?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2017-12240?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2017-12240?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.