Executive brief
ProFTPD is a widely used file transfer server. A security flaw in its SFTP module allows a user with valid login credentials to crash the server or take full control of the underlying system. This could lead to unauthorized access to sensitive files, data theft, or a complete service outage.
Technical details
A heap-based buffer overflow exists in the mod_sftp module of ProFTPD within the fxp.c component. The vulnerability is caused by an incorrectly conditioned reallocation logic when reassembling fragmented SFTP packets that exceed the 16 KB buffer. An authenticated attacker can send oversized fragments to trigger this flaw, leading to pool freelist metadata corruption. By overwriting the root_fs BSS global pointer to point to a malicious filesystem structure, an attacker can redirect pr_fsio_stat() calls to system(), resulting in arbitrary code execution. The issue is fixed in versions 1.3.9c and 1.3.10rc3.
Affected products
- ProFTPD ProFTPD < 1.3.9c, >= 1.3.10rc1 < 1.3.10rc3
Timeline
- 2026-06-26: disclosed: Issue reported by Fabian Wahle of Hap Security
- 2026-07-07: patched: Version 1.3.10rc3 released
- 2026-07-08: patched: Version 1.3.9c released
- 2026-07-20: advisory: NVD publication date
References
- https://github.com/proftpd/proftpd/blob/master/RELEASE_NOTES
- https://github.com/proftpd/proftpd/commit/4ee8701bcf425f11b3b2116e634ff3e655d918b1
- https://github.com/proftpd/proftpd/issues/2190
- https://github.com/proftpd/proftpd/releases/tag/v1.3.10rc3-3
- https://github.com/proftpd/proftpd/releases/tag/v1.3.9c
- https://www.vulncheck.com/advisories/proftpd-mod-sftp-heap-buffer-overflow-via-sftp-packet-reassembly