Security researchers at Calif.io have disclosed a critical memory disclosure vulnerability in Squid Proxy, dubbed Squidbleed, that has gone undetected for nearly 29 years. Discovered with the assistance of Anthropic’s Claude Mythos Preview AI model, the flaw allows an attacker who controls an FTP server reachable from the proxy to cause Squid to leak stale HTTP headers from other users — including passwords and API keys — via a malformed directory listing response.
A Bug Older Than Modern Web Security
The vulnerability traces back to a commit dated January 18, 1997, which predates all available commit history in Squid’s GitHub repository. It was introduced as a fix for NetWare FTP servers that placed four extra spaces between a file’s modification timestamp and its filename. The fix added a while(strchr(w_space, *copyFrom)) loop designed to skip over that extra whitespace.
However, the loop contains a critical oversight. In C, the strchr function treats the null terminator (