← Lab /Security & privacy

Citrix NetScaler DTLS pre-auth buffer overflow enables remote code execution

CVE-2026-88772 is a pre-authentication DTLS memory overflow in NetScaler that can be exploited to achieve remote code execution on vulnerable versions.

Security & privacy watchTowr Labs 29 Sep 2026 Disclosure Prototype evidence

Published as “Here We Go Again (Citrix NetScaler DTLS Preauth Memory Overflow CVE-2026-88772)”

Why it matters

Organizations must upgrade NetScaler ADC/Gateway to version 14.1-73.37 or later to block remote code execution via CVE-2026-88772.

Summary

The researchers set up a Citrix NetScaler appliance with DTLS enabled and compared a vulnerable build (14.1-73.30) to a patched build (14.1-73.37). They show that the DTLS reassembly code copies an NSB chain of ~174 KB into a 35,840-byte scratch buffer without size checks, causing a buffer overflow. By crafting 120 malicious DTLS records they overflow the buffer, overwrite a global list pointer, and use a ROP chain to call mprotect and execute shellcode, achieving remote code execution. The write-up includes a diff of the patched function and a detection-artifact generator script.

What they found 2

  1. The vulnerable function copies the entire NSB chain into a 35,840-byte scratch buffer without checking whether it fits.

    “The vulnerable function then copies that entire chain into the 35,840-byte scratch buffer without checking whether it fits.”

  2. The overflow overwrites a global list pointer, leading to a crash that can be leveraged for code execution.

    “The first crash overwrote a global list pointer.”

Caveats 5

  • NX is enabled, so the exploit must use a ROP chain rather than jumping directly to shellcode.
  • The exploit requires DTLS to be enabled (default) and a crafted sequence of 120 malicious records.
  • The attack only works when DTLS is enabled; administrators can disable DTLS with -dtls OFF.
  • Successful exploitation requires sending 120 specially crafted DTLS records.
  • Binary protections include no RELRO, no stack canary, and no PIE, which affect exploit reliability.

What’s new here 4

  • Identifies a pre-authentication DTLS memory overflow (CVE-2026-88772) in NetScaler ADC/Gateway.
  • Demonstrates how NSB chain reassembly leads to a 173,825-byte overflow of a 35,840-byte buffer.
  • Provides a binary diff and ROP-based exploit that gains remote code execution on the vulnerable build.
  • Releases a detection-artifact generator script for defenders.

In the news