The Vulnerability
CVE-2026-88772 is a heap based memory overflow in Citrix NetScaler ADC and NetScaler Gateway, reachable over DTLS, the UDP flavored cousin of TLS, before any authentication happens at all. CVSS 9.5. It is one of eight vulnerabilities Citrix patched in a single bulletin, CTX697096, published September 27, 2026, and it is the second of two in that bulletin that Citrix itself confirmed had already been exploited as a zero-day before the advisory ever went out.
Read that last sentence again, because it is the thing that separates this writeup from the last two NetScaler pieces we have done this year. This was not a quietly misclassified bug that attackers noticed after a researcher’s blog post. This was actively exploited in the wild for at least five weeks before Citrix published a single word about it, and the attackers were inside appliances while the rest of us were still reading about the previous NetScaler CVE.
The flaw lives in how NetScaler’s packet processing engine, nsppe, reassembles fragmented DTLS handshake messages. DTLS allows a single large handshake message to arrive split across multiple records, each one declaring how large the full message is, which fragment it represents, and how many bytes that particular fragment contributes. NetScaler trusts the fragment length field for accounting purposes while actually retaining far more data per fragment than that field claims. Send enough carefully crafted fragments and the reassembled “message” balloons to roughly five times the size of the fixed 35,840 byte scratch buffer NetScaler copies it into, with no bounds check stopping the copy. The overflow spills into adjacent process memory, corrupts function pointers, and from there it is a well worn path to arbitrary code execution as root.
DTLS is enabled by default on NetScaler VPN virtual servers. An administrator has to go out of their way, setting -dtls OFF, to turn it off. Which means the vulnerable configuration is not an edge case. It is the factory setting on the exact appliance type that exists to broker remote access for enterprise networks.
Timeline: When Things Went Sideways
This is the part that should actually worry you, because the gap here is not measured in months of quiet exploitation before disclosure. It is measured in attackers operating on a live, unpatched zero-day against internet facing infrastructure, in a steady, patient campaign, while the vendor had no idea anything was wrong.
- August 21, 2026: Earliest observed activity. Unit 42 identified version fingerprinting requests against a NetScaler Gateway appliance at a US based organization, from two hosts, consistent with attackers mapping out which targets were worth pursuing. The same fingerprinting pattern hit over 100 other systems across August 21 and 22
- September 4 through 8, 2026: The threat actor begins requesting files from the appliance’s
/vpn/scripts/linux/directory, a path normally used to host legitimate Citrix client installers, using a new VPS source IP roughly once per day, consistent with deliberate infrastructure rotation to avoid pattern based detection - September 9 through 24, 2026: Continued requests for staged webshell files disguised as
.debpackages, rotating across Cloudflare WARP VPN exit addresses and dedicated VPS infrastructure, alongside a continuous, round the clock stream of requests to an authentication page path that Unit 42 flagged as categorically anomalous - September 21, 2026: A separate, three stage log poisoning exploit chain targeting CVE-2026-88771 (the companion command injection vulnerability in the same bulletin) is used to drop a PHP webshell against a different US based target
- September 26, 2026: watchTowr publicly states that credible, forensically sourced reports indicate multiple unpatched NetScaler RCE vulnerabilities are being actively exploited, and that Citrix patches are expected within days
- September 27, 2026, 01:54 UTC: The last pre-disclosure webshell related request in Unit 42’s dataset arrives, hours before Citrix’s bulletin goes live
- September 27, 2026: Citrix publishes CTX697096, covering eight CVEs, with CVE-2026-88771 and CVE-2026-88772 both explicitly confirmed as actively exploited zero-days. CISA adds both to the KEV catalog the same day
- September 27, 2026 onward: Mass scanning and opportunistic exploitation attempts begin almost immediately following public disclosure, which Unit 42 explicitly separates from the pre-disclosure activity in their analysis, since post-disclosure actors are not necessarily the same operators and do not necessarily follow the same tradecraft
- September 29, 2026: watchTowr Labs publishes the technical deep dive on CVE-2026-88772 that this post leans on heavily
More than a month of patient, infrastructure-rotating, round-the-clock reconnaissance and webshell staging, against a vulnerability nobody outside the attacker’s own team knew existed. That is not a smash and grab. That is a well resourced operator who found this bug independently, understood exactly how valuable it was, and worked it carefully enough to avoid tripping whatever monitoring existed at the handful of organizations they targeted, right up until watchTowr’s external tip forced Citrix’s hand.
Impacted Versions and Patch Status
| Product | Affected Versions | Fixed Version |
|---|---|---|
| NetScaler ADC and Gateway 14.1 | Before 14.1-73.37 | 14.1-73.37 |
| NetScaler ADC and Gateway 13.1 | Before 13.1-64.23 | 13.1-64.23 |
| NetScaler ADC 14.1-FIPS | Before 14.1-73.37 FIPS | 14.1-73.37 FIPS |
| NetScaler ADC 13.1-FIPS and 13.1-NDcPP | Before 13.1-37.279 | 13.1-37.279 |
Exploitability requires DTLS to be enabled on a VPN virtual server, which, again, is the default state unless an administrator has explicitly disabled it. The practical upshot is that the overwhelming majority of NetScaler Gateway deployments handling remote access were vulnerable by default, with no unusual configuration required to expose the attack surface.
It is worth sitting with the fact that this CVE shipped in the same bulletin as CVE-2026-88771, an unauthenticated command injection affecting every NetScaler deployment in its default configuration regardless of feature flags, also confirmed exploited as a zero-day. Citrix did not have one quiet zero-day on its hands in September 2026. It had two, independently discovered, independently weaponized, sitting in the same codebase at the same time. Some researchers have started calling the pair “PitScaler,” and the name sticks for a reason we will get to in the technical section.
Proof of Concept: How It Actually Works
watchTowr’s full writeup, Here We Go Again, walks through the entire chain from DTLS handshake to shellcode, and their companion detection artifact generator is public on GitHub. We are summarizing the mechanism here; go read their post for the full reverse engineering trail.
The attack begins with a legitimate DTLS cookie exchange, which exists purely to confirm the client can receive packets at the IP address it claims, not to authenticate anyone:
1. Attacker sends a small ClientHello
2. Server replies with HelloVerifyRequest containing a cookie
3. Attacker sends a second ClientHello echoing that cookie
4. Server accepts the connection. Nobody has logged in. Nobody needs to.
5. Attacker sends 120 malicious DTLS records on that same socket
Each malicious record is built to lie about its own structure in a very specific way. A DTLS handshake fragment header declares a total message length, a message_seq, a fragment_offset, and a fragment_length. The exploit crafts records where the primary handshake header claims length=120 and fragment_length=1, meaning “the full message is 120 bytes and this record supplies exactly one of them.” NetScaler’s reassembly logic uses the declared length field to walk past the record body looking for the next handshake header, correctly interpreting the record as reassembly accounting expects.
But NetScaler does not actually discard the rest of each record’s bytes. It retains the entire record in an internal buffer object called an NSB, regardless of what the fragment_length field claimed. Send 120 of these records, each claiming to contribute one byte toward a 120-byte message, and NetScaler considers the message complete once positions 0 through 119 are all accounted for. Except the underlying NSB chain backing that “120-byte” message now holds roughly 174 kilobytes of actual data, because every record smuggled in far more than the one byte it declared.
1459 + (119 * 1447) = 173,652 bytes of actual NSB data
plus a 13-byte saved record header
total copied = 173,665 bytes
destination buffer = 0x8c00 = 35,840 bytes
overflow = 137,825 bytes spilling into adjacent memory
That 137 kilobyte overflow lands in the .bss section of nsppe, directly adjacent to whatever other global state the binary happens to keep nearby, including, as it turns out, function pointers that a background thread periodically calls.
Technical Analysis: The Exploitation
DTLS Fragment Reassembly, and Where the Trust Breaks Down
DTLS exists because TLS assumes a reliable, ordered transport, and UDP is neither. To cope, DTLS allows large handshake messages to be split into fragments, each one self-describing: a 12-byte handshake header stating the full message length, which message this fragment belongs to, where in that message this fragment sits, and how many bytes this particular fragment contributes.
A correctly behaving implementation uses the fragment length field for two things: validating that the fragment actually contains that many bytes, and knowing how much of the retained buffer to copy forward during reassembly. NetScaler’s vulnerable build used the fragment length field for the second purpose inconsistently, specifically failing to truncate the retained NSB data down to the size the fragment claimed to provide. The accounting says one byte arrived. The buffer management behaves as though the entire record arrived. Those two views of reality never get reconciled before the data gets copied into a fixed size scratch buffer, and that gap between claimed size and actual retained size is the entire vulnerability.
The Patch, Side by Side
watchTowr’s patch diff between the vulnerable build (14.1-73.30) and the fixed build (14.1-73.37) isolates the fix to a single, specific bounds check inserted ahead of each NSB copy in the reassembly loop:
// Vulnerable (14.1-73.30)
copy_saved_header(scratch, saved_header, saved_header_length);
cursor = scratch + saved_header_length;
for (nsb = fragment_chain; nsb != NULL; nsb = nsb->next) {
memcpy(cursor, nsb->data, nsb->length);
cursor += nsb->length;
}
// Fixed (14.1-73.37)
copy_saved_header(scratch, saved_header, saved_header_length);
cursor = scratch + saved_header_length;
space_left = 0x8c00 - saved_header_length;
for (nsb = fragment_chain; nsb != NULL; nsb = nsb->next) {
if (nsb->length > space_left) {
reject_message();
return;
}
memcpy(cursor, nsb->data, nsb->length);
cursor += nsb->length;
space_left -= nsb->length;
}
Four lines. That is the entire difference between “DTLS handshake reassembly” and “unauthenticated root code execution on a hardened security appliance.” The fixed build tracks remaining scratch buffer capacity across the whole reassembly loop and rejects any message whose total retained size would exceed the 35,840 byte allocation. The vulnerable build simply never asked the question.
From Overflow to Write-What-Where
The first crash watchTowr hit was a straightforward consequence of the overflow landing on a global list pointer used elsewhere in nsppe. Once that pointer, now fully attacker controlled, got dereferenced and written through, the process segfaulted. Rather than treating that as game over, they identified the constant address the corrupted pointer needed to hold to avoid the crash, patched their overflow payload to plant that exact value at the right offset, and the early crash disappeared.
Continuing to extend the overflow revealed a second, more valuable target sitting in nearby memory: an object whose virtual method table pointer could also be overwritten via the same primitive. Faking that object’s method table entry, pointed at an attacker chosen address, and waiting for a background thread that periodically invokes a function through that object’s vtable, produced a clean, fully controlled instruction pointer hijack. No information leak was needed anywhere in this chain, because nsppe ships without PIE, meaning every function and global address in the 41 megabyte binary is fixed and known in advance.
NX Was Actually Enabled This Time, So ROP
Unlike the earlier FortiJump style appliance bugs where an executable heap made life easy, nsppe’s binary protections here showed NX enabled, meaning the attacker’s shellcode could not simply sit on the heap and get jumped to directly. watchTowr built a short ROP chain, popping arguments into registers ahead of a call to mprotect, to mark a page containing both their ROP stack and their shellcode as readable, writable, and executable, then returning directly into that now-executable shellcode:
mprotect((void *)target_page, 0x1000, PROT_READ | PROT_WRITE | PROT_EXEC);
// ret falls through directly into shellcode on the same page
Once execution reaches the shellcode, the rest of the chain, dropping a webshell, setting SUID bits for privilege persistence across process boundaries, is the same playbook watchTowr documented in their earlier CVE-2026-8452 research. If you want the full shellcode mechanics, that earlier post covers it in detail and nothing about the post-shellcode phase changed meaningfully here.
Why “PitScaler” Is an Apt Name
Both CVE-2026-88771 and CVE-2026-88772, the two zero-days in this bulletin, converge on the same underlying weakness that has made NetScaler exploitation reliably tractable for years running: nsppe as a monolithic, unprotected binary with no ASLR, frequently no RELRO, and historically inconsistent stack canary coverage, paired with a companion process, pitboss, whose entire job is making crashes in that binary invisible to the people who should be worried about them. Unit 42’s own detection guidance for CVE-2026-88771 centers almost entirely on pitboss log entries, specifically the strings pitboss PPE missed too many heartbeats and pitboss PPE unexpectedly died, because that log is where the evidence of exploitation attempts against this binary actually surfaces. The PitScaler naming is less a joke about alliteration and more an accurate description of where the entire attack surface, across multiple independently discovered CVEs this year, keeps concentrating.
Considerations and Limitations
The Pre-Disclosure Window Means Your Logs May Already Be Gone
Unit 42’s earliest observed reconnaissance against this specific campaign dates to August 21, 2026, more than five weeks before Citrix’s advisory. If your organization runs NetScaler Gateway with DTLS enabled, and your log retention on relevant appliance and perimeter logging does not stretch back that far, you cannot rule out having been a reconnaissance or exploitation target during that window using your own telemetry alone. This is the same three-year problem we have flagged in other long dwell time appliance CVEs, just compressed into five weeks instead of three years, and no less real for the shorter timeframe.
Fingerprinting Looks Exactly Like Normal Traffic
The earliest-stage activity Unit 42 identified, requests for /admin_ui/common/css/ns/ui.css and /vpn/js/rdx/core/lang/rdx_en.json.gz, are requests for completely legitimate, unauthenticated static assets that any browser loading the NetScaler Gateway login page would request as a matter of course. There is nothing malformed about these requests. The only thing that makes them suspicious in hindsight is the volume, the specific sequencing, and the fact that the same small set of source IPs touched over 100 different organizations’ appliances with the identical request pattern within a 48 hour window. A single organization looking only at its own traffic has no way to see that pattern. Only an entity with visibility across many targets, which is exactly the position Unit 42 and similar threat intelligence operations occupy, can meaningfully flag this stage at all.
The DTLS Overflow Itself Leaves No Payload-Level Signature
Much like the SAML PrefixList overflow in CVE-2026-8452, the exploitation primitive here hides inside a protocol field whose entire purpose is to carry variable length, binary, attacker supplied data. There is no malformed DTLS structure to flag, no invalid certificate, no authentication failure. The only anomaly is aggregate reassembled message size relative to what a legitimate DTLS handshake would ever produce, and that is not a signature most perimeter monitoring is tuned to catch, because DTLS handshake traffic is rarely subjected to the same depth of inspection as HTTP.
The .deb Webshell Naming Is Deliberate Camouflage, Not Laziness
The webshell files observed in this specific campaign, nsgclient18.deb, nsg64.deb, and variants, were staged in /vpn/scripts/linux/, a directory that legitimately hosts Citrix client installation packages for Linux endpoints. An administrator or an automated integrity check glancing at file listings in that directory sees exactly what they would expect to see there: Debian package files related to the Citrix client. The actual payload, an RC4-encrypted PHP webshell authenticated via a hardcoded passphrase, is not something a directory listing or a filename pattern will reveal. Detection here requires content inspection or hash comparison against known-bad values, not path or extension based heuristics.
Post-Disclosure Noise Will Contaminate Your IOC Matching
Unit 42 was explicit and correct to separate pre-disclosure activity from post-disclosure activity in their own reporting, and defenders should do the same. Once CTX697096 went public on September 27, mass scanning began almost immediately, and that scanning traffic will not necessarily match the specific IPs, the specific .deb filenames, or the specific infrastructure rotation pattern of the original campaign. An organization that only hunts for the original IOC set risks missing a second, independent wave of opportunistic exploitation using entirely different tooling against the same underlying vulnerability.
Detection and Hunting
Network Indicators (Pre-Disclosure Campaign)
45.61.136.143
66.227.183.84
77.83.199.39
104.28.215.137
104.248.244.66
104.28.247.136
162.33.178.9
193.149.176.207
216.245.184.164
Treat these as historical campaign IOCs, not a comprehensive blocklist. Infrastructure rotation was a defining feature of this actor’s tradecraft, and post-disclosure scanning will use entirely different source ranges.
Host-Based Indicators
# Known staged webshell paths from the pre-disclosure campaign
ls -la /vpn/scripts/linux/nsgclient18.deb
ls -la /vpn/scripts/linux/nsg64.deb
ls -la /vpn/scripts/linux/nsgser18.deb
ls -la /vpn/scripts/linux/nsgsupport.deb
ls -la /vpn/scripts/linux/nsgpackage64.deb
ls -la /vpn/scripts/linux/nsgbuild.deb
# Known webshell path from the CVE-2026-88771 log-poisoning chain
ls -la /var/netscaler/logon/LogonPoint/custom/.ctxs.receiver
# Check httpd.conf for unauthorized PHP execution enablement
# and unexpected Alias/AliasMatch directives disguised as CSS assets
grep -i "php_flag engine" /etc/httpd.conf
grep -i "ctxs.receiver\|receiver.min" /etc/httpd.conf
# Verify SUID bit has not been set on /bin/sh (should never be set)
ls -la /bin/sh
Known SHA-256 hashes from the September 21 webshell drop chain:
| Hash | Description |
|---|---|
| ae22ef2517b5c0fb47f78745b9cb5260acee0e751b89bcd354640ff8bc8d29ec | nsg64.deb webshell |
| 1bd314b661396c7086f6367fbbb48025e03ca2de69c073d53a8b0a38aa5fbb7d | Base64-encoded payload text |
| 79c65fa04541032e251fa4796b97800374b63c7982593dd1a2e0db605d429186 | Decoded shell script |
Pitboss Log Hunting
Given how central pitboss is to both the exploitation mechanics and the log poisoning technique used for the companion CVE, this log deserves specific attention regardless of which of the two zero-days you are hunting for:
grep -i "pitboss PPE missed too many heartbeats" /var/log/ns.log
grep -i "pitboss PPE unexpectedly died" /var/log/ns.log
# Anything appearing after "NSPPE;" in these log lines that looks like
# a shell command, a grep invocation, or base64-looking text is a strong
# indicator of the log-poisoning technique used against CVE-2026-88771
grep -A2 "NSPPE;" /var/log/ns.log | grep -iE "grep|base64|sh -c|php"
Behavioral Baselining for the DTLS Path Specifically
Because the overflow hides inside protocol fields with no inherent malformation, the more durable control is anomaly detection on DTLS handshake reassembly behavior itself:
- Flag any DTLS handshake message whose declared total length is small (under a few hundred bytes, consistent with real-world SAML or VPN handshake traffic) but whose underlying fragment count is unusually high, since the exploit specifically relies on dozens of fragments each claiming to contribute a single byte toward a modest sized message
- Alert on any
nsppecrash or unexpected respawn that correlates with inbound UDP traffic on the DTLS listener port (commonly 443 or a custom port such as 9462) in the preceding seconds - Monitor for sustained, round-the-clock request volume to authentication-adjacent endpoints (Unit 42 specifically flagged
/logon/LogonPoint/Authentication/GetUserName) that does not match expected human usage patterns, since the pre-disclosure campaign maintained this traffic continuously, including on days with no webshell related activity at all
Confirm Exposure First
Before hunting, confirm whether your specific appliance configuration meets the vulnerability’s preconditions. Citrix’s advisory includes a “Steps to determine if an appliance meets the CVE preconditions” section, and for this specific CVE that means confirming whether DTLS is actually enabled on your VPN virtual servers, since an appliance with -dtls OFF explicitly set was never in the vulnerable population to begin with.
Remediation / Workarounds
Patch Immediately, Full Stop
Upgrade to 14.1-73.37 or later, 13.1-64.23 or later, or the corresponding FIPS/NDcPP build, 14.1-73.37 FIPS or 13.1-37.279, depending on your branch. Given that this bulletin addressed two confirmed zero-days plus six additional high and critical severity issues in a single release, there is no reasonable argument for treating this as anything other than emergency patching, regardless of what maintenance window policy normally governs appliance updates.
Patching Does Not Undo Prior Compromise
This bears repeating in the exact language Unit 42 used in their own guidance, because it is the single most important operational point in this entire writeup: updating and patching will not remove access for attackers that have already established persistence within a compromised network. If your appliance was internet facing with DTLS enabled at any point between late August and your patch date, patching alone resolves the vulnerability going forward. It does nothing to evict an attacker who already landed a webshell, harvested credentials, or pivoted further into the network during the window your appliance was exposed.
If You Suspect Prior Compromise
- Isolate the appliance from the network before taking further action
- Capture a full VPX instance snapshot, remote syslog server logs, NetScaler Console logs, a technical support bundle, and a packet engine core dump, in that order, before any remediation steps that might overwrite volatile evidence
- Hunt specifically for the host and network indicators listed above, understanding that infrastructure rotation means absence of the specific listed IPs is not proof of absence of compromise
- Review for unexplained gaps in logging, which can indicate deliberate log tampering by an attacker who achieved root
- Treat any confirmed webshell discovery as a full compromise requiring credential rotation across every system the NetScaler appliance had trust relationships with, not just the appliance itself
Reduce DTLS Exposure Where Patching Must Be Delayed
Where immediate patching genuinely cannot happen, disabling DTLS entirely (-dtls OFF) on VPN virtual servers removes this specific vulnerable code path from the reachable attack surface, at the cost of whatever functionality your deployment relies on DTLS for. This is a stopgap, not a fix, and it does nothing for the companion CVE-2026-88771 command injection, which affects default configurations regardless of DTLS state.
Closing Assessment
CVE-2026-88772 is the clearest demonstration yet of a pattern we have now documented across three NetScaler writeups this year: nsppe is a 41 megabyte, non-PIE, frequently under-protected binary sitting at the single chokepoint every organization’s remote access traffic has to pass through, and pitboss, the process built to keep that binary’s crashes invisible to administrators, keeps doubling as exactly the mechanism attackers need to keep their own activity invisible too. That is not a coincidence of engineering. It is the same design tradeoff, continuity of service over visibility of failure, showing up as a liability in vulnerability after vulnerability.
What makes this one different from CVE-2026-8452 is the direction of the information gap. The earlier bug was patched quietly, described as a DoS, and sat unexploited for six weeks until public research reclassified it, at which point attackers moved within days. This one was never described as anything by anyone, because nobody but the attacker knew it existed, for over a month, against live production infrastructure, with patient, rotating, well-resourced tradecraft that looks far more like a dedicated access broker or a nation-state operation than a smash and grab campaign. The fingerprinting phase alone, touching over 100 organizations within 48 hours before narrowing down to specific targets for the actual exploitation and webshell staging phases, describes a methodical operation working from a target list, not an opportunistic scan.
If you run NetScaler Gateway with DTLS enabled, which is most of you, patch now, and then go hunting in your logs for the specific window between August 21 and September 27, because that is the window where you had no way of knowing you needed to be looking. The vendor didn’t know either. Threat intelligence researchers caught this one through forensic investigation of victim environments, not through responsible disclosure, and that ordering should tell you everything about how seriously to treat the retrospective hunt versus the forward looking patch.
References
- watchTowr Labs: Here We Go Again (Citrix NetScaler DTLS Preauth Memory Overflow CVE-2026-88772)
- watchTowr Labs: Oh Look, The Foot Gun Went Off Again (CVE-2026-88771)
- watchTowr Detection Artifact Generator: watchTowr-vs-Citrix-Netscaler-CVE-2026-88772
- Unit 42 Threat Brief: NetScaler Zero Days CVE-2026-88771 and CVE-2026-88772 Exploited in the Wild
- Rapid7: Zero-Day Exploitation of Citrix NetScaler ADC and Gateway
- BleepingComputer: Hackers Exploit Citrix NetScaler Zero-Day to Deploy Web Shells
- Citrix Security Bulletin: CTX697096
- CISA KEV Catalog Entries: CVE-2026-88771, CVE-2026-88772