CVE-2004-0541: Buffer overflow in the ntlm_check_auth (NTLM authentication) function for Squid Web Proxy Cache 2.5.x and 3.x,
CVE-2004-0541 is a high-severity flaw (CVSS 10.0) affecting squid web proxy cache. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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).
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 10.0 (High) |
| EPSS exploit chance | 71.1% (top 1%) |
| CISA exploited list | No |
| Published | 2004-08-06 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: Squid - NTLM (Authenticated) Overflow (Metasploit)
- Exploit-DB: Squid 2.5.x/3.x - NTLM Buffer Overflow (Metasploit)
- Metasploit: Squid NTLM Authenticate Overflow
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-0541?
squid web proxy cache: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-0541 being exploited?
CVE-2004-0541 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-0541 affect?
CVE-2004-0541 affects squid web proxy cache. Severity is high (CVSS 10.0). 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)
How urgent is CVE-2004-0541?
Priority 65/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference
Software pages
Related CVEs
- CVE-2009-0801 MEDIUM 5.4 DOWNGRADE Squid, when transparent interception mode is enabled, uses the HTTP Host header to determine the remote endpoi
- CVE-2007-6239 MEDIUM 5.0 DOWNGRADE The "cache update reply processing" functionality in Squid 2.x before 2.6.STABLE17 and Squid 3.0 allows remote
- CVE-2004-2480 MEDIUM 5.0 DOWNGRADE Squid Web Proxy Cache 2.3.STABLE5 allows remote attackers to bypass security controls and access arbitrary web
- CVE-2004-2479 MEDIUM 5.0 DOWNGRADE Squid Web Proxy Cache 2.5 might allow remote attackers to obtain sensitive information via URLs containing inv