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

Published Jul 18, 2026
·
Updated

ProFTPD modsftp contains a heap-based buffer overflow reachable by an authenticated SFTP user. The fxppacketread() 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 sizet but passed to newblock() as a 32-bit int; the low 32 bits of 0x100000000 are 0, so newblock() 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 (packetlen=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 Software

1 affected component
ProFTPD mod_sftp

Event History

Jul 18, 2026
CVE Published
via MITRE·07:30 PM
Data Sourced
via MITRE·07:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-53994?

The severity of CVE-2026-53994 is rated high with a score of 7.5.

2

How does CVE-2026-53994 affect ProFTPD mod_sftp?

CVE-2026-53994 affects ProFTPD mod_sftp by allowing a heap buffer overflow through an unsigned integer underflow which can be exploited by authenticated SFTP users.

3

What is the impact of CVE-2026-53994?

The impact of CVE-2026-53994 includes potential compromise of confidentiality, integrity, and availability due to the buffer overflow.

4

How do I fix CVE-2026-53994?

To fix CVE-2026-53994, you should update ProFTPD mod_sftp to the latest patched version provided by the maintainers.

5

Who is affected by CVE-2026-53994?

Authenticated SFTP users are primarily affected by CVE-2026-53994 as they can exploit the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203