SecurityContext

CVE-2026-53994: ProFTPD mod_sftp - Buffer Overflow

  • Cve: CVE-2026-53994
  • Name: ProFTPD mod_sftp - Buffer Overflow
  • 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.
  • Impact: Authenticated users can cause denial of service by crashing the ProFTPD session or potentially execute further attacks via heap corruption.
  • Remediation: Update to the latest version of ProFTPD mod_sftp containing the fix.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: logged_in
  • Requirements: Attacker must be an authenticated SFTP user
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00448
  • Epss percentile: 0.39727
  • Assignee: [email protected]
  • Published at: 2026-07-18T20:17:30Z
  • Age in days: 129
  • Modified at: 2026-11-05T19:56:25Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-53994
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-122Heap-based Buffer Overflow

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/proftpd/proftpd/commit/7342836fa98e36209660a4c5805c801476f63936Patch
https://www.vulncheck.com/advisories/proftpd-mod-sftp-heap-buffer-overflow-via-unsigned-integer-underflow-and-size-truncationPatch, Third Party Advisory
https://github.com/proftpd/proftpdProduct

Products

ProductAffectedPlatform boundSourcesUrl
proftpd:proftpd< 1.3.9bnonvd/v1/products/proftpd/proftpd

Projects

RepositoryLink kindsIndexedUrl
proftpd/proftpdcommityes/v1/repositories/proftpd/proftpd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 572898
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports