Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconLocal access obtained
-
DeliveryCraft malicious config file
-
ExploitModify or inject config into bftpd path
-
InstallTrigger bftpd parser/reload
-
C2Expand_groups overflows heap
-
ExecuteMemory corruption occurs
-
ImpactLimited impact achieved
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) Local access to the target system - remote attackers cannot exploit this vulnerability. (2) Authenticated login as a local user account (PR:L). (3) Ability to modify or supply a crafted bftpd configuration file that the service will parse - this typically requires filesystem write access to the configuration directory (e.g., /etc/bftpd) or the ability to create a custom configuration passed as an argument to bftpd. (4) bftpd process must execute the expand_groups function during configuration parsing, which occurs at startup or reload. (5) High attack complexity (AC:H) indicates the exploit is not reliable and may depend on: specific memory alignment, libc/heap allocator behavior, or precise timing of concurrent operations. Non-default or service-disabling configurations: if bftpd is not running, not parsing configuration files, or configured to skip group expansion logic, the vulnerability is inaccessible. |
| Impact | This vulnerability presents LOW real-world risk despite affecting all bftpd versions up to 6.2. The CVSS 4.0 vector (1.1 score) and EPSS of 0.02% (4th percentile) indicate minimal practical impact. Key limiting factors: (1) AV:L restricts attacks to local access only, eliminating remote exploitation; (2) AC:H denotes high attack complexity, requiring precise conditions or memory state knowledge; (3) PR:L requires prior authentication as a local user, eliminating unauthenticated exploitation; (4) VC:L/VI:L/VA:L caps impact to low confidentiality, integrity, and availability - the vulnerability does not enable privilege escalation or remote code execution. The E:P flag (publicly available exploit) and lack of vendor response are concerning from a supply-chain perspective, but the impact boundary remains bounded. The six-month-old CVSS vector suggests this is a legacy/unmaintained project, reducing likelihood of active patching. SSVC framework analysis: exploitation is possible (E:P), likely not automatable across systems (AC:H), and impact is low - this should rank as 'Defer' or 'Scheduled' rather than immediate remediation priority unless the system processes untrusted configuration files from attackers with local access. |
| Exploit ScenarioDerived | A local user with authenticated access to the system (PR:L prerequisite) crafts a malicious bftpd configuration file that includes oversized group expansion directives. When bftpd parses this configuration, the expand_groups function writes beyond the heap buffer's allocated size, corrupting adjacent memory structures. Under high-complexity conditions (specific memory layout, precise timing, or particular libc version), this could trigger information disclosure or denial of service. Public exploit code exists but is difficult to weaponize reliably due to the high complexity and dependency on memory state. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Heap-based buffer overflow in bftpd up to version 6.2 within the expand_groups function of the configuration file handler allows local authenticated attackers to cause limited memory corruption with high attack complexity. Public exploit code is available, though the vulnerability requires local access and elevated privileges (PR:L), significantly limiting real-world exploitation potential compared to its CVSS score. The vendor did not respond to early disclosure.
RemediationAI
No vendor-released patch identified at time of analysis; the vendor did not respond to early disclosure. Immediate remediation is limited to environment-level controls: (1) Restrict local system access to trusted administrators only - this eliminates the PR:L prerequisite for exploitation. (2) Enforce strict file permissions on bftpd configuration files (e.g., 0600 or 0400) to prevent unauthorized modification by local accounts. (3) Disable or remove bftpd if it is not actively used; if FTP service is required, migrate to maintained alternatives such as vsftpd (actively patched) or Pure-FTPd. (4) If bftpd must remain in use, monitor configuration file modifications via file integrity monitoring (FIM) tools to detect tampering attempts. (5) Run bftpd in a sandboxed or containerized environment with minimal privileges and restricted filesystem access to limit blast radius of heap corruption. Note: Given the vendor's non-responsiveness and the vulnerability's age, long-term solution should prioritize migration away from bftpd to supported FTP daemons.
Affected ProductsAI
bftpd versions up to and including 6.2 are affected. The vulnerable component is the expand_groups function within options.c of the configuration file handler. No CPE string was provided in references; affected installations would typically match cpe:*:*:bftpd:*:*:*:*:*:*. The vendor (bftpd maintainers) did not respond to disclosure, suggesting no official patch or patched version has been released.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the expand_groups function within options.c, a component responsible for parsing and processing configuration file directives in bftpd. The flaw is classified as CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), indicating the function fails to validate buffer boundaries when processing group expansion directives. This typically occurs when configuration parsing routines allocate fixed-size buffers on the heap without proper length checking, allowing crafted configuration entries to write beyond allocated memory. The local attack vector and high complexity suggest the exploit requires careful manipulation of configuration files and likely depends on specific memory layout conditions or race conditions.
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
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A weakness has been identified in bftpd up to 6.2. Impacted is the function expand_groups of the file options.c of the component Configuration File Handler. Executing a manipulation can lead to heap-based buffer overflow. It is possible to launch the attack on the local host. Attacks of this nature are highly complex. The exploitability is considered difficult. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
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.
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB