CVE-2017-12231 is a denial-of-service flaw in the NAT code of Cisco IOS: a crafted H.323 RAS packet sent through a router that performs NAT with the H.323 RAS application layer gateway, enabled by default, crashes and reloads it. NVD scores it 7.5 and CISA KEV lists it. Upgrade IOS, or disable the gateway with no ip nat service ras.
Vulnerability summary
CVSS base score
7.5
High severity
EPSS score (FIRST)
7.1%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2017-12231 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Cisco IOS Software routers performing NAT with the H.323 RAS NAT ALG | cpe:2.3:o:cisco:ios:*:*:*:*:*:*:*:* | NVD: IOS 12.4 through 15.6; Cisco CSAF: 83 affected releases. First fixed release per the Cisco IOS Software Checker; NAT Virtual Interface, Easy VPN Remote, IOS XE, IOS XR, NX-OS and ASA 5500 not affected |
What does this mean for affected devices?
NVD describes CVE-2017-12231 as "the improper translation of H.323 messages that use the Registration, Admission, and Status (RAS) protocol" sent through a Cisco IOS 12.4 to 15.6 device over IPv4, and notes that "By default, a NAT ALG is enabled for H.323 RAS messages." NVD's Primary score is CVSS v3.1 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), with NVD CVSS v2 7.8; Cisco scores it 8.6 under CVSS 3.0 with a changed scope. NVD assigns no specific CWE (NVD-CWE-noinfo); Cisco and the KEV entry use CWE-399. Cisco tracks it as bug CSCvc57217 (NVD, CVE record).
Which Cisco routers are affected?
Cisco's advisory cisco-sa-20170927-nat lists three conditions: a vulnerable IOS release, NAT configured, and the NAT application layer gateway (ALG) for H.323 RAS enabled. show ip nat statistics lists inside and outside interfaces when NAT is active. The ALG is on by default and does not appear in the running configuration; if show running-config | include ip nat service ras returns nothing, it is enabled. Only IPv4 traffic passing through the router can trigger the crash, not traffic addressed to the router and not IPv6. Routers that do NAT through the NAT Virtual Interface or the Easy VPN Remote client are not affected, nor are IOS XE, IOS XR, NX-OS or ASA 5500 appliances. Cisco's CSAF file lists 83 affected IOS releases. Jason Fernandez reported the flaw to Cisco.
How do I fix CVE-2017-12231?
Upgrade to the first fixed release that the Cisco IOS Software Checker returns for your release. Until then, Cisco's mitigation is the global configuration command no ip nat service ras, which disables the ALG; Cisco warns that this can break devices that send or receive RAS traffic through the router, such as H.323 voice endpoints, so check that nothing needs it first. Branch and edge routers that do NAT for a small site are the typical exposure. The same September 2017 IOS bundle fixed the exploited ISR G2 bug CVE-2017-12232 and the PROFINET bug CVE-2017-12235.
Is CVE-2017-12231 exploited?
Yes. Cisco's revision 1.1 of December 2022 says that in March 2022 its PSIRT "became aware of additional attempted exploitation of this vulnerability in the wild." CISA added CVE-2017-12231 to the KEV catalog on 2022-03-03 with the action "Apply updates per vendor instructions." (due 2022-03-24; known ransomware campaign use: Unknown); it is still listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.0707, the 94.30th percentile, in the 2026-11-24 dataset (FIRST EPSS). For ranking old router KEV entries, see KEV and EPSS prioritization.
Evidence
- NVD: Analyzed; NAT in Cisco IOS 12.4 through 15.6, improper translation of H.323 RAS over IPv4, crash and reload, NAT ALG for H.323 RAS enabled by default; bug CSCvc57217; NVD Primary CVSS v3.1 7.5, NVD Primary CVSS v2 7.8; CISA ADP 7.5; CWE NVD-CWE-noinfo (NVD), CWE-399 (Cisco); CPE ios 12.4-15.6; read 2026-11-25. — NVD
- Cisco advisory v1.1 (2017-09-27, updated 2022-12-16): conditions vulnerable IOS + NAT + H.323 RAS ALG (default on); show ip nat statistics; show running-config | include ip nat service ras; transit IPv4 only; NVI, Easy VPN Remote, IOS XE/XR/NX-OS, ASA 5500 not affected; workaround no ip nat service ras may disrupt RAS traffic; March 2022 additional attempted exploitation; reported by Jason Fernandez. — Cisco Security Advisory cisco-sa-20170927-nat
- Cisco CSAF 1.1.0: CVE-2017-12231, bug CSCvc57217, 83 known-affected IOS releases, CVSS 3.0 8.6 S:C/A:H. — Cisco CSAF
- KEV catalog 2026.11.24: dateAdded 2022-03-03, due 2022-03-24, 'Apply updates per vendor instructions.', knownRansomwareCampaignUse Unknown, CWE-399; checked 2026-11-25. — CISA KEV
- EPSS 0.0707, percentile 0.94296, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
How do I know if my router is exposed to CVE-2017-12231?
Three things must be true: the router runs a vulnerable Cisco IOS release, NAT is active (show ip nat statistics lists inside and outside interfaces), and the H.323 RAS NAT ALG is enabled. The ALG is on by default; if show running-config | include ip nat service ras returns nothing, it is on (per Cisco's advisory).
Is there a workaround for CVE-2017-12231?
Yes. Cisco's mitigation is no ip nat service ras in global configuration mode, which turns off the H.323 RAS NAT ALG. Cisco warns this can disrupt devices that send or receive RAS traffic through the router, so confirm no H.323 equipment depends on it, then upgrade to a fixed release.
Does CVE-2017-12231 affect IOS XE or ASA?
No. Cisco confirmed that IOS XE, IOS XR, NX-OS and ASA 5500 Series appliances are not affected, and that IOS routers doing NAT through the NAT Virtual Interface or the Easy VPN Remote client are not affected either (per Cisco's advisory cisco-sa-20170927-nat).
Is CVE-2017-12231 exploited in the wild?
Yes. Cisco reported additional attempted exploitation in March 2022, and CISA added it to KEV on 2022-03-03; it is listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.0707, the 94.30th percentile, in the 2026-11-24 dataset.
Questions about this page?