CVE-2026-47729

Squid: Memory disclosure in FTP gateway

Published Jul 16, 2026 CVSS 3.1 · 6.5 Medium EPSS 1.5% KEV · Not listed
Description
Squid is a caching proxy for the Web. Prior to 7.6, due to an improper validation of syntactic correctness of input in the FTP gateway (src/clients/FtpGateway.cc), Squid is vulnerable to an out-of-bounds read: when a listing entry date in the TypeA or TypeB directory-listing formats is not followed by a filename, parsing was not restricted to the input buffer, so a trusted client accessing a misbehaving FTP server through Squid's gateway feature could read memory from random unrelated transactions. This issue is fixed in version 7.6.

Analysis

AI-generated

Technical impact

Squid is a caching proxy for the Web. Prior to 7.6, due to an improper validation of syntactic correctness of input in the FTP gateway (src/clients/FtpGateway.cc), Squid is vulnerable to an out‑of‑bounds read: when a listing entry date in the TypeA or TypeB directory‑listing formats is not followed by a filename, parsing was not restricted to the input buffer, so a trusted client accessing a misbehaving FTP server through Squid's gateway feature could read memory from random unrelated transactions. This issue is fixed in version 7.6. This weakness results from insufficient input validation and is categorized as CWE-125 and CWE-1289.

Affected Systems

All installations of the Squid caching proxy that enable the FTP gateway feature are affected. No specific version range is supplied; users should examine their version and compare it against the advisory for the fix.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate risk. An EPSS score of 2% shows a low but measurable exploitation probability, and the vulnerability is not listed in CISA KEV. Exploiting the FTP gateway, so only users with legitimate credentials and trusted network positions could leverage this weakness to read arbitrary memory.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Squid to the latest version that contains the patch for the FTP gateway out‑the FTP gateway feature or restrict its use to trusted networks only.
  • Limit authentication to authorized clients FTP traffic through Squid to mitigate potential exposure.
  • If the FTP gateway feature is not needed, disable it in the Squid configuration.

Generated by OpenCVE AI on August 1, 2026 at 08:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4697-1 squid security update
Debian DSA Debian DSA DSA-6360-1 squid security update
Ubuntu USN Ubuntu USN USN-8941-1 Squid vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description A flaw was found in Squid. Due to improper input validation, an out-of-bounds read can occur in the FTP gateway. This issue allows an authenticated and trusted client to read memory from random transactions when accessing a misbehaving FTP server using the Squid gateway feature. Squid is a caching proxy for the Web. Prior to 7.6, due to an improper validation of syntactic correctness of input in the FTP gateway (src/clients/FtpGateway.cc), Squid is vulnerable to an out-of-bounds read: when a listing entry date in the TypeA or TypeB directory-listing formats is not followed by a filename, parsing was not restricted to the input buffer, so a trusted client accessing a misbehaving FTP server through Squid's gateway feature could read memory from random unrelated transactions. This issue is fixed in version 7.6.
Title squid: memory disclosure in FTP gateway Squid: Memory disclosure in FTP gateway
Weaknesses CWE-1289
References
Type Values Removed Values Added
First Time appeared Squid-cache
Squid-cache squid
Vendors & Products Squid-cache
Squid-cache squid
Type Values Removed Values Added
Description A flaw was found in Squid. Due to improper input validation, an out-of-bounds read can occur in the FTP gateway. This issue allows an authenticated and trusted client to read memory from random transactions when accessing a misbehaving FTP server using the Squid gateway feature.
Title squid: memory disclosure in FTP gateway
Weaknesses CWE-125
References
Metrics threat_severity

None

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'}

threat_severity

Moderate

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-1289

    Improper Validation of Unsafe Equivalence in Input

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 17, 2026, 6:07 PM
Reserved
May 19, 2026, 9:29 PM
Status
Analyzed
Published
Jul 16, 2026, 5:16 PM
Modified
Oct 24, 2026, 8:10 PM
Severity
Moderate
Public date
Jun 23, 2026, 12:00 AM