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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.7
- **CVSS:** 7.7 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.75% (percentile 51, 2026-11-28)
- **CWE:** CWE-122
- **Published:** 2026-07-18T19:30:32.740Z
- **Modified:** 2026-11-05T19:56:25.753Z

## Who should check

- Anyone running ProFTPD Project ProFTPD \< 1.3.10

## 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 and fixed versions

- ProFTPD Project ProFTPD: \< 1.3.10 (cvelist)

## Mitigation

- Upgrade ProFTPD to 1.3.10 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53994. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53994.md
Affected: ProFTPD Project ProFTPD < 1.3.10
Fixed in: ProFTPD Project ProFTPD 1.3.10

Steps:
1. Search this machine and project for ProFTPD Project ProFTPD: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53994 being exploited?

There is no confirmed exploitation: CVE-2026-53994 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.75% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-53994?

High: CVSS 7.7 (v4.0, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-53994?

ProFTPD Project ProFTPD \< 1.3.10.

### Is there a fix for CVE-2026-53994?

Yes. Fixed in ProFTPD Project ProFTPD 1.3.10. Upgrade ProFTPD to 1.3.10 or later.

### How do I check if I'm affected by CVE-2026-53994?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/proftpd/proftpd/commit/7342836fa98e36209660a4c5805c801476f63936>
- patch: <https://www.vulncheck.com/advisories/proftpd-mod-sftp-heap-buffer-overflow-via-unsigned-integer-underflow-and-size-truncation>
- other: <https://github.com/proftpd/proftpd>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53994>

HTML: <https://flawdb.com/CVE-2026-53994> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53994>
