CVE-2026-53994
Received Received - Intake

Heap Overflow in ProFTPD mod_sftp

Vulnerability report for CVE-2026-53994, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-18

Last updated on: 2026-07-18

Assigner: VulnCheck

Description

ProFTPD mod_sftp contains a heap-based buffer overflow reachable by an authenticated SFTP user. The fxp_packet_read() function accepts the attacker-supplied 32-bit big-endian SFTP packet length without a minimum sanity check. A value of 0 causes an unsigned subtraction elsewhere in the read path to underflow to approximately 4 GB. That oversized request reaches the core memory allocator, where the rounded size is computed in size_t but passed to new_block() as a 32-bit int; the low 32 bits of 0x100000000 are 0, so new_block() returns a small (~512-byte) block while the caller is told it received ~4 GB. The subsequent fill loop then streams attacker-controlled bytes past the end of the 544-byte allocation, producing an attacker-controlled heap buffer overflow. An authenticated user can crash the per-connection ProFTPD session child on demand with a single malformed SFTP packet (packet_len=0 followed by a body greater than approximately 544 bytes), producing reliable authenticated remote denial of service. Depending on heap layout and adjacent allocations, heap metadata corruption and further consequences beyond denial of service may be possible, though only denial of service is demonstrated by the supplied proof of concept.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-18
Last Modified
2026-07-18
Generated
2026-07-19
AI Q&A
2026-07-18
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
proftpd proftpd From 1.3.9 (inc)
proftpd mod_sftp to 1.3.10 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-53994 is a heap-based buffer overflow in ProFTPD's mod_sftp module. An authenticated SFTP user can send a malformed packet with a length of 0, causing an unsigned integer underflow that tricks the system into requesting a 4 GB allocation. Due to size truncation, only a small block (~512 bytes) is actually allocated. When attacker-controlled data is written beyond this block, it overflows into adjacent memory, potentially crashing the ProFTPD session or causing further heap corruption.

Detection Guidance

To detect this vulnerability, monitor ProFTPD logs for crashes or errors in the mod_sftp module. Check for SFTP session disconnections or unusual memory usage patterns. Use network traffic analysis tools like Wireshark to inspect SFTP packets for malformed length fields (e.g., packet_len=0).

Commands: Check ProFTPD version with 'proftpd -v'. Inspect logs with 'journalctl -u proftpd' or 'tail -f /var/log/proftpd.log'. Use 'ss -tulnp | grep 22' to verify SFTP service status.

Impact Analysis

This vulnerability allows an authenticated remote attacker to crash the ProFTPD server's SFTP session, causing a denial of service. While the proof of concept only demonstrates crashing the session, further exploitation could potentially lead to heap metadata corruption or other serious consequences depending on memory layout. It requires an authenticated SFTP user account to exploit.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by enabling unauthorized denial-of-service attacks on ProFTPD servers handling sensitive data. GDPR requires protecting personal data integrity and availability, while HIPAA mandates safeguarding protected health information. A successful exploit could disrupt services, potentially leading to data unavailability or unauthorized access if heap metadata corruption occurs beyond denial of service.

Mitigation Strategies

Upgrade ProFTPD to version 1.3.10 or later immediately. If upgrading is not possible, disable the mod_sftp module in the ProFTPD configuration file by commenting out 'LoadModule mod_sftp.c'. Restrict SFTP access to trusted users only and monitor for suspicious activity.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-53994. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart