{"id":"CVE-2025-54574","published":"2025-08-01T18:02:19Z","modified":"2025-11-05T17:04:21Z","title":"Squid's URN Handling can lead to Buffer Overflow","vendor":"squid-cache","product":"squid","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.22133,"percentile":0.97727,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/squid-cache/squid/security/advisories/GHSA-w4gv-vw3f-29g3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/squid-cache/squid/commit/a27bf4b84da23594150c7a86a23435df0b35b988","tags":["x_refsource_MISC"]},{"url":"https://github.com/squid-cache/squid/releases/tag/SQUID_6_4","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00027.html","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/11/05/5","tags":[]}],"priority":{"score":31.1,"factors":[{"name":"EPSS percentile","points":19.55},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2025-08-05","earliestUrl":"https://github.com/gmh5225/Blackash-CVE-2025-54574","repos":[{"name":"gmh5225/Blackash-CVE-2025-54574","url":"https://github.com/gmh5225/Blackash-CVE-2025-54574","stars":0,"created":"2025-08-05"},{"name":"starrynightsecurity/CVE-2025-54574-Squid-Heap-Buffer-Overflow","url":"https://github.com/starrynightsecurity/CVE-2025-54574-Squid-Heap-Buffer-Overflow","stars":0,"created":"2025-11-17"}]},"first":{"date":"2025-08-05","source":"PoC-in-GitHub","url":"https://github.com/gmh5225/Blackash-CVE-2025-54574"},"provenance":"source"},"vendorSlug":"squid-cache","affectedVersions":[{"vendor":"squid-cache","product":"squid","versions":["< 6.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-08-01T18:43:36.203492Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is a heap buffer overflow caused by incorrect buffer management when Squid, a caching proxy for the Web, processes URN requests in the squid product. An attacker who can send requests that reach the URN handling code, with no authentication or user interaction required, may be able to cause a crash or possibly execute code remotely; the stated workaround is to disable URN access permissions, and the issue is fixed in version 6.4.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:31:25Z"},"euvd":{"id":"EUVD-2025-23392","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-squid-cache-squid-cve-2024-25617","children":[{"from":"CVE-2025-54574","to":"CVE-2025-62168","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/client_side_reply.cc"],"commits":["https://github.com/squid-cache/squid/commit/a27bf4b84da23594150c7a86a23435df0b35b988","https://github.com/squid-cache/squid/commit/0951a0681011dfca3d78c84fd7f1e19c78a4443f"],"basis":"shared function","functions":["clientReplyContext"]}]}]}}