← Lab /Systems

Memory overread in Citrix NetScaler IdP leaks dead memory via NSC_TASS cookie

CVE-2026-3055 allows a memory overread that leaks residual memory (e.g., 0xdeadbeef) in the NSC_TASS cookie and can be used to reliably identify unpatched NetScaler devices.

Systems watchTowr Labs 28 Mar 2026 Disclosure Prototype evidence

Published as “The Sequels Are Never As Good, But We're Still In Pain (Citrix NetScaler CVE-2026-3055 Memory Overread)”

Why it matters

The leak gives defenders a quick, network-visible test to flag unpatched NetScaler appliances before they are exploited.

Summary

The watchTowr Labs team examined Citrix NetScaler appliances configured as a SAML IdP and reproduced CVE-2026-3055, a memory overread that returns parts of uninitialized memory in the NSC_TASS cookie. By sending minimal SAMLRequest payloads they observed leaked data including the marker 0xdeadbeef, confirming the overread. Patched devices return a parsing error instead of the cookie, giving a simple detection method, though the leak is intermittent and may depend on low-traffic lab conditions.

What they found 2

  1. Leaked memory contains dead-memory marker 0xdeadbeef

    “ef be ad de , or 0xdeadbeef , no doubt a full used to mark dead memory.”

  2. Presence of NSC_TASS cookie distinguishes vulnerable from patched devices

    “If it gives this error message, great, it's patched. - If, instead, it provides us with an NSC_TASS cookie - any cookie at all - then it's running the vulnerable version.”

Caveats 5

  • The overread appears intermittent; "Hundreds and hundreds of requests would go by without any memory disclosure, and then suddenly we'd see memory."
  • The authors note the behavior may be an artefact of a low-traffic lab environment and might differ in production.
  • "triggering it was seemingly based on.. luck. Hundreds and hundreds of requests would go by without any memory disclosure, and then suddenly we'd see memory."
  • "we suspect this is an artefact of a low traffic (read: zero traffic) lab environment - and this is highly likely to not be the case in a production, live, real-world environment."
  • "successful exploitation will leave strange messages, such as that we saw above, in the /var/log/ns.log file (if logging is sufficiently verbose - we ran our test box with DEBUG logging to be sure we saw what was going on)."

What’s new here 4

  • Identified that CVE-2026-3055 leaks residual memory (including 0xdeadbeef) via the NSC_TASS cookie.
  • Demonstrated a reliable detection technique: presence of any NSC_TASS cookie indicates a vulnerable version.
  • Disclosed additional, undisclosed memory-overread bugs with similar prerequisites.
  • Provided a minimal PoC SAMLRequest that triggers the overread on vulnerable appliances.

In the news