Vulnerability · Published Jul 18, 2026 · Assigned by VulnCheck

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

High 7.5

In plain English

A high-severity heap buffer overflow in ProFTPD from ProFTPD Project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 60.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12proftpd-dfsgno fix listedDEBIAN-CVE-2026-53994
Debian:13proftpd-dfsg1.3.8.c+dfsg-4+deb13u3DEBIAN-CVE-2026-53994
Debian:14proftpd-dfsg1.3.9b~dfsg-1DEBIAN-CVE-2026-53994
Ubuntu:22.04:LTSproftpd-dfsgno fix listedUBUNTU-CVE-2026-53994
Ubuntu:24.04:LTSproftpd-dfsgno fix listedUBUNTU-CVE-2026-53994
Ubuntu:26.04:LTSproftpd-dfsgno fix listedUBUNTU-CVE-2026-53994

Affected products (as reported)

VendorProductVersions
ProFTPD Project ProFTPD 0 – before 1.3.10

Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

References