Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconReach SSH/SFTP listener
-
DeliveryNegotiate AES-GCM cipher
-
ExploitSend oversized length field
-
InstallOverflow stack buffer in GCM decrypt
-
C2Overwrite cookie and return address
-
ExecuteHijack control flow pre-auth
-
ImpactExecute code or crash service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the SSH/SFTP service is enabled and network-reachable and, critically, that an AES-GCM cipher is negotiated for the session - the CVSS 4.0 AT:P and the description's 'when a GCM cipher is negotiated' encode this exact requirement; the attacker controls cipher selection during the handshake, so it is generally satisfiable but can be blocked by disabling GCM ciphers server-side. No authentication and no user interaction are required (PR:N/UI:N), making it pre-auth against affected installs that offer GCM. The main limiting factor is that reliable code execution (versus a crash) is constrained by the stack cookie and return-address protections the overflow disturbs, so achieving RCE is materially harder than triggering the memory corruption. |
| Impact | The signals point to a genuinely high-priority issue: CVSS 4.0 base score 9.2 with AV:N/AC:L/PR:N/UI:N (network-reachable, no privileges, no user interaction) and high impact to confidentiality, integrity, and availability (VC:H/VI:H/VA:H). The key nuance is AT:P (Attack Requirements: Present) - exploitation is gated on a GCM cipher being negotiated for the session, so it is not entirely unconditional. No EPSS score, KEV listing, or POC was provided in the input, so real-world exploitation volume is unquantified. Because the overflow overwrites the stack cookie (rather than leaking it), dependable RCE is non-trivial and may often degrade to a denial of service (service crash); the 9.2 should be read as ceiling potential rather than proven turnkey RCE. The missing EPSS/KEV data is a gap - treat the RCE claim as researcher-assessed potential, not confirmed weaponization. |
| Exploit ScenarioDerived | An attacker who can reach the Xlight SSH port initiates an SSH handshake, negotiates an AES-GCM cipher, and sends a crafted packet whose length field exceeds the destination stack buffer, overflowing past the cookie and return address. Because this occurs before authentication, no credentials are needed; the most reliable outcome is a service crash (DoS), with remote code execution possible if the attacker can defeat the stack canary and ASLR. No public POC was provided at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 29, 2026
Remote code execution in Xlight FTP Server versions before 3.9.5 allows unauthenticated attackers to corrupt stack memory by sending malformed SSH packets once an AES-GCM cipher is negotiated during the SSH/SFTP handshake. An unvalidated length field is passed directly to the GCM decrypt routine, overwriting the stack cookie and saved return address before any authentication occurs, potentially yielding code execution as the FTP service. Reported by VulnCheck; no public exploit has been identified at time of analysis, but the pre-auth, network-reachable nature makes it a high priority.
RemediationAI
Upgrade to Xlight FTP Server 3.9.5 or later (Vendor-released patch: 3.9.5), the definitive fix; see the vendor changelog at https://www.xlightftpd.com/whatsnew.htm and the VulnCheck advisory at https://www.vulncheck.com/advisories/xlight-ftp-server-pre-auth-stack-buffer-overflow-via-ssh-gcm-cipher. If immediate patching is not possible, restrict network exposure of the SSH/SFTP listener (typically TCP 22) via firewall rules or a VPN so only trusted hosts can reach it, since the flaw is pre-authentication. As a targeted workaround, disable AES-GCM ciphers in the SSH cipher configuration (leaving CBC/CTR ciphers), which removes the specific vulnerable code path, at the cost of reduced cipher choice and possible interoperability issues with GCM-only clients; if SFTP is not required, disable the SSH/SFTP module entirely.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the SSH transport layer of Xlight FTP Server (cpe:2.3:a:xlight:xlight_ftp_server), a Windows FTP/SFTP server implementing SFTP-over-SSH. The root cause is CWE-121 (stack-based buffer overflow): an attacker-controlled length field from an incoming SSH packet is passed without validation into the AES-GCM decryption function, causing more bytes to be written to a fixed-size stack buffer than it can hold. Because the overflow occurs in the packet-processing path that runs before credential verification, it is reachable pre-authentication. The overflow reaches the stack canary and the saved return address - the classic precondition for control-flow hijacking - though the presence of the stack cookie means reliable RCE requires a cookie leak or bypass.
Know when Xlight gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network pre-auth (AV:N/PR:N/UI:N); AC:H because exploitation depends on GCM cipher negotiation and defeating the overwritten stack cookie for RCE; full C/I/A impact on the service.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Xlight FTP Server before 3.9.5 contains a pre-authentication stack buffer overflow vulnerability that allows unauthenticated attackers to corrupt stack memory by sending malformed SSH packets when a GCM cipher is negotiated. Attackers can craft packets with an unvalidated length field passed directly to the GCM decrypt function, overwriting the stack cookie and return address to potentially achieve remote code execution before any authentication occurs.
Executive ViewAI
Xlight FTP Server versions before 3.9.5 contain a critical unauthenticated remote code execution vulnerability allowing attackers to execute arbitrary commands on affected systems without authentication. Organizations running this FTP service face immediate risk of system compromise, data breach, and lateral movement, with no vendor patch currently available to remediate the threat.
No vendor-released patch identified at time of analysis. Implement these interim mitigations: (1) Deploy firewall-based network access controls restricting SSH/SFTP to only authorized subnets and IP ranges; (2) Disable SSH/SFTP services entirely where operationally feasible; (3) Run Xlight FTP Server under a dedicated service account with minimal privileges and no shell access; (4) Implement SSH connection rate-limiting and handshake monitoring to detect exploitation attempts; (5) Deploy IDS/IPS signatures to identify malformed SSH packets during GCM cipher negotiation; (6) Increase forensic logging and behavioral monitoring on affected systems to detect compromise.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Xlight FTP Server 3.9.1 contains a structured exception handler (SEH) overwrite vulnerability that allows local attacker
Pre-authentication heap buffer overflow in Xlight FTP Server before 3.9.5 lets remote unauthenticated attackers write pa
Xlight FTP Server before 3.9.5 on Windows leaks the system's GetTickCount() value to unauthenticated remote attackers vi
EUVD-2026-50399
GHSA-pvvv-gmf8-6fw8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB