Description
ProFTPD before 1.3.9c and 1.3.10rc3 contains a signed integer overflow vulnerability in the mod_sftp module's SCP size-record parser that allows authenticated low-privilege attackers to bypass ASLR by sending a crafted file size value of UINT64_MAX, which results in a negative off_t value. Attackers can exploit the subsequent conversion to uint32_t, causing an approximately 4 GB requested read length and forcing the server to read beyond the end of the SSH channel data and write overread process memory into the uploaded file. In tested configurations, the disclosed data contains libc, libcrypto, and PIE pointers sufficient to derive their randomized base addresses, thereby bypassing ASLR and enabling reliable exploitation of memory corruption vulnerabilities in the same process.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-190 — Integer Overflow or Wraparound
- CWE-126 — Buffer Over-read
Affected products
| Vendor | Product | Versions |
|---|---|---|
| proftpd | proftpd | 0 to <1.3.9c; 1.3.10rc1 to <1.3.10rc3 |
References
- https://github.com/proftpd/proftpd/blob/master/RELEASE_NOTES (release-notes)
- https://github.com/proftpd/proftpd/releases/tag/v1.3.10rc3-3 (release-notes)
- https://github.com/proftpd/proftpd/releases/tag/v1.3.9c (release-notes)
- https://github.com/proftpd/proftpd/pull/2201 (issue-tracking)
- https://github.com/proftpd/proftpd/commit/b9b7dde1bcd74bc23366484d53856b67b8d6d95e (patch)
- https://www.vulncheck.com/advisories/proftpd-mod-sftp-signed-integer-overflow-via-scp-size-record-parser (third-party-advisory)
Generated from the official CVE List on 21 Jul 2026 07:01 UTC.