CVE-2026-53994: Heap-based Buffer Overflow in ProFTPD Project ProFTPD
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.
AI Analysis
Technical Summary
CVE-2026-53994 is a heap-based buffer overflow in the ProFTPD mod_sftp module. The vulnerability arises because the fxp_packet_read() function accepts a 32-bit big-endian SFTP packet length without a minimum sanity check. When a packet length of zero is supplied, an unsigned subtraction underflows to approximately 4 GB. The core memory allocator then receives a size_t value representing ~4 GB but calls new_block() with a truncated 32-bit integer of zero, resulting in a small (~512-byte) allocation. The subsequent fill loop writes attacker-controlled data beyond the allocated buffer, causing a heap overflow. An authenticated user can reliably cause a denial of service by crashing the per-connection ProFTPD session child. While heap metadata corruption and further impacts are possible, only denial of service has been demonstrated by the proof of concept.
Potential Impact
An authenticated SFTP user can remotely cause a denial of service by crashing the ProFTPD session process via a crafted SFTP packet. The heap overflow may also corrupt heap metadata, potentially leading to further undefined behavior or escalation, but no such exploitation has been demonstrated. The vulnerability affects confidentiality, integrity, and availability as indicated by the CVSS vector, but the demonstrated impact is denial of service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or workaround is currently documented. Until a patch is available, restrict authenticated SFTP user access to trusted users only and monitor for unusual crashes in ProFTPD session processes.
CVE-2026-53994: Heap-based Buffer Overflow in ProFTPD Project ProFTPD
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 v3.1
Score 7.5high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-53994 is a heap-based buffer overflow in the ProFTPD mod_sftp module. The vulnerability arises because the fxp_packet_read() function accepts a 32-bit big-endian SFTP packet length without a minimum sanity check. When a packet length of zero is supplied, an unsigned subtraction underflows to approximately 4 GB. The core memory allocator then receives a size_t value representing ~4 GB but calls new_block() with a truncated 32-bit integer of zero, resulting in a small (~512-byte) allocation. The subsequent fill loop writes attacker-controlled data beyond the allocated buffer, causing a heap overflow. An authenticated user can reliably cause a denial of service by crashing the per-connection ProFTPD session child. While heap metadata corruption and further impacts are possible, only denial of service has been demonstrated by the proof of concept.
Potential Impact
An authenticated SFTP user can remotely cause a denial of service by crashing the ProFTPD session process via a crafted SFTP packet. The heap overflow may also corrupt heap metadata, potentially leading to further undefined behavior or escalation, but no such exploitation has been demonstrated. The vulnerability affects confidentiality, integrity, and availability as indicated by the CVSS vector, but the demonstrated impact is denial of service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or workaround is currently documented. Until a patch is available, restrict authenticated SFTP user access to trusted users only and monitor for unusual crashes in ProFTPD session processes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-11T16:07:13.001Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5bd7272a4a8d59892ef2c3
Added to database: 07/18/2026, 19:42:31 UTC
Last enriched: 08/02/2026, 21:01:39 UTC
Last updated: 08/31/2026, 10:52:10 UTC
Views: 161
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.