# CVE-2026-53994: ProFTPD mod\_sftp Heap Buffer Overflow via Unsigned Integer Underflow and Size Truncation

- Priority: **Routine**
- Reason: Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-18 · Modified: 2026-07-28
- Aliases: UBUNTU-CVE-2026-53994, DEBIAN-CVE-2026-53994
- Record: https://cvemate.com/vulnerability/CVE-2026-53994 · JSON: https://cvemate.com/vulnerability/CVE-2026-53994/json

## Description

```text
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.
```

## Signals

- CVSS: 7.7 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.448%, percentile 40.706%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian proftpd-dfsg (Debian): All versions (No fix recorded) \| \< 1.3.8.c+dfsg-4+deb13u3 \| \< 1.3.9b~dfsg-1
- ubuntu proftpd-dfsg (Ubuntu): All versions (No fix recorded)
- proftpd project proftpd: \< 1.3.10
- proftpd proftpd: \< 1.3.10 \| \< 1.3.9b

## References

- <https://github.com/proftpd/proftpd>
- <https://github.com/proftpd/proftpd/commit/7342836fa98e36209660a4c5805c801476f63936>
- <https://www.vulncheck.com/advisories/proftpd-mod-sftp-heap-buffer-overflow-via-unsigned-integer-underflow-and-size-truncation>
- <https://ubuntu.com/security/CVE-2026-53994>
- <https://www.cve.org/CVERecord?id=CVE-2026-53994>
- <https://github.com/proftpd/proftpd/issues/2115>
- <https://security-tracker.debian.org/tracker/CVE-2026-53994>

---

Data as of 2026-12-05T09:39:28.671Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
