CVE DatabaseCVE-2025-6543
한국어 권고문 →
CVE-2025-65439.8/CRITICALCISA KEVCWE-119

Citrix NetScaler ADC and Gateway Memory Overflow Vulnerability (CVE-2025-6543) Critical Security Advisory

⚡ Jump to Patch
Affected Vendors
citrix
Affected Components
netscaler adc, netscaler gateway
Published Date
2025-06-25
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
10.4%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Citrix NetScaler ADC and NetScaler Gateway configured as a Gateway (VPN virtual server, ICA Proxy, CVPN, RDP Proxy) or AAA virtual server

Impact

Unauthenticated remote attackers can trigger a memory overflow by sending crafted packets, leading to control flow hijacking, Remote Code Execution (RCE), or Denial of Service (DoS)

Mitigation

Immediately upgrade to the latest patched firmware versions provided by Citrix, and restrict access to exposed gateway interfaces until patched

Affected Products & Version Scope

All versions of Citrix NetScaler ADC and NetScaler Gateway with Gateway or AAA virtual server configurations enabled

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Refer to Citrix Security Advisory CTX694788 to identify and download the appropriate patched firmware version for your appliance. Use the following CLI commands to verify the current version and apply the update.

bash
# 1. Check the current NetScaler software version and build
show version

# 2. Extract the downloaded firmware package (e.g., build-14.1-xx.xx.tgz)
shell
tar -xvzf /var/nsinstall/build-14.1-xx.xx.tgz -C /var/nsinstall/

# 3. Run the installation script and reboot the appliance
cd /var/nsinstall/
./installns
reboot

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict access to the Gateway and AAA virtual servers using firewall rules or apply a Responder Policy to drop suspicious, oversized requests.

bash
# Define a pattern set for trusted IP addresses
add policy patset Trusted_IPs
bind policy patset Trusted_IPs '203.0.113.0' -index 1

# Create and bind a responder policy to drop oversized requests from untrusted sources
add responder policy block_malicious_req 'HTTP.REQ.HEADER("Content-Length").INTEGER_VALUE.GT(65535) && HTTP.REQ.SRCIP.IN_SUBNET(Trusted_IPs).NOT' DROP
bind responder global block_malicious_req 100 END -type REQ_OVERRIDE

3. Log Audit & IoC Verification Commands

Inspect the appliance for signs of exploitation, such as unexpected packet engine crashes or core dumps.

bash
# 1. Check for the existence of core dump files generated by process crashes
shell ls -la /var/core/

# 2. Search system logs for memory allocation errors or segmentation faults
shell zgrep -iE 'sigsegv|crash|oom|memory' /var/log/ns.log*
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
NordLayer / Zero-Trust Network Access
As this vulnerability is actively exploited in the wild (CISA KEV), immediate application of the official Citrix security patch is strongly recommended.

Stop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access

Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.

90% Attack Surface Reduction · Hardware-Free

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2025-6543) is a critical memory overflow vulnerability (CWE-119) residing in the memory management routines of Citrix NetScaler ADC and NetScaler Gateway. It manifests when the appliance is configured to run Gateway services (VPN virtual server, ICA Proxy, CVPN, RDP Proxy) or AAA virtual servers. The root cause lies in insufficient validation of incoming network packet sizes or structures, allowing unauthenticated remote attackers to overwrite adjacent memory spaces.

2. Exploitation Mechanics & Attack Scenario

An attacker targets the exposed Gateway or AAA virtual server port (typically HTTPS port 443) by transmitting specially crafted malicious HTTP/TLS requests. When the NetScaler Packet Engine (NSPE) processes these requests, the lack of boundary checks leads to a heap or stack-based buffer overflow. By carefully structuring the payload, the attacker can overwrite critical execution pointers to hijack the control flow and execute arbitrary code, or crash the packet engine repeatedly, resulting in a complete Denial of Service (DoS).

3. Infrastructure & Business Impact

Citrix NetScaler appliances serve as critical entry points for enterprise networks. This vulnerability has been assigned a CVSS score of 9.8 (Critical) and is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild. Successful exploitation allows attackers to bypass authentication, establish a foothold within the internal network, exfiltrate sensitive data, deploy ransomware, or disrupt business continuity.

Official Vendor Advisories & References

NVD Original English Description

Memory overflow vulnerability leading to unintended control flow and Denial of Service in NetScaler ADC and NetScaler Gateway when configured as Gateway (VPN virtual server, ICA Proxy, CVPN, RDP Proxy) OR AAA virtual server

Frequently Asked SecOps Questions (CVE-2025-6543)

FAQ

Q1. How critical is CVE-2025-6543 and is it actively exploited in the wild?

CVE-2025-6543 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 10.4%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2025-6543?

Primary impacted vendors include citrix across netscaler adc, netscaler gateway. Scope summary: All versions of Citrix NetScaler ADC and NetScaler Gateway with Gateway or AAA virtual server configurations enabled

Q3. What temporary mitigations or workarounds exist for CVE-2025-6543 before patching?

[Mitigation] Immediately upgrade to the latest patched firmware versions provided by Citrix, and restrict access to exposed gateway interfaces until patched Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2025-6543

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (citrix)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2025-6543 Citrix NetScaler ADC and Gateway Memory Overflow Vulnerability (CVE-2025-6543) Critical Security Advisory (CVSS 9.8) - Patch & Workaround | CVE Pulse