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.
Published: 2026-07-20
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A signed integer overflow occurs in the SCP size‑record parser of ProFTPD’s mod_sftp module. When an authenticated low‑privilege SFTP client supplies a file size of UINT64_MAX, the server’s off_t becomes negative and is subsequently cast to a 32‑bit unsigned value. This produces an over‑large read length of roughly 4 GB, causing the server to read past the end of the SSH channel data and overwrite process memory into the uploaded file. The overread exposes libc, libcrypto, and PIE pointers, allowing the attacker to bypass ASLR and position further code execution. The issue is a classic type‑confusion integer overflow (CWE‑126) compounded by unchecked type conversion (CWE‑190), resulting in a critical memory corruption flaw that can be reused to compromise the entire server process. While no publicly available exploitation code exists yet, the CVSS score of 7.1 indicates a moderate‑to‑high risk. The EPSS score is less than 1 %, suggesting a low current likelihood of exploitation, but the requirement for an authenticated SFTP session expands the attack surface. The vulnerability is not listed in the CISA KEV catalog, yet the ability to subvert ASLR makes it a valuable stepping stone for future exploits.

Affected Systems

ProFTPD installations running the mod_sftp module are vulnerable when using a version earlier than 1.3.9c or earlier than 1.3.10rc3. The affected builds include all releases prior to the patched 1.3.9c and 1.3.10rc3-3 tags.

Risk and Exploitability

The CVSS score of 7.1 reflects a serious impact with remote code execution potential. The EPSS score of less than 1 % indicates a low probability of current exploitation but does not eliminate risk. Because the flaw requires an authenticated low‑privilege SFTP session, the attacker must obtain legitimate credentials, but once in, the ASLR bypass dramatically increases the effectiveness of any additional memory‑corruption exploits in the same process. The vulnerability is not presently in the CISA KEV catalog, but its presence on widely deployed FTP servers makes it a high‑value target for attackers.

Generated by OpenCVE AI on July 30, 2026 at 19:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ProFTPD to version 1.3.9c or later, including 1.3.10rc3‑3 or newer, which contains the integer‑overflow fix.
  • Disable the mod_sftp module on servers that do not require SFTP access, thereby removing the vulnerable code path.
  • Configure the SFTP server to enforce strict maximum file‑size limits and validate incoming size values to prevent integer overflows or abuse.
  • If disabling mod_sftp is not of allowed operations and enforce additional access controls to minimize potential impact.

Generated by OpenCVE AI on July 30, 2026 at 19:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 02:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:proftpd:proftpd:*:*:*:*:*:*:*:*

Tue, 21 Jul 2026 01:00:00 +0000

Type Values Removed Values Added
First Time appeared Proftpd
Proftpd proftpd
Vendors & Products Proftpd
Proftpd proftpd

Mon, 20 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title ProFTPD mod_sftp Signed Integer Overflow via SCP Size-Record Parser
Weaknesses CWE-126
CWE-190
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:49:57.949Z

Reserved: 2026-07-15T15:45:44.600Z

Link: CVE-2026-63091

cve-icon Vulnrichment

Updated: 2026-07-20T16:36:05.774Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T19:30:09Z

Weaknesses