Skip to content
Info disclosure Write-up Advanced

Squidbleed (CVE-2026-47729)

Squid's FTP directory listing parser mishandles a missing filename after the timestamp, causing a heap buffer overread that reads past the end of a 4KB buffer. An attacker controlling an FTP server reachable by the proxy could leak stale memory, including other users' cleartext HTTP requests and Authorization headers.

blog.calif.io

Published on blog.calif.io

Two weeks ago, we dropped an HTTP/2 bomb cooked up by Codex Cyber. This time, we sent Claude Mythos Preview spelunking through Squid’s guts, and it surfaced clutching a 29-year-old bug.

Calif, on blog.calif.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The code used strchr to skip whitespace, but strchr treats the terminating null byte as part of the string, so the loop walked past the end of the buffer instead of stopping.

Impact

An attacker could leak other users' cleartext HTTP requests, including credentials, but only for plain HTTP or TLS-terminating setups, and only if the proxy can reach an attacker-controlled FTP server on port 21.

What the attacker needed

Attacker-controlled FTP server; proxy can reach FTP port 21; victim uses cleartext HTTP via proxy

How it was found

  1. Set up an FTP server reachable from the proxy that returns a directory listing line with a timestamp but no filename.
  2. Have the victim send a cleartext HTTP request through the same Squid proxy so their request data lands in a 4KB buffer.
  3. Request the FTP directory listing through the proxy so the parser overreads the recycled buffer.
  4. Read the leaked memory returned as the file name in the listing, which may contain the victim's request and Authorization header.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Squid is a proxy server that many people share, for example in a school or office. A bug in how it reads file listings from old-style FTP servers made it keep reading past the end of its own memory, so it could send leftover data from other users back to the attacker. That leftover data can include login details sent over plain HTTP.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.