Skip to main content

bftpd CVE-2025-11947

LOW
Buffer Overflow (CWE-119)
2025-10-19 cna@vuldb.com
1.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Recon
    Local access obtained
  2. Delivery
    Craft malicious config file
  3. Exploit
    Modify or inject config into bftpd path
  4. Install
    Trigger bftpd parser/reload
  5. C2
    Expand_groups overflows heap
  6. Execute
    Memory corruption occurs
  7. Impact
    Limited 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

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

Vendor (vuldb) PRIMARY 1.1 LOW
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

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

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

EPSS Score
0.0%
Top 96% exploitable
Data Quality
4 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 LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

6
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +6
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.

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