CVE-2004-0541 in National Science Foundation Squid Web Proxy Cache
Buffer overflow in the ntlm_check_auth (NTLM authentication) function for Squid Web Proxy Cache 2.5.x and 3.x, when compiled with NTLM handlers enabled, allows remote attackers to execute arbitrary code via a long password ("pass" variable).
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| National Science Foundation | Squid Web Proxy Cache | 2.5_stable 3_pre |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Buffer overflow in the ntlm_check_auth (NTLM authentication) function for Squid Web Proxy Cache 2.5.x and 3.x, when compiled with NTLM handlers enabled, allows remote attackers to execute arbitrary code via a long password ("pass" variable).
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-0541 |
|---|---|
| BreachSpider ID | BS-2004-GLOBAL-159235-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2004-08-06 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A critical buffer overflow vulnerability exists in the ntlm_check_auth function of Squid Web Proxy Cache versions 2.5.x and 3.x when compiled with NTLM handlers enabled. This vulnerability can be exploited by remote attackers to execute arbitrary code via a long password input.
The vulnerability is triggered by a buffer overflow in the handling of the 'pass' variable within the ntlm_check_auth function. An attacker can exploit this by sending a specially crafted NTLM authentication request with an excessively long password, leading to a buffer overflow and potential code execution.
Questions
What is CVE-2004-0541?
A critical buffer overflow vulnerability exists in the ntlm_check_auth function of Squid Web Proxy Cache versions 2.5.x and 3.x when compiled with NTLM handlers enabled. This vulnerability can be exploited by remote attackers to execute arbitrary code via a long password input.
What is the CVSS score for CVE-2004-0541?
CVE-2004-0541 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 71.1%.
Is CVE-2004-0541 actively exploited?
Public exploit available for CVE-2004-0541. Exploitation risk elevated.
How do I remediate CVE-2004-0541?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2004-0541?
CVE-2004-0541 affects National Science Foundation Squid Web Proxy Cache.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"National Science Foundation","product":"Squid Web Proxy Cache","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.