Skip to main content

Xlight FTP Server CVE-2026-67191

| EUVDEUVD-2026-50398 CRITICAL
Heap-based Buffer Overflow (CWE-122)
2026-07-29 VulnCheck GHSA-2w83-j663-7qg5
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Locate exposed Xlight SSH/SFTP port
  2. Delivery
    Open pre-auth TCP connection
  3. Exploit
    Send malformed SSH identification banner
  4. Execution
    Overflow heap buffer via faulty recv loop
  5. Persist
    Corrupt heap / execute code
  6. Impact
    Compromise 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Xlight FTP Server 0 <3.9.5

Affected Packages

euvd xlight_ftp_server fix: 3.9.5

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

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 29, 2026 - 17:02 EUVD
CVE Published
Jul 29, 2026 - 15:50 cve.org
CRITICAL 9.3

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.6%
Top 56% exploitable
Prevalence
Low
niche commercial Windows FTP/SFTP server, limited enterprise footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy