CitrixBleed 2, NetScaler memory overread that leaks session tokens
A NetScaler flaw leaks login session tokens from memory.
Are you affected?
The free scanner that answers this opens soon. Until then, the steps below work by hand.
What happened
NetScaler memory leak exposes session tokens. CVE-2025-5777 is insufficient input validation that leads to a memory overread when NetScaler ADC or Gateway is configured as a Gateway (VPN virtual server, ICA Proxy, CVPN, RDP Proxy) or AAA virtual server. Help Net Security reports that it may let unauthenticated attackers grab valid session tokens from the memory of internet-facing NetScaler devices, and that Citrix advised terminating active sessions after upgrading so stolen tokens are voided. NetScaler said on 2025-06-26 there was no evidence of exploitation; CISA added the flaw to its Known Exploited Vulnerabilities catalog on 2025-07-10.
- Exposure starts
- Not known yet (no source says when exploitation began)
- Exposure ends
- Not known yet (exposure ends when each appliance is upgraded and its sessions killed)
- Confidence
- low
- Scope
- every active session on a NetScaler ADC or Gateway configured as a Gateway or AAA virtual server and running a build before the fix
What to do, in this order
- Upgrade NetScaler ADC and Gateway to 14.1-43.56, 13.1-58.32 or the fixed FIPS or NDcPP build
The upgrade is the fix; killing sessions first lets the attacker read the new tokens from memory.
- Kill all active ICA, PCoIP and other Gateway and AAA sessions on every node
Citrix advised terminating sessions after upgrading so potentially stolen session tokens are voided (Help Net Security); a reboot is not the recommended substitute.
anything else stored there
- Reset the passwords of users who signed in through the appliance while it was unpatched
Advisory inference. Leaked memory may have held more than session tokens; no source read here tells customers to reset passwords.
anything else stored there
Notes
- Fixed builds (Help Net Security): 14.1-43.56, 13.1-58.32, 13.1-37.235-FIPS and NDcPP, 12.1-55.328-FIPS. Releases 12.1 and 13.0 are end of life and get no fix.
- NetScaler advises running the kill-sessions commands after upgrading and says exporting a list of active sessions is not recommended; Help Net Security quotes NetScaler that rebooting instead is not recommended.
- On clusters run the commands on every node; on a high-availability pair, the primary active node is enough (Help Net Security).
How to tell if you’re affected
- NetScaler ADC or Gateway build below the fixed release on its branch
- Any NetScaler 12.1 or 13.0 appliance (end of life)
Sources
- NVD CVE-2025-5777
- CISA: adds one known exploited vulnerability to catalog (CVE-2025-5777)
- NetScaler: critical security updates for CVE-2025-6543 and CVE-2025-5777
- Help Net Security: Critical Citrix NetScaler bug fixed, upgrade ASAP (CVE-2025-5777)
Rotating the keys
Pro, $49 a year when it opens, plans the rotation of each affected key for this incident, in this order. Automatic rotation is in testing and included.
By hand, free: the steps above.