CVEfocus › CVE database › CVE-2026-53994

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

CVSS 7.5 HighEPSS 0.7% (higher than 51% of CVEs)Published 2026-07-18Updated 2026-07-28Assigner: VulnCheck

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.

CWE-122

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
4Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04proftpd-dfsgUnder investigationUBUNTU-CVE-2026-53994
Ubuntu 24.04proftpd-dfsgUnder investigationUBUNTU-CVE-2026-53994
Ubuntu 22.04proftpd-dfsgUnder investigationUBUNTU-CVE-2026-53994
Ubuntu 20.04proftpd-dfsgFix pendingUBUNTU-CVE-2026-53994
Ubuntu 18.04proftpd-dfsgFix pendingUBUNTU-CVE-2026-53994
Ubuntu 16.04proftpd-dfsgFix pendingUBUNTU-CVE-2026-53994
Debian 14proftpd-dfsgFixed1.3.9b~dfsg-1DEBIAN-CVE-2026-53994
Debian 13proftpd-dfsgFixed1.3.8.c+dfsg-4+deb13u3DEBIAN-CVE-2026-53994
Debian 12proftpd-dfsgFix pendingDEBIAN-CVE-2026-53994

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.