Skip to main content

Security Exposure

UDP 500 and 4500 are where IPsec VPN gateways accept IKE traffic from the internet. Shadowserver reports hosts with a vulnerable IKE service accessible on the internet and has tagged WatchGuard Firebox iked flaws CVE-2025-9242 and CVE-2025-14733; CISA lists both in its Known Exploited Vulnerabilities catalog.

Hardening

  • Patch VPN gateway firmware promptly, prioritizing IKE vulnerabilities listed in CISA KEV.
  • Allow UDP 500 and 4500 only on hosts that terminate IPsec, and drop them elsewhere.

Monitoring

Log IKE negotiation failures and unexpected IKE traffic to hosts that are not VPN gateways. Shadowserver vulnerable ISAKMP reports flag gateways with known flaws.

IPsec NAT-T Vulnerabilities

8 CVEs
CVECVSS
CVE-2026-33824KEV
Windows Internet Key Exchange (IKE) Service Extensions Remote Code Execution Vulnerability
9.8
CVE-2025-14733KEV
WatchGuard Firebox iked Out of Bounds Write Vulnerability
9.3
CVE-2025-9242KEV
WatchGuard Firebox iked Out of Bounds Write Vulnerability
9.3
CVE-2016-6415KEV
Cisco IOS, IOS XR, and IOS XE IKEv1 Information Disclosure Vulnerability
7.5
CVE-2018-0158KEV
Cisco IOS and XE Software Internet Key Exchange Memory Leak Vulnerability
8.6
CVE-2017-12237KEV
Cisco IOS and IOS XE Software Internet Key Exchange Denial-of-Service Vulnerability
7.5
CVE-2018-0159KEV
Cisco IOS and XE Software Internet Key Exchange Version 1 Denial-of-Service Vulnerability
7.5
CVE-2026-4537
Cudy TR1200 ipsec.lua action_ipsec_conn command injection
5.1

Frequently Asked Questions

What is the difference between UDP 500 and UDP 4500?→

IKE normally runs on UDP 500. When NAT is detected, IKE and ESP traffic move to UDP 4500, as described in RFC 7296 and RFC 3948.

Is port 4500 TCP or UDP?→

IPsec NAT traversal uses UDP 4500. IANA also registers TCP 4500 under the same name.

Do IPsec VPNs need port 4500 open?→

Gateways that serve clients or peers behind NAT need UDP 4500 in addition to UDP 500 and should limit it to VPN endpoints.

Which vulnerabilities affect the service on port 4500?→

This database lists 8 CVEs related to IPsec NAT-T, 7 of them confirmed as exploited by CISA. Examples: CVE-2026-33824, CVE-2025-14733, CVE-2025-9242, CVE-2016-6415.

Port assignments from the IANA Service Name and Transport Protocol Port Number Registry. Services can be configured to run on any port, so traffic on port 4500 is not guaranteed to be IPsec NAT-T. Exploited-in-the-wild data from the CISA KEV catalog (CC0).