NetScaler ADC and Gateway (Gateway and AAA virtual servers)
CVE-2025-5777: CitrixBleed 2 leaks memory from NetScaler Gateways, exploited
Insufficient input validation in NetScaler ADC and Gateway leaks memory to unauthenticated attackers on Gateway and AAA virtual servers, which lets them hijack sessions. Exploitation began in June 2025, CISA lists it in KEV with known ransomware use, and public PoCs exist.
Published Updated NetScaler advisory CTX693420
Affected and fixed versions
| Product / branch | Fixed in |
|---|---|
| NetScaler ADC and Gateway 14.1 before 14.1-43.56 | 14.1-43.56 or later |
| NetScaler ADC and Gateway 13.1 before 13.1-58.32 | 13.1-58.32 or later |
| NetScaler ADC and Gateway 13.0 (end of life) | No fix. Upgrade to a supported fixed version |
Always confirm against the vendor advisory, which lists every fixed hotfix.
What it is
CVE-2025-5777, nicknamed CitrixBleed 2, is an out-of-bounds read in NetScaler ADC and Gateway (CWE-125). Citrix rates it 9.3 under CVSS 4.0. An unauthenticated attacker sends a malformed login request and gets back a small piece of the appliance’s memory. watchTowr found that a POST to the login endpoint with a login parameter but no = or value returns memory inside an <InitialValue> tag. Each request leaks only a few bytes, so attackers repeat it.
The aim is session hijacking. watchTowr and Horizon3 showed that repeated requests can expose session tokens, as BleepingComputer summarises. Huntress saw a user log in at 13:07 UTC, then the same session driven from an attacker’s address at 13:28 UTC, with no successful login from that address. A stolen session skips the password and MFA.
Exploitation began before most people knew about it. Beaumont dates the first access to 20 June 2025, three days after the advisory, while Citrix said on 26 June it had no evidence of exploitation. CISA added the CVE to KEV on 10 July 2025 and lists ransomware use. Huntress later tied the bug to six intrusions in 2026, one ending in DragonForce ransomware. The attacker was in the network within about an hour of the first access in one case.
The same Gateway and AAA conditions applied to CVE-2025-6543, fixed in the same period. The sources I opened treat that as a separate bug, exploited as a zero-day.
Am I affected?
You need both of these:
- A build older than 14.1-43.56 or 13.1-58.32.
- The appliance configured as a Gateway (VPN virtual server, ICA Proxy, CVPN or RDP Proxy) or as an AAA virtual server.
Versions 13.0 are end of life and get no fix. The NetScaler blog says 12.0 and 13.0 are end of life, while BleepingComputer says 12.1 and 13.0. The CVE record lists neither, but they are unsupported either way. Citrix-managed cloud services and Adaptive Authentication are already upgraded. This page does not cover the 13.1 FIPS and NDcPP builds; the sources I opened give no build numbers for them, so check Citrix bulletin CTX693420.
Compare your build with the list above and check which virtual server types you run.
What to do
- Upgrade to 14.1-43.56, 13.1-58.32 or later. Citrix says there are no mitigations and that WAF signatures can’t fix this bug.
- After the upgrade, kill active sessions. Citrix says to run its kill-sessions commands for this CVE once the fixed firmware is running, and not to export the session list first. Take the exact commands from bulletin CTX693420. Huntress and Beaumont both warn that stolen tokens can survive patching. Beaumont also advises ending RDP, SSH, Telnet, connection and AAA sessions.
- Move off end-of-life branches such as 13.0. They get no fix.
- Forward NetScaler logs to a SIEM. Huntress notes they rotate quickly.
- If the appliance was exposed while vulnerable, assume sessions were stolen. Huntress’s cases went from a hijacked session to a local admin account, a rogue remote-management tool and ransomware. Review the Citrix hosts and domain behind the Gateway (see Detection), reset credentials for users with sessions on the appliance, and rebuild any host where you find the signs below.
Detection
On the NetScaler:
- POSTs to
/p/u/doAuthentication.do(or equivalents) with aloginparameter and no value, often withContent-Length: 5(Beaumont, watchTowr). Bursts from one source address matter most. AAA LOGIN_FAILEDevents inns.logwith unprintable bytes in the User field. Huntress counted 5,937 in about five hours on one appliance.- Logoff entries with odd usernames, for example containing
#, or memory contents in the wrong fields (Beaumont). - Citrix’s July 2025 log guidance: messages such as “Authentication is rejected for” and “AAA Message” with non-ASCII bytes (0x80 to 0xFF), as reported by BleepingComputer.
- A session without a matching login: a client IP in the VPN logs that differs from the source address, or a session used from an address that never authenticated.
- Search back to at least 17 June 2025, and further if your logs allow.
On Citrix hosts and the network behind them (Huntress):
- Check the Application log (MetaFrameEvents provider) and
TerminalServices-LocalSessionManager/Operational. Correlate session IDs with client names and source IPs, and look for the hostnames in the indicators section. - Alert on
sc start AppMgmtorgpupdate /forcelaunched from unsigned executables in user-writable paths. - Audit new local Administrators members, the account names in the indicators section, and unexpected ScreenConnect, Zoho Assist or Netbird installs.
- Look for PsExec with
-s, Impacket against domain controllers, and Mimikatz. - Registry:
SymbolicLinkValue(REG_LINK) entries under the RdpBus device class{28d78fad-5a12-11d1-ae5b-0000f803a8c2}.
Indicators of compromise
These come from Huntress's six 2026 intrusions, not from the 2025 mass exploitation. No attacker IP addresses were found in the sources; BleepingComputer says researchers complained that Citrix did not share the indicators they gave it. Hostnames, relays and file names are easy to change, so treat a miss as inconclusive. The NetScaler-side signs are in Detection.
| Indicator | Type | Reported by |
|---|---|---|
| ctxsvc | Account nameLocal account created by the attacker | Huntress |
| CtxAppVCOMService | Account nameLocal account created by the attacker | Huntress |
| test | Account nameCreated by the attacker, but may be legitimate in some environments | Huntress |
| WIN-4E0AP4JTJR9 | Host nameClient name leaked through printer mapping | Huntress |
| WIN-VI960VQI4I6 | Host nameClient name leaked through printer mapping | Huntress |
| relay.dltsolutions[.]top | DomainRogue ScreenConnect relay | Huntress |
| relay.eurofin[.]digital | DomainRogue ScreenConnect relay, port 8041 | Huntress |
| vtps[.]us | DomainScreenConnect infrastructure | Huntress |
| opa.tlsd[.]shop | DomainNetbird relay | Huntress |
| c84739655ce1af0a0269138263d47567418f69e0f75e249f8e23bc21802209e2 | SHA-256SHA256, local privilege escalation tool | Huntress |
| eb083365dc70d0294e8c4f55a2e78be0edb0f3497f2a06a70c9f474dafab48d8 | SHA-256SHA256, local privilege escalation tool | Huntress |
| c4fcae3847946173bf0b3cedf5d97a9e3d18090023842f942ba544fa7fda180d | SHA-256SHA256, DragonForce ransomware (1.exe) | Huntress |
| /p/u/doAuthentication.do | File pathLogin endpoint that leaks memory. Look for POSTs with a login parameter that has no value | watchTowr |
Sources
Spotted a mistake on this page? Tell us, and we'll fix it.
Page changelog
- Full analysis published.
KEV status, EPSS score and vendor data refreshed automatically, last on 24 Nov 2026.