Description
LightFTP through 2.4 contains multiple data race vulnerabilities in ftpserv.c that allow anonymous attackers to cause undefined behavior by issuing LIST followed by ABOR commands without authentication. The control thread closes data_socket and file_fd descriptors while worker threads concurrently operate on the same fields in worker_thread_cleanup, allowing stale file descriptors to be reassigned by the OS and subsequently used by worker threads on unrelated resources, resulting in potential denial of service.
Published: 2026-08-06
Score: 8.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

LightFTP in versions up to 2.4 contains a data race bug in ftpserv.c. An attacker who can issue FTP commands without authenticating can send a LIST command followed by an ABOR command. The control thread closes the data socket and file descriptor while a worker thread is still using those descriptors. Because the operating system may allocate the same descriptors to a different file or socket, the worker thread can subsequently operate on an unrelated resource, producing undefined behavior that can crash the service or otherwise disrupt availability. This flaw is described by CWE‑820. The primary impact is the potential for a denial of service attack allowing an unauthenticated remote victim to cause the FTP server to become non‑responsive.

Affected Systems

The vulnerability affects the hfiref0x LightFTP product, specifically all releases through version 2.4. The affected code resides in ftpserv.c and the race occurs between the control thread and worker threads. Users running LightFTP 2.4 or earlier are at risk unless they apply a fix, if one is provided by the vendor.

Risk and Exploitability

The vulnerability receives a high CVSS score of 8.2, indicating significant severity. No EPSS score is publicly available, but the flaw is not currently listed in CISA’s KEV catalog. An attacker needs only to establish an unauthenticated FTP session, which is possible by default when anonymous login is enabled. The attack vector is likely network‑based remote exploitation via the FTP control connection. Because the flaw does not require privilege escalation or a prior compromise, it is accessible to any external user who can reach the FTP service. While no public exploits have been reported, the clear, straightforward race condition makes it a viable candidate for exploitation with minimal effort.

Generated by OpenCVE AI on August 6, 2026 at 16:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade LightFTP to a version that has fixed the data‑race issue, if such a release is available from hfiref0x.
  • If an update is not yet available, immediately disable anonymous FTP login to prevent unauthenticated users from sending LIST and ABOR commands.
  • As an intermediate measure, restrict or block LIST and ABOR commands from remote hosts using network firewall rules or FTP server configuration limits; monitor logs for abnormal command sequences.
  • Apply patches or source code updates that ensure the control thread does not close shared descriptors while worker threads are still executing, addressing the underlying race condition in ftpserv.c.

Generated by OpenCVE AI on August 6, 2026 at 16:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 06 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Hfiref0x
Hfiref0x lightftp
Vendors & Products Hfiref0x
Hfiref0x lightftp

Thu, 06 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Description LightFTP through 2.4 contains multiple data race vulnerabilities in ftpserv.c that allow anonymous attackers to cause undefined behavior by issuing LIST followed by ABOR commands without authentication. The control thread closes data_socket and file_fd descriptors while worker threads concurrently operate on the same fields in worker_thread_cleanup, allowing stale file descriptors to be reassigned by the OS and subsequently used by worker threads on unrelated resources, resulting in potential denial of service.
Title LightFTP 2.4 Data Race Condition via ABOR Command in ftpserv.c
Weaknesses CWE-820
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Hfiref0x Lightftp
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-06T15:13:16.721Z

Reserved: 2026-08-04T20:17:18.298Z

Link: CVE-2026-70637

cve-icon Vulnrichment

Updated: 2026-08-06T17:24:07.133Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-06T17:30:16Z

Weaknesses