Latest Squid caching proxy vulnerability: CVE-2025-62168 #

Squid has disclosed an information disclosure vulnerability in certain versions of the Squid caching proxy via generated error messages returned to clients. The flaw results from a failure to redact sensitive information such as HTTP authentication credentials from error message %R and %W code expansions. This could be exploited through a script to bypass browser security protections and discover the credentials a trusted client uses to authenticate. Successful exploitation may allow a remote, unauthenticated adversary to identify security credentials or tokens used internally by web applications using Squid for backend load balancing. Such an attack does not require Squid to be configured with HTTP authentication. This vulnerability has been designated CVE-2025-62168 and has been rated critical with a CVSS score of 10.0.

The vulnerability depends on the email_err_data configuration value. All Squid versions up to and including 7.1 configured without email_err_data or with email_err_data on are vulnerable, since email_err_data defaults to on. All Squid versions configured with email_err_data off are not vulnerable. The patch code changes appear to indicate a possibility that sensitive information could be leaked via HTTP TRACE responses as well, but this has not been verified.

The following versions are affected

  • Squid 3.x versions up to and including 3.5.28
  • Squid 4.x versions up to and including 4.17
  • Squid 5.x versions up to and including 5.9
  • Squid 6.x versions up to and including 6.14
  • Squid 7.x versions up to and including 7.1

What is Squid caching proxy? #

Squid caching proxy is a versatile open-source proxy server that enhances web performance by caching and reusing frequently requested web pages and filtering traffic to enforce access policies.

What is the impact? #

Successful exploitation of the vulnerability would allow an adversary to identify security credentials or tokens used internally by web applications using Squid for backend load balancing.

Are updates or workarounds available? #

Users are encouraged to update to the latest version as quickly as possible:

  • Squid 7.x upgrade to version 7.2 or later
  • For all other stable releases upgrade to the latest patch version available in the patch archives

If you are using a prepackaged version of Squid, refer to your package vendor for information on the availability of updated packages.

Workaround: Mitigate the vulnerability by disabling the generated debug information in administrator mailto links within error messages through the following configuration change:

email_err_data off

How to find potentially vulnerable systems with runZero #

From the Software Inventory, use the following query to locate potentially impacted assets:

vendor:="Squid Cache" AND product:=Squid AND (version:>0 AND version:<7.2)

August 2025: CVE-2025-54574 #

Squid has disclosed a heap-based buffer overflow vulnerability in certain versions of the Squid caching proxy due to incorrect buffer management when processing a Uniform Resource Name (URN). This vulnerability allows a remote server to perform a buffer overflow attack by delivering specially crafted URN Trivial-HTTP responses. Successful exploitation may lead to remote code execution (RCE) or the disclosure of up to 4KB of data from Squid's allocated heap memory. This leaked memory may contain security credentials or other confidential data. This vulnerability has been designated CVE-2025-54574 and has been rated critical with a CVSS score of 9.3.

The following versions are affected

  • Squid 2.x versions up to and including 2.7.STABLE9
  • Squid 3.x versions up to and including 3.5.28
  • Squid 4.x versions up to and including 4.17
  • Squid 5.x versions up to and including 5.9
  • Squid 6.x versions up to and including 6.3

What is the impact? #

Successful exploitation of the vulnerability would allow an adversary to execute arbitrary code on the vulnerable host, potentially leading to complete system compromise.

Are updates or workarounds available? #

Users are encouraged to update to the latest version as quickly as possible:

  • Squid 6.x upgrade to version 6.4 or later
  • For all other stable releases upgrade to the latest patch version available in the patch archives

If you are using a prepackaged version of Squid, refer to your package vendor for information on the availability of updated packages.

Workaround: Mitigate the vulnerability by disabling URN access permissions through adding the following configuration changes:

acl URN proto URN
http_access deny URN

How to find potentially vulnerable systems with runZero #

From the Software Inventory, use the following query to locate potentially impacted assets:

vendor:"Squid Cache" and product:"Squid" and version:<6.4

Written by Matthew Kienow

Matthew Kienow is a software engineer and security researcher. Matthew previously worked on the Recog recognition framework, AttackerKB as well as Metasploit's MSF 5 APIs. He has also designed, built, and successfully deployed many secure software solutions; however, often he enjoys breaking them instead. He has presented his research at various security conferences including DerbyCon, Hack In Paris, and CarolinaCon. His research has been cited by CSO, Threatpost and SC Magazine.

More about Matthew Kienow
Subscribe Now

Get the latest news and expert insights delivered in your inbox.

Welcome to the club! Your subscription to our newsletter is successful.

Explore more runZero

Product
runZero 5.1 is here: Secure AI workflows, enhanced integrations, and expanded autonomous discovery
runZero 5.1 takes on the heavy lifting across five key areas, enabling you to unmask and remediate exposures with less friction and more speed.
Podcasts
Know Your Adversary with HD Moore
runZero CEO HD Moore breaks down the myth of air-gapped networks, the impact of AI on security, and why asset connectivity is everything.
runZero Perspective
BOD 26-04: A new era of prioritized remediation
A complete breakdown of CISA's BOD 26-04 directive. Learn how the shift to SSVC, risk-based KEV prioritization, and 3-day remediation impacts your...
runZero Perspective
Dawn of the apex agentic adversary
When agentic AI can weaponize exploits in seconds, visibility is everything. Stop the predator with runZero’s exposure management for the AI-attack...
Webcasts
runZero Hour, Ep. 33: Hacker Summer Camp: we survived the Vegas heat (and the bugs)
In this post-Hacker Summer Camp recap, the runZero team break down the research, tools, and trends discussed at BSides Las Vegas, Black Hat and DEF...
Podcasts
The Internet's biggest point of failure
Join Tod Beardsley on Secure & Scale as he explores the future of vulnerability management, CVE fragmentation, and how AI is changing security...
Webcasts
Mind the gaps: securing the modern IT/OT attack surface
In this webcast, HD Moore and GigaOm Analyst Chris Ray discuss key methods for hardening OT defenses and share insights from the new OT report.
Webcasts
runZero Hour, Ep. 32: AI-pocalypse now? Why the 2026 DBIR is actually good news
In this episode of runZero Hour, Tod Beardsley, Brianna Cluck, and Verizon's Alex Pinto broke down 2026 DBIR trends, AI threats, and runZero 5.0.

See Results in Minutes

See & secure your total attack surface. Even the unknowns & unmanageable.