Skip to main content

LightFTP CVE-2026-67607

| EUVDEUVD-2026-51558 HIGH
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-07-31 disclosure@vulncheck.com GHSA-857x-mm78-cq2m
8.2
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Connect to LightFTP TCP/21
  2. Delivery
    Send ABRT command to trigger worker_thread_cleanup()
  3. Exploit
    Race new connection to reuse FTP context before pthread_join() executes
  4. Execution
    pthread_join() receives invalid thread ID
  5. Impact
    LightFTP process crashes and service goes offline

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

No authentication is required - the CVSS PR:N vector confirms unauthenticated remote exploitation against any default LightFTP 2.3.1 deployment. The race condition is triggered by the concurrent occurrence of two events: an active ABRT command initiating worker_thread_cleanup(), and a new inbound FTP connection reusing the same FTP context. The primary limiting factor is AC:H - the attacker must win a narrow timing window between the WorkerThreadId re-check and the pthread_join() call, which requires rapid, repeated concurrent connection attempts rather than a single-shot exploit. No non-default configuration or special feature enablement is required; the vulnerable code path is in the core connection management logic. Exploitation is further limited to denial-of-service only - no code execution or data access is achievable through this vector.

Impact

The CVSS 4.0 score of 8.2 reflects network-reachable, unauthenticated, no-user-interaction exploitation - a serious posture for any publicly exposed LightFTP instance. However, AC:H correctly captures that this is a timing-dependent race requiring precise concurrent connection sequencing, meaningfully reducing opportunistic exploitability compared to deterministic memory corruption bugs. No KEV listing exists, and no confirmed working exploit for CVE-2026-67607 specifically has been identified; the zeroscience/tuktam reference addresses CVE-2024-11144, a related but distinct CVE. The impact is strictly limited to availability (VA:H) - no confidentiality or integrity compromise is achievable through this path. Real-world risk is meaningful primarily for organizations running LightFTP on internet-facing infrastructure; internal-only deployments face substantially lower exposure due to the network access prerequisite and the timing-dependent exploitation requirement.

Exploit ScenarioDerived

An attacker with network access to a public-facing LightFTP 2.3.1 server floods the service with rapid concurrent connections, timing a new connection to reuse the FTP context precisely during an ongoing ABRT-triggered cleanup. When the race is won, pthread_join() receives an invalid thread ID, causing the LightFTP process to crash and the FTP service to go offline. The race window is narrow, requiring repeated automated attempts, but no credentials are needed and success is achievable through connection cycling tooling.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 31, 2026

Server crash in LightFTP 2.3.1 is remotely triggerable by unauthenticated attackers exploiting a TOCTOU race condition in the ABRT cleanup path, enabling denial-of-service without credentials. The flaw arises because WorkerThreadId is re-checked outside the MTLock mutex between worker_thread_cleanup() and pthread_join(), allowing a racing new connection to cause pthread_join() to operate on an invalid thread ID. No active exploitation is confirmed (not in CISA KEV), though a related case study for CVE-2024-11144 - a prior incomplete fix of this same flaw - exists in the zeroscience/tuktam repository.

RemediationAI

No vendor-released patch version for CVE-2026-67607 was identified in the available data at time of analysis. The primary compensating control is to restrict network access to the LightFTP service to trusted IP ranges using host-based firewall rules or network ACLs blocking untrusted clients from reaching TCP port 21; this directly eliminates the network attack vector without requiring a code change, though it limits the service's accessibility. If public FTP access is operationally required, deploying a reverse proxy or connection-rate-limiting layer in front of LightFTP can reduce an attacker's ability to establish the rapid concurrent connections needed to win the race. Monitor the VulnCheck advisory at https://www.vulncheck.com/advisories/lightftp-race-condition-dos-via-worker-thread-cleanup and the upstream LightFTP project for a patched release. Given that CVE-2024-11144 was already an incomplete fix of the same root cause, any future patch should be validated under concurrent connection load testing before being considered definitive.

Affected VersionsENISA

LightFTP 0 ≤2.3.1

Affected Packages

euvd lightftp no fix

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

LightFTP is a lightweight open-source FTP server written in C using POSIX threads (pthreads). The vulnerability is classified as CWE-367 (Time-of-Check Time-of-Use / TOCTOU), a class of concurrency flaw where a shared resource is read for a condition check and then used, but another thread can modify that resource between the check and the use. Specifically, worker_thread_cleanup() reads WorkerThreadId and then calls pthread_join() on it, but this check-then-use sequence is not protected by the MTLock mutex. A concurrent new FTP connection that reuses the same FTP context can interleave between the check and the join call, passing an invalid or already-recycled thread ID to pthread_join(). On most POSIX implementations, calling pthread_join() on an invalid thread ID results in undefined behavior manifesting as a process crash. The note that CVE-2024-11144 was an incomplete fix indicates the mutex gap has persisted across at least one prior remediation attempt.

Know when the next one hits your stack

  • 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 8.2 HIGH
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
vuln.today AI 5.9 MEDIUM

Network-reachable unauthenticated, but AC:H for timing-dependent race; impact is process crash only, no scope change or C/I impact.

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

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

DescriptionCVE.org

LightFTP 2.3.1 contains a race condition vulnerability that allows remote attackers to crash the server by racing a fresh connection that reuses the FTP context against an in-progress ABRT cleanup. Attackers can exploit the unprotected re-check of WorkerThreadId between worker_thread_cleanup() and pthread_join() outside of MTLock to cause pthread_join() to operate on an invalid thread ID, resulting in a server crash. CVE-2024-11144 identifies an incomplete fix of this vulnerability.

Executive ViewAI

Why It Matters

LightFTP 2.3.1 is vulnerable to a denial-of-service attack (CVSS 8.2) triggered by unauthenticated remote attackers exploiting a timing flaw in thread cleanup, causing server crashes. With no patch available, organizations running this FTP server face unmitigated availability risk and should prioritize immediate mitigation or product replacement.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting network access via IP allowlisting and firewall rules, implementing connection rate-limiting to slow exploitation attempts, monitoring for abnormal FTP connection spike patterns, and accelerating evaluation and deployment of alternative FTP server products.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
niche open-source FTP server, limited enterprise deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

61
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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