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

ExploitedYes, in CISA KEVAdded 10 Jul 2025
Ransomware useKnownPer CISA
SeverityCRITICALCVSS 4.0 9.3
EPSS100%Chance of exploitation in 30 days
Public exploitYes
FixAvailable

Affected and fixed versions

Product / branchFixed in
NetScaler ADC and Gateway 14.1 before 14.1-43.5614.1-43.56 or later
NetScaler ADC and Gateway 13.1 before 13.1-58.3213.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

  1. 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.
  2. 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.
  3. Move off end-of-life branches such as 13.0. They get no fix.
  4. Forward NetScaler logs to a SIEM. Huntress notes they rotate quickly.
  5. 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 a login parameter and no value, often with Content-Length: 5 (Beaumont, watchTowr). Bursts from one source address matter most.
  • AAA LOGIN_FAILED events in ns.log with 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 AppMgmt or gpupdate /force launched 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.

IndicatorTypeReported by
ctxsvcAccount nameLocal account created by the attackerHuntress
CtxAppVCOMServiceAccount nameLocal account created by the attackerHuntress
testAccount nameCreated by the attacker, but may be legitimate in some environmentsHuntress
WIN-4E0AP4JTJR9Host nameClient name leaked through printer mappingHuntress
WIN-VI960VQI4I6Host nameClient name leaked through printer mappingHuntress
relay.dltsolutions[.]topDomainRogue ScreenConnect relayHuntress
relay.eurofin[.]digitalDomainRogue ScreenConnect relay, port 8041Huntress
vtps[.]usDomainScreenConnect infrastructureHuntress
opa.tlsd[.]shopDomainNetbird relayHuntress
c84739655ce1af0a0269138263d47567418f69e0f75e249f8e23bc21802209e2SHA-256SHA256, local privilege escalation toolHuntress
eb083365dc70d0294e8c4f55a2e78be0edb0f3497f2a06a70c9f474dafab48d8SHA-256SHA256, local privilege escalation toolHuntress
c4fcae3847946173bf0b3cedf5d97a9e3d18090023842f942ba544fa7fda180dSHA-256SHA256, DragonForce ransomware (1.exe)Huntress
/p/u/doAuthentication.doFile pathLogin endpoint that leaks memory. Look for POSTs with a login parameter that has no valuewatchTowr

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.

Get alerts

A notification when we publish a new analysis or a covered vendor gets a new actively exploited CVE. No account, no email.

Tell us what you think

What do you rely on here, what's missing, which vendor should we add? Every message is read by the editor.

Write to us

contact-us@patchtonight.com