Security Resilience

CVE-2017-12240

Memory Safety in Cisco Ios 12.2 – 15.6

CISA KEVActive ExploitationEUVD ExploitedMemory Safety
Published
29 September 2017
Modified
21 April 2026
KEV Added
03 March 2022
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.14 96th percentile
Risk Priority 97 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2017-12240 is a critical-severity Improper Input Validation (CWE-20) vulnerability in Cisco Ios. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 4% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

The vulnerability is a buffer overflow in the DHCP relay subsystem of Cisco IOS versions 12.2 through 15.6 and Cisco IOS XE Software, tracked under Bug IDs CSCsm45390 and CSCuw77959. It stems from improper input validation when processing DHCP Version 4 packets, as indicated by the associated CWEs (CWE-20 and CWE-119). The flaw received a CVSS v3.1 score of 9.8, reflecting its network-accessible and unauthenticated nature with high impact on confidentiality, integrity, and availability.

An unauthenticated remote attacker can exploit the issue by sending a specially crafted DHCPv4 packet to an affected device. Successful exploitation grants the attacker the ability to execute arbitrary code with full system control or to trigger a reload resulting in a denial-of-service condition.

The referenced Cisco Security Advisory (cisco-sa-20170927-dhcp) and associated Bug IDs provide official details on affected releases and recommended remediation steps.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)
KEV Date Added
03 March 2022

Related Threats

CVEs Like This One

CVE-2017-12319Same product: Cisco 1000 Integrated Services Routerboth on KEV
CVE-2017-12234Same product: Cisco 1000 Integrated Services Routerboth on KEV
CVE-2017-12233Same product: Cisco 1000 Integrated Services Routerboth on KEV
CVE-2018-0159Same product: Cisco Asr 901-12C-F-Dboth on KEV
CVE-2017-6744Same product: Cisco Iosboth on KEV
CVE-2017-6738Same product: Cisco Iosboth on KEV
CVE-2017-6743Same product: Cisco Iosboth on KEV
CVE-2017-6737Same product: Cisco Iosboth on KEV
CVE-2017-6742Same product: Cisco Iosboth on KEV
CVE-2017-6736Same product: Cisco Iosboth on KEV

Affected Assets

cisco
ios
12.2 — 15.6

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-20 CWE-119

Security testing and evaluation at multiple SDLC stages directly detects missing or flawed input validation, with the required remediation process ensuring fixes are applied.

addresses: CWE-20

Security testing and developer training directly verify and enforce proper input validation, reducing exploitability of injection and malformed-data weaknesses.

addresses: CWE-119

Managed runtimes used by platform-independent applications (e.g., JVM, CLR) enforce memory safety, preventing most buffer overflows that require direct memory manipulation.

addresses: CWE-20

Directly implements checks on information inputs to reject invalid data before processing.

addresses: CWE-119

Memory protections (e.g., W^X, ASLR) make exploitation of buffer-boundary violations far harder to turn into code execution.

addresses: CWE-119

Detects exploitation attempts that produce memory corruption, crashes, or anomalous behavior.

addresses: CWE-20

Spam protection mechanisms perform filtering and detection on inbound/outbound messages, directly compensating for missing or weak input validation of unsolicited content.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

blocks

A.8.25 mandates security requirements, secure coding guidelines, checkpoints, testing (incl. code scans) and developer training in the SDLC, which reaches a slice of input validation defects but leaves the majority (incomplete enforcement, second-order inputs, parser differentials, post-validation canonicalization) unaddressed as in the SA-3 and A.8.28 anchors.

blocks

Mandating input controls that include integrity checks and input validation ensures that untrusted data is examined before use, blocking the root cause of many injection and malformed-data weaknesses.

blocks

Security-by-design principles explicitly call for data validation and sanitization at every layer, reducing the chance that malformed or malicious input will be processed without scrutiny.

prevents

Requiring language-specific secure coding standards, peer review, SAST and documented mitigation of common programming errors forces validation of all inputs before they are trusted.

finds

Testing against a defined set of requirements and using code review plus vulnerability scanning forces validation of inputs and handling of unanticipated conditions, reducing the chance that malformed data will be accepted.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-20, a class-level weakness, and none of its children carries one either.
  • No fine-grained STIG row for CWE-119, a class-level weakness. Rules are authored against its narrower children: CWE-823.

References