# CVE-2025-9242: WatchGuard Firebox IKEv2 flaw gives unauthenticated code execution

An out-of-bounds write in the Fireware OS iked process gives remote, unauthenticated code execution on Fireboxes with IKEv2 VPN. WatchGuard reports active exploitation, CISA lists it in KEV, and watchTowr has published a PoC.

- Vendor: WatchGuard, WatchGuard Fireware OS (IKEv2 VPN)
- Severity: CRITICAL (CVSS 4.0 9.3)
- Exploited (CISA KEV): yes, added 2025-11-12
- EPSS: 92.5% on 2026-12-02
- Public exploit: yes
- Patch available: yes
- Vendor advisory: https://psirt.watchguard.com/CVE-2025-9242
- Published: 2025-09-17; updated: 2026-10-18
- Page: https://patchtonight.com/cve/CVE-2025-9242/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Fireware OS 2025.0 to before 2025.1.1 | 2025.1.1 or later |
| Fireware OS 12.0 to before 12.11.4 | 12.11.4 or later |
| Fireware OS 12.0 to before 12.5.13 (T15 and T35) | 12.5.13 or later |
| Fireware OS 12.0 to before 12.3.1+722811 (FIPS) | 12.3.1+722811 (12.3.1_Update3) or later |
| Fireware OS 11.0 to 11.12.4+541730 | No fix. 11.x is discontinued. Migrate to a fixed release |

## What it is

The `iked` process on a WatchGuard Firebox handles IKE, the key exchange for IPsec VPNs. An **out-of-bounds write** in it lets a remote attacker with no credentials run code on the firewall. WatchGuard rated it critical (CVSS 4.0 9.3).

watchTowr found that the code copies the identification payload of an `IKE_SA_AUTH` request into a fixed stack buffer with no length check. Certificate validation happens only after the overflow, so no login is needed. watchTowr also reports that the appliance lacks most exploit mitigations: NX is on, but PIE and stack canaries are not.

It matters for three reasons:

- **It is exploited.** WatchGuard says it has evidence of active exploitation, and CISA added the CVE to KEV on 2025-11-12.
- **A public PoC exists.** watchTowr released a tool on GitHub that it says achieves pre-auth code execution. FortiGuard says public analysis raises the odds of wider attacks.
- **Many devices stayed exposed.** SecurityWeek reported more than 73,000 unpatched Fireboxes, citing Shadowserver, in November 2025.

A later Fireware flaw, [CVE-2025-14733](/cve/CVE-2025-14733/), hits the same `iked` process.

CISA's KEV entry lists known ransomware use as "Unknown".

## Am I affected?

You're exposed if **both** are true:

1. **Fireware OS is older than** 2025.1.1, 12.11.4, 12.5.13 (T15 and T35 models) or 12.3.1+722811 (FIPS). All of 11.0 to 11.12.4+541730 is affected, and 11.x gets no fix.
2. **IKEv2 VPN is, or was, configured.** That means Mobile User VPN with IKEv2, or a branch office VPN (BOVPN) using IKEv2 with a **dynamic gateway peer**.

**Deleting those configurations isn't enough.** WatchGuard says a Firebox that used either one may stay vulnerable if a BOVPN to a **static gateway peer** is still configured. Treat any Firebox with IKEv2 BOVPNs as exposed until it is on a fixed version.

watchTowr notes the Firebox's IKE reply carries a vendor ID payload that reveals the version and build number, so attackers can fingerprint your version from the internet.

Check the version in the Firebox's system status or the Fireware Web UI and compare it with the table above. We have no vendor command to quote here.

## What to do

1. **Upgrade** to 2025.1.1, 12.11.4, 12.5.13 (T15 and T35), 12.3.1+722811 (FIPS) or later. Fireboxes on 11.x must move to a supported release.
2. **If you can't upgrade tonight, use the workaround, but only if it fits.** WatchGuard suggests a temporary measure only for Fireboxes configured with BOVPN tunnels to **static** gateway peers. Follow WatchGuard's guidance "Secure Access to Branch Office VPNs that Use IPSec and IKEv2". The advisory doesn't spell out the steps. It lists no workaround for Mobile User VPN with IKEv2 or dynamic-peer tunnels.
3. **Rotate all locally stored secrets** on devices that were vulnerable, as WatchGuard recommends. That covers passwords, shared keys and certificates on the Firebox. FortiGuard advises doing it **after** patching, so the new secrets aren't exposed to a still-vulnerable device.
4. **Treat exposed devices as possibly compromised.** If a device was unpatched with IKEv2 VPN reachable from the internet, review what it could reach and hunt for lateral movement from it.

## Detection

These indicators apply only to devices without the fix. Source: WatchGuard.

- **Strong:** an abnormally large IDi payload in an `IKE_AUTH` request. Enable iked diagnostic logging at the Info level and the process logs each request it receives. WatchGuard calls an IDi payload over 100 bytes a strong indicator; its example shows 300 bytes. The advisory's log level for this was corrected on 2025-11-07, so check the current text.
- **Strong:** the `iked` process hangs, which interrupts tunnel negotiation and rekeys. Existing tunnels may keep passing traffic.
- **Weak:** `iked` crashes and produces a fault report. Other causes exist.
- **Network:** watchTowr's tool sends an `IKE_SA_AUTH` identification payload of about 521 bytes, far larger than normal. An IDS or packet capture on UDP IKE traffic can look for that.

The advisory gives no menu paths or CLI commands for enabling the logging or viewing fault reports.

## Sources

- [WatchGuard advisory WGSA-2025-00015](https://psirt.watchguard.com/CVE-2025-9242)
- [CVE record (MITRE)](https://cveawg.mitre.org/api/cve/CVE-2025-9242)
- [CISA Known Exploited Vulnerabilities catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-9242)
- [watchTowr Labs, "yIKEs"](https://labs.watchtowr.com/yikes-watchguard-fireware-os-ikev2-out-of-bounds-write-cve-2025-9242/)
- [FortiGuard Threat Signal](https://www.fortiguard.com/threat-signal-report/6247/watchguard-fireware-os-ikev2-out-of-bounds-vulnerability)
- [SecurityWeek](https://www.securityweek.com/critical-watchguard-firebox-vulnerability-exploited-in-attacks/)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
