Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate exposed Xlight SSH/SFTP port
-
DeliveryOpen pre-auth TCP connection
-
ExploitSend malformed SSH identification banner
-
ExecutionOverflow heap buffer via faulty recv loop
-
PersistCorrupt heap / execute code
-
ImpactCompromise FTP server host
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap 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 only that the Xlight FTP Server (version before 3.9.5) has its SSH or SFTP service enabled and network-reachable; the attacker sends a crafted/malformed SSH client identification string during the initial banner exchange, before authentication. No credentials, no valid account, and no user interaction are needed (CVSS PR:N/UI:N), and the trigger fires on any SSH or SFTP connection per the description. Limiting factors: the SSH/SFTP module must be enabled (deployments using only plain FTP/FTPS do not expose the vulnerable parser), the listening port must be reachable from the attacker's network position, and only Xlight versions prior to 3.9.5 are affected. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, base 9.3) signals a maximally exposed condition: network-reachable, low complexity, no privileges, no user interaction, with high impact to confidentiality, integrity, and availability. These signals align rather than conflict - the description confirms remote, unauthenticated, pre-auth reachability on any exposed SSH/SFTP port, so the network vector and lack of privileges are corroborated by the text. No EPSS score was supplied, and the CVE is not in CISA KEV, and no POC is referenced, so real-world exploitation is currently unproven - the risk is potential rather than demonstrated. However, pre-auth heap overflows in a listening network service are a historically high-value target for exploit developers, so the absence of a public exploit should be treated as a timing artifact, not as safety. SSVC-style reading: exploitation status is 'none/POC-unknown', the flaw is plausibly automatable (single crafted banner, no interaction), and technical impact is total - favoring prompt patching despite the missing EPSS/KEV signals. Net: a genuine high-priority issue for any internet-facing Xlight deployment, tempered mainly by the product's modest deployment footprint. |
| Exploit ScenarioDerived | An attacker scans the internet for exposed Xlight SFTP/SSH ports and opens a raw TCP connection to a server running a version before 3.9.5. Before sending any credentials, they transmit a malformed, over-length SSH client identification banner that overruns the heap receive buffer, corrupting adjacent heap structures to crash the service or, with a tailored payload, achieve remote code execution in the server process. No authentication, user interaction, or prior access is required, and no public exploit is currently identified though the low complexity makes weaponization feasible. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 29, 2026
Pre-authentication heap buffer overflow in Xlight FTP Server before 3.9.5 lets remote unauthenticated attackers write past a heap buffer by sending a malformed SSH client identification string over any SSH or SFTP connection. The flaw is a logic error in the recv-loop termination condition (an OR used where AN AND is required), triggering before authentication and creating strong potential for remote code execution. Reported by VulnCheck; no public exploit identified at time of analysis, and it is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade to Xlight FTP Server 3.9.5 or later, which corrects the recv-loop termination logic; the fix is noted in the vendor changelog at https://www.xlightftpd.com/whatsnew.htm and analyzed at https://www.vulncheck.com/advisories/xlight-ftp-server-pre-auth-heap-buffer-overflow-via-ssh-parser. Where immediate upgrade is not possible, restrict exposure of the SSH/SFTP listener: block or firewall the SFTP/SSH port (default TCP 22, or whatever custom port is configured) at the network edge and allow only trusted management IP ranges via an allowlist, accepting that this breaks remote SFTP access for legitimate off-net clients. If SFTP is not actually used, disable the SSH/SFTP protocol module in the Xlight configuration entirely so the vulnerable pre-auth parser is never reached, leaving plain FTP/FTPS unaffected. Because the overflow occurs before authentication, credential hardening and account lockouts provide no protection - network reachability is the only meaningful control until patched.
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
Xlight FTP Server is a commercial Windows FTP/SFTP/FTPS server that embeds its own SSH transport implementation to support SFTP. During the SSH protocol handshake, the client first sends an identification string (the 'SSH-2.0-...' banner) that the server reads in a receive loop before any key exchange or authentication. Per the advisory, the loop's termination check uses an incorrect boolean operator (OR instead of AND), so the loop fails to stop at the correct buffer boundary and copies attacker-controlled data past the end of a heap-allocated buffer. This maps to CWE-122 (Heap-based Buffer Overflow): a classic memory-safety defect where insufficient bounds checking on network-controlled input corrupts adjacent heap metadata or allocations. Because the parsing occurs in the pre-auth banner-exchange phase, no credentials or session state are needed to reach the vulnerable code. The CPE cpe:2.3:a:xlight:xlight_ftp_server:*:*:*:*:*:*:*:* covers the Xlight FTP Server application across all versions prior to the fixed release.
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:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Remote, pre-auth, no-interaction network banner parsing (AV:N/AC:L/PR:N/UI:N); heap overflow enables potential code execution with full C/I/A impact and no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Xlight FTP Server before 3.9.5 contains a pre-authentication heap buffer overflow vulnerability that allows remote unauthenticated attackers to write past the end of a heap buffer by sending a malformed SSH client identification string. A logic error in the recv loop's termination condition uses an incorrect OR operator where an AND operator is required, enabling exploitation on any SSH or SFTP connection before authentication occurs.
Executive ViewAI
Xlight FTP Server before version 3.9.5 contains a critical pre-authentication heap buffer overflow vulnerability (CVSS 9.3) that allows unauthenticated remote attackers to potentially execute code on affected systems. Any organization running vulnerable versions of Xlight FTP Server faces immediate risk, as the flaw is exploitable without credentials before authentication mechanisms engage. No vendor-released patch identified at time of analysis, making immediate containment through network isolation critical for organizations relying on this software.
Interim mitigations while awaiting vendor patch: (1) Restrict SSH and SFTP network access via firewall rules to only trusted source IP addresses and block all others by default; (2) Deploy endpoint detection and response (EDR) and network intrusion detection/prevention systems to monitor for abnormal heap buffer activity on FTP/SFTP connections; (3) Disable SFTP and SSH services entirely if not operationally required; (4) Implement VPN or jump-host access models to enforce additional authentication layers before reaching Xlight FTP Server.
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 heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Xlight FTP Server 3.9.1 contains a structured exception handler (SEH) overwrite vulnerability that allows local attacker
Remote code execution in Xlight FTP Server versions before 3.9.5 allows unauthenticated attackers to corrupt stack memor
Xlight FTP Server before 3.9.5 on Windows leaks the system's GetTickCount() value to unauthenticated remote attackers vi
EUVD-2026-50398
GHSA-2w83-j663-7qg5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB