Skip to content

CVE-2026-53994 ProFTPD mod_sftp Heap Buffer Overflow via Unsigned Integer Underflow and Size Truncation

HighCVSS 7.7 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 4 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
debian/proftpd-dfsg(Debian 12) = 1.3.8+dfsg-4; = 1.3.8+dfsg-4+deb12u1; = 1.3.8+dfsg-4+deb12u2; = 1.3.8+dfsg-4+deb12u3 +28 more No fix listed No fix yet
ubuntu/proftpd-dfsg(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/proftpd-dfsg(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/proftpd-dfsg(Ubuntu 26.04) All versions No fix listed No fix yet
debian/proftpd-dfsg(Debian 13) < 1.3.8.c+dfsg-4+deb13u3; = 1.3.8.c+dfsg-4; = 1.3.8.c+dfsg-4+deb13u1; = 1.3.8.c+dfsg-4+deb13u2 1.3.8.c+dfsg-4+deb13u3 Fixed
debian/proftpd-dfsg(Debian 14) < 1.3.9b~dfsg-1; = 1.3.8.c+dfsg-4; = 1.3.9a~dfsg-1; = 1.3.9~dfsg-1 +4 more 1.3.9b~dfsg-1 Fixed
proftpd < 1.3.9b 1.3.9b Fixed
proftpd project proftpd < 1.3.10 1.3.10 Fixed

Affected products

ProductAffected versionsFixed in
proftpd project proftpd < 1.3.10 1.3.10
debian/proftpd-dfsg(Debian:12) All versions No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-4 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-4+deb12u1 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-4+deb12u2 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-4+deb12u3 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-4+deb12u4 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-4+deb12u5 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-5 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-6 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-7 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-8 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8.a+dfsg-1 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8.b+dfsg-1 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8.b+dfsg-2 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8.b+dfsg-3 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8.b+dfsg-4 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8.c+dfsg-1 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8.c+dfsg-2 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8.c+dfsg-3 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8.c+dfsg-4 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.9a~dfsg-1 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.9b~dfsg-1 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.9c~dfsg-1 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.9d~dfsg-1 No fix listed
Show 24 more
ProductAffected versionsFixed in
debian/proftpd-dfsg(Debian:12) = 1.3.9e~dfsg-1 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.9e~dfsg-2 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.9e~dfsg-3 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.9~dfsg-1 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.9~dfsg-2 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.9~dfsg-3 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.9~dfsg-4 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.9~dfsg-5 No fix listed
debian/proftpd-dfsg(Debian:13) < 1.3.8.c+dfsg-4+deb13u3 1.3.8.c+dfsg-4+deb13u3
debian/proftpd-dfsg(Debian:13) = 1.3.8.c+dfsg-4 No fix listed
debian/proftpd-dfsg(Debian:13) = 1.3.8.c+dfsg-4+deb13u1 No fix listed
debian/proftpd-dfsg(Debian:13) = 1.3.8.c+dfsg-4+deb13u2 No fix listed
debian/proftpd-dfsg(Debian:14) < 1.3.9b~dfsg-1 1.3.9b~dfsg-1
debian/proftpd-dfsg(Debian:14) = 1.3.8.c+dfsg-4 No fix listed
debian/proftpd-dfsg(Debian:14) = 1.3.9a~dfsg-1 No fix listed
debian/proftpd-dfsg(Debian:14) = 1.3.9~dfsg-1 No fix listed
debian/proftpd-dfsg(Debian:14) = 1.3.9~dfsg-2 No fix listed
debian/proftpd-dfsg(Debian:14) = 1.3.9~dfsg-3 No fix listed
debian/proftpd-dfsg(Debian:14) = 1.3.9~dfsg-4 No fix listed
debian/proftpd-dfsg(Debian:14) = 1.3.9~dfsg-5 No fix listed
ubuntu/proftpd-dfsg(Ubuntu:22.04) All versions No fix listed
ubuntu/proftpd-dfsg(Ubuntu:24.04) All versions No fix listed
ubuntu/proftpd-dfsg(Ubuntu:26.04) All versions No fix listed
proftpd < 1.3.9b 1.3.9b

References