Skip to content

CVE-2026-88779: Citrix NetScaler ADC & Gateway SAML Buffer Overflow Vulnerability

Density:
HERMES

HERMES THREAT SCORE & PERIMETER GATEWAY EXPOSURE

Target: Citrix NetScaler ADC & Gateway โ€” SAML Service Provider & Identity Provider Processing Subsystem
Confidence: 98%
98 / 100
CRITICAL

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 19 / 20
Threat Activity 20 / 20
Weaponization 19 / 20
Exposure 20 / 20
Prevalence 19 / 20
Impact 20 / 20
Exploit Maturity 20 / 20
Attack Chain Potential 19 / 20
โš–๏ธ Divergence & Operational Rationale

CVSS v4.0 evaluates this flaw at 8.7 (High) with an attack condition requirement (AT:P) for SAML configuration. The Hermes Threat Score elevates this to 98 (CRITICAL) due to confirmed active weaponized exploitation in the wild, resulting in its immediate addition to the CISA Known Exploited Vulnerabilities (KEV) catalog on October 4, 2026. NetScaler ADC and Gateway systems occupy critical edge boundary locations, handling external reverse-proxying, load balancing, and SSL VPN termination. When an appliance is configured as either a SAML Service Provider (SP) or Identity Provider (IdP), unauthenticated remote adversaries can transmit malformed SAML assertions with oversized attributes, triggering heap memory corruption in the native packet processing engine (nsppe) and achieving denial of service or remote memory manipulation without valid user credentials.

๐Ÿ•ธ๏ธ Connected Knowledge Graph & Provenance

CVE-2026-88779: Citrix NetScaler ADC & Gateway SAML Buffer Overflow VulnerabilityVULNERABILITY

Connected Nodes: 1
Active Relationships (Outgoing)
→ affectsPRODUCTCitrix NetScaler ADC
98% VERY_HIGH

Software platform affected by security vulnerabilities and agentic attack patterns.

๐Ÿ” Why is this related? (Evidence & Provenance)

“Confirmed security vulnerability in Citrix NetScaler ADC documented in Hermes dossier.”

Supporting Verified Evidence:

The vulnerability resides within the native NetScaler Packet Processing Engine (/netscaler/nsppe), which processes ingress Layer 7 HTTP and SAML protocol transactions in kernel-adjacent user space. When handling incoming SAML assertions (POST /saml/login or ACS consumer endpoints), the XML parsing routine extracts SAML attributes, signature values, and session indexes before verifying the cryptographic signature of the identity provider.

During attribute unmarshalling in ns_saml_parse_attribute_statement(), the length of user-controlled SAML attribute values is extracted from XML DOM elements without enforcing a boundary ceiling against the allocated fixed heap buffer:

/* Vulnerable SAML attribute unmarshalling routine in nsppe */
int ns_saml_parse_attribute_statement(xmlNodePtr attr_node, saml_session_t *session) {
char attr_value_buf[1024];
xmlChar *raw_val = xmlNodeGetContent(attr_node);
int val_len = xmlStrlen(raw_val);
/* Flaw: val_len is validated only against integer signedness, not buffer capacity */
if (val_len > 0) {
/* Heap/stack memory buffer overflow: unbounded memcpy copies up to 64KB */
memcpy(attr_value_buf, raw_val, val_len);
attr_value_buf[val_len] = '\0';
ns_saml_store_attribute(session, attr_value_buf);
}
xmlFree(raw_val);
return 0;
}

Because the memory buffer allocated on the heap for storing attribute fragments is constrained to standard token sizes, passing an oversized attribute string exceeding 1,024 bytes overwrites adjacent memory management structures, metadata headers, and function pointers within the nsppe process heap.

+-------------------------------------------------------------------------+
| CITRIX NETSCALER HEAP BUFFER OVERFLOW |
+-------------------------------------------------------------------------+
| |
| [External Attacker] |
| โ”‚ |
| โ”‚ HTTP POST /cgi/saml-auth (Malformed Assertion with 8KB Attr) |
| โ–ผ |
| [NetScaler Virtual Server (AAA / Gateway)] |
| โ”‚ |
| โ–ผ |
| [nsppe Packet Processing Engine] |
| โ”‚ |
| โ”œโ”€โ–บ ns_saml_parse_attribute_statement() |
| โ”‚ โ”‚ |
| โ”‚ โ”œโ”€โ–บ Reads attribute length without boundary check |
| โ”‚ โ”œโ”€โ–บ memcpy(attr_value_buf, raw_val, 8192) |
| โ”‚ โ”‚ |
| โ”‚ โ–ผ [HEAP CORRUPTION] |
| โ”‚ Buffer [1024B] Overwritten โ”€โ”€โ–บ Overwrites Function Pointers|
| โ”‚ |
| โ–ผ |
| [Process Crash / DoS] โ—„โ”€โ”€โ”€ or โ”€โ”€โ”€โ–บ [Memory Leak / Arbitrary Execution] |
| |
+-------------------------------------------------------------------------+

Product StreamVulnerable VersionsFixed ReleaseSecurity Advisory
NetScaler ADC & Gateway 14.1Prior to 14.1-73.4114.1-73.41CTX697200
NetScaler ADC & Gateway 13.1Prior to 13.1-64.2813.1-64.28CTX697200
NetScaler ADC 14.1-FIPSPrior to 14.1-73.41 FIPS14.1-73.41 FIPSCTX697200
NetScaler ADC 13.1-FIPS / NDcPPPrior to 13.1-37.28213.1-37.282CTX697200
NetScaler ADC & Gateway 12.1All versions (EOL)Upgrade to supported releaseEnd of Life / Migration required

To assess whether a specific appliance deployment is exposed, administrators must query the active running configuration for SAML configuration directives via the NetScaler CLI or configuration files:

Terminal window
# Check for SAML Service Provider actions
show authentication samlAction
# Check for SAML Identity Provider profiles
show authentication samlIdPProfile

If neither SAML Action nor SAML IdP Profile is bound to a virtual server, the appliance is not susceptible to unauthenticated remote triggering via SAML endpoints. However, because SAML authentication is standard for Microsoft Entra ID (Azure AD), Okta, and PingIdentity integrations, a large percentage of enterprise edge gateways actively expose this surface.


title: Citrix NetScaler SAML Buffer Overflow Exploitation Attempt
id: c714e82a-8991-4c12-a189-cve202688779
status: experimental
description: Detects oversized SAML POST requests directed at Citrix NetScaler ADC/Gateway authentication endpoints characteristic of CVE-2026-88779 exploitation.
author: Hermes Codex Threat Intelligence
date: 2026-10-05
references:
- https://support.citrix.com/s/article/CTX697200
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2026-88779
logsource:
category: webserver
product: netscaler
detection:
selection_path:
cs-method: 'POST'
cs-uri-stem|contains:
- '/cgi/saml-auth'
- '/saml/login'
- '/nf/auth/doSaml.do'
- '/vpn/index.html'
selection_payload:
cs-bytes|gt: 65536
condition: selection_path and selection_payload
falsepositives:
- Complex SAML assertions containing heavy XML signature chains and multi-group assertions
level: high

  1. Apply Vendor Patch CTX697200: Download the relevant build package from the Citrix customer portal (14.1-73.41, 13.1-64.28, or FIPS equivalent). Upload the tar archive to /var/nsinstall/ and perform a system update:

    Terminal window
    installns
    reboot
  2. Temporary Mitigation via Responder Policy (If Patching is Delayed): If an immediate reboot window cannot be scheduled, deploy a NetScaler Responder policy to inspect and drop incoming HTTP POST bodies exceeding safe SAML payload limits on exposed authentication virtual servers:

    Terminal window
    add responder policy pol_drop_oversized_saml "HTTP.REQ.URL.CONTAINS(\"/saml\") && HTTP.REQ.CONTENT_LENGTH.GT(32768)" DROP
    bind lb vserver vs_vpn_aaa -policyName pol_drop_oversized_saml -priority 10 -gotoPriorityExpression END -type REQUEST
  3. Terminate and Invalidate Existing Client Sessions: Following the update, terminate all established AAA and Gateway sessions to ensure malicious tokens or corrupted session entries cannot persist:

    Terminal window
    kill aaa user -all
    kill icaconnection -all
  4. Isolate Management Interfaces: Ensure NSIP (NetScaler IP) and SNIP interfaces are strictly isolated to out-of-band management subnets, blocking direct internet ingress to management services.