Out-of-Bounds Write Enables Remote Code Execution in WatchGuard Fireware OS

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2025-9242?

CVE-2025-9242 is a vulnerability classified as Out-of-bounds Write, affecting Fireware OS (affected versions: 11.0 – ≤ 11.12.4+541730, 12.0 – < 12.11.4, and other affected versions). This vulnerability is rated Critical, with a CVSS score of 9.3. This vulnerability has been observed being exploited in the wild.

Overview

Original source data

An Out-of-bounds Write vulnerability in the WatchGuard Fireware OS iked process may allow a remote unauthenticated attacker to execute arbitrary code. This vulnerability affects both the mobile user VPN with IKEv2 and the branch office VPN using IKEv2 when configured with a dynamic gateway peer. If the Firebox was previously configured with the mobile user VPN with IKEv2 or a branch office VPN using IKEv2 to a dynamic gateway peer, and both of those configurations have since been deleted, that Firebox may still be vulnerable if a branch office VPN to a static gateway peer is still configured.

Affected products and scope

  • Default Fireware OS: WatchGuard currently marks versions >= 11.0 through and including 11.12.4+541730 as affected, versions >= 12.0 and < 12.11.4 as affected, and versions >= 2025.0 and < 2025.1.1 as affected. Its product-status table marks > 11.12.4+541730, >= 12.11.4, and >= 2025.1.1 as not affected.
  • Firebox T15 and T35: Fireware OS versions >= 12.0 and < 12.5.13 are affected; >= 12.5.13 is marked not affected.
  • Fireware OS in FIPS mode: versions >= 12.0 and < 12.3.1+722811 are affected; >= 12.3.1+722811 is marked not affected.
  • WatchGuard's resolution table lists the 11.x branch as End of Life rather than naming a supported resolved 11.x release. The disposition of an 11.x appliance should therefore be checked against both the product-status table and WatchGuard support policy.
  • The configuration scope is not limited to currently active VPNs. A Firebox previously configured with Mobile User VPN using IKEv2 or Branch Office VPN using IKEv2 to a dynamic gateway peer may remain affected if those configurations were deleted but a Branch Office VPN to a static gateway peer remains.

Technical details

The vulnerability is in the iked process of WatchGuard Fireware OS, which handles IPSec and IKEv2 traffic on Firebox appliances. An attacker can send remotely controlled IKEv2 data, and WatchGuard identifies an IKE_AUTH request with an abnormally large IDi payload as a strong attack indicator. Processing this data can cause an out-of-bounds write and may result in an iked hang or crash, or arbitrary code execution if exploitation succeeds.

Exposure is tied to Mobile User VPN using IKEv2 and Branch Office VPN using IKEv2 with a dynamic gateway peer. A Firebox may remain vulnerable after those configurations are deleted if they were previously present and a Branch Office VPN to a static gateway peer remains configured. Public sources do not describe the exact vulnerable code path, memory layout, or privilege boundary for executed code.

Exploitability

The vulnerability is remotely reachable over the network through IKEv2, requires no authentication, and requires no user interaction. The supplied exploitability attributes indicate low complexity, but the target must still be in an affected IKEv2 deployment state and able to receive the relevant traffic.

WatchGuard states that it has evidence suggesting active exploitation. The supplied record also confirms a public exploit, and the referenced public material includes exploit code. The available sources do not establish the scale of exploitation, named victims, or persistence after code execution.

Technical impact

Successful exploitation may result in arbitrary code execution through Firebox IKEv2 processing. Potential technical consequences include loss of confidentiality or integrity for device data and configuration, together with reduced availability of VPN services. WatchGuard states that a successful exploit can cause the iked process to hang and interrupt VPN connections; existing tunnels may continue to pass traffic in some cases, while a process crash generates a fault report.

The sources do not fully describe the level of control obtained after code execution, whether execution escapes the iked process boundary, or how persistence would be established. It is therefore not appropriate to claim that every exploit provides complete device control, but the Firebox's network-perimeter role makes the operational and security risk substantial.

Business impact

  • Firebox appliances control network boundaries and VPN access, so successful exploitation could affect the confidentiality, integrity, or availability of the appliance and the VPN services it provides.
  • An iked hang can interrupt VPN negotiation and re-key operations, while an iked crash can generate a fault report and disrupt VPN service.
  • Remote code execution on a Firebox could expose a serious risk to device configuration, locally stored secrets, and protected traffic, but the public evidence does not confirm a specific breach or data theft scenario.
  • Deleting an earlier VPN configuration is not sufficient to rule out exposure in every deployment, increasing the chance of incomplete inventory-based remediation.
  • Because WatchGuard reports evidence of active exploitation, it recommends rotating locally stored secrets on affected Fireboxes as an additional precaution.

Remediation

  1. Upgrade according to the product branch: use Fireware OS 2025.1.1 for the 2025.1 branch, 12.11.4 for the 12.x branch, 12.5.13 for Firebox T15 and T35, or 12.3.1+722811 for the FIPS release. WatchGuard also describes the FIPS release as 12.3.1 Update 3 (B722811).
  2. For end-of-life 11.x appliances, WatchGuard does not name a supported resolved 11.x release in its resolution table. End-of-life devices cannot be upgraded to the Fireware releases that resolve the issue, so migrate to a supported Firebox model for a permanent resolution.
  3. If an upgrade cannot be completed immediately and the Firebox is configured only with Branch Office VPN tunnels to static gateway peers, apply WatchGuard's temporary Secure Access to Branch Office VPNs that Use IPSec and IKEv2 guidance. This is a workaround, not a replacement for the update.
  4. Rotate all locally stored secrets on affected Fireboxes according to WatchGuard guidance, especially when a device shows attack indicators or cannot be updated immediately.
  5. Do not treat deletion of Mobile User VPN or Branch Office VPN configurations to dynamic gateway peers as sufficient remediation. After upgrading, verify the installed branch, device model, FIPS status, and VPN configurations that previously existed.

Detection

  • Inventory every Firebox, including end-of-life devices and devices without an active license, and compare its Fireware OS branch with the affected boundaries.
  • Review current and historical configuration to identify Mobile User VPN using IKEv2, Branch Office VPN connections to dynamic gateway peers, and cases where those configurations were deleted while a Branch Office VPN to a static gateway peer remains.
  • On unresolved devices, review or temporarily enable iked diagnostic logging at the Info level according to WatchGuard guidance. Search for IKE_AUTH request messages with an IDi payload larger than 100 bytes. This is a strong attack indicator, not conclusive proof of successful exploitation.
  • Check for iked hangs that interrupt VPN negotiation or re-key operations. WatchGuard describes this as a strong indicator. Check also for iked crashes and generated fault reports, which are weaker indicators because other conditions can cause the process to crash.
  • Monitor VPN negotiation and service interruptions as precautionary telemetry. The absence of these signs does not prove that a device is safe.
Sources (28)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.