CVE-2025-54574
Squid Heap Buffer Overflow (Remote Code Execution)
Description
Squid is a caching proxy for the Web. In versions 6.3 and below, Squid is vulnerable to a heap buffer overflow and possible remote code execution attack when processing URN due to incorrect buffer management. This has been fixed in version 6.4. To work around this issue, disable URN access permissions.
INFO
Published Date :
Aug. 1, 2025, 6:15 p.m.
Last Modified :
Aug. 26, 2025, 4:55 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | CRITICAL | [email protected] | ||||
CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update Squid to version 6.4 or later.
- Disable URN access permissions as a workaround.
Public PoC/Exploit Available at Github
CVE-2025-54574 has a 3 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-54574
.
URL | Resource |
---|---|
https://github.com/squid-cache/squid/commit/a27bf4b84da23594150c7a86a23435df0b35b988 | Patch |
https://github.com/squid-cache/squid/releases/tag/SQUID_6_4 | Release Notes |
https://github.com/squid-cache/squid/security/advisories/GHSA-w4gv-vw3f-29g3 | Patch Vendor Advisory Mitigation |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-54574
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-54574
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
CVE-2025-54574
Shell
DSA and DLA for Debian last 14 days
Python
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-54574
vulnerability anywhere in the article.

-
CybersecurityNews
Critical Squid Vulnerability Let Attackers Execute Remote Code
A critical security vulnerability has been discovered in Squid Web Proxy Cache that enables attackers to execute remote code through a heap buffer overflow in URN (Uniform Resource Name) handling. The ... Read more

-
Daily CyberSecurity
Storm-2603: Chinese APT Deploys Warlock & LockBit with AK47C2 Framework
Antivirus Terminator supported arguments when run without parameters | Image: Check Point Check Point Research (CPR) has detailed a previously undocumented Chinese-affiliated threat actor—Storm-2603—l ... Read more

-
Daily CyberSecurity
Critical Squid Vulnerability (CVE-2025-54574) Allows Remote Code Execution & Data Leakage
The Squid Project has issued an urgent advisory for CVE-2025-54574 (CVSS 9.3), a heap buffer overflow bug affecting Squid’s handling of URN (Uniform Resource Name) responses. “Due to incorrect buffer ... Read more
The following table lists the changes that have been made to the
CVE-2025-54574
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 26, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-787 Added CPE Configuration OR *cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* versions up to (excluding) 6.4 Added Reference Type GitHub, Inc.: https://github.com/squid-cache/squid/commit/a27bf4b84da23594150c7a86a23435df0b35b988 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/squid-cache/squid/releases/tag/SQUID_6_4 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/squid-cache/squid/security/advisories/GHSA-w4gv-vw3f-29g3 Types: Mitigation, Patch, Vendor Advisory -
New CVE Received by [email protected]
Aug. 01, 2025
Action Type Old Value New Value Added Description Squid is a caching proxy for the Web. In versions 6.3 and below, Squid is vulnerable to a heap buffer overflow and possible remote code execution attack when processing URN due to incorrect buffer management. This has been fixed in version 6.4. To work around this issue, disable URN access permissions. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:H Added CWE CWE-122 Added Reference https://github.com/squid-cache/squid/commit/a27bf4b84da23594150c7a86a23435df0b35b988 Added Reference https://github.com/squid-cache/squid/releases/tag/SQUID_6_4 Added Reference https://github.com/squid-cache/squid/security/advisories/GHSA-w4gv-vw3f-29g3