{"id":655071,"date":"2026-06-24T02:30:10","date_gmt":"2026-06-24T02:30:10","guid":{"rendered":"https:\/\/www.newsbeep.com\/uk\/655071\/"},"modified":"2026-06-24T02:30:10","modified_gmt":"2026-06-24T02:30:10","slug":"mythos-discovers-squidbleed-a-memory-leak-thats-gone-undetected-since-clinton-era","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/uk\/655071\/","title":{"rendered":"Mythos discovers &#8216;Squidbleed,&#8217; a memory leak that&#8217;s gone undetected since Clinton era"},"content":{"rendered":"<p class=\"kicker \" style=\"\">Security<\/p>\n<p class=\"subtitle \" style=\"\">Plus more blasts from the past: NetWare, FTP, and HTTP<\/p>\n<p>Sometimes it takes a while to detect a vuln. A 29-year-old, <a href=\"https:\/\/www.theregister.com\/security\/2014\/04\/09\/anatomy-of-openssls-heartbleed-just-four-bytes-trigger-horror-bug\/600534\" rel=\"nofollow noopener\" target=\"_blank\">Heartbleed-style vulnerability<\/a> in Squid, a popular open-source caching proxy server, silently leaked users&#8217; plaintext HTTP requests and potentially revealed sensitive data, including credentials and session tokens, for decades &#8211; until AI (and a few humans) saved the day.<\/p>\n<p>A security researcher and Mythos Preview found the flaw and reported it to project maintainers, who fixed the code earlier this month.<\/p>\n<p>Squid is widely used by large corporations, schools, and internet service providers to cache, filter, and monitor network traffic, and Calif.io researcher Lam Jun Rong said he came across the open source proxy while attempting to connect to the internet on a flight.<\/p>\n<p>\u201cAs you might expect, the version of Squid deployed on that plane was released nearly 10 years ago and is affected by the vulnerability I&#8217;m about to share with you,\u201d Rong <a href=\"https:\/\/blog.calif.io\/p\/squidbleed-cve-2026-47729\" rel=\"nofollow noopener\" target=\"_blank\">wrote<\/a> in a blog post about the bug, which he dubbed Squidbleed and investigated with help from Anthropic&#8217;s Claude Mythos Preview.<\/p>\n<p>Rong reported the bug, tracked as CVE-2026-47729, to Squid\u2019s maintainers back in April, and it\u2019s <a href=\"https:\/\/github.com\/squid-cache\/squid\/releases\" rel=\"nofollow noopener\" target=\"_blank\">fixed in Squid v7.6<\/a>, released June 8.<\/p>\n<p>The Reg readers may remember Calif from their earlier <a href=\"https:\/\/www.theregister.com\/security\/2026\/06\/04\/openais-codex-chains-decade-old-dos-techniques-into-http\/2-bomb\/5251377\" rel=\"nofollow noopener\" target=\"_blank\">HTTP\/2 Bomb research<\/a>, uncovered by OpenAI\u2019s Codex agent, and the AI bug-finding firm also collaborated with OpenAI on its <a href=\"https:\/\/www.theregister.com\/security\/2026\/06\/23\/openai-yoo-hoo-look-over-here-we-do-that-security-stuff-too\/5259842\" rel=\"nofollow noopener\" target=\"_blank\">Patch the Planet initiative<\/a>, announced on Monday.<\/p>\n<p>According to Rong, Squidbleed leaks internal memory from every version of Squid in its default configuration with two conditions. First, Squid has to be able to read and inspect the network traffic, so it must be handling cleartext HTTP (not HTTPS) or be deployed in TLS-terminating setups.<\/p>\n<p>Additionally, the proxy must be allowed to reach an attacker-controlled FTP (File Transfer Protocol) server via TCP port 21. FTP is an outdated protocol for moving files between machines, and Squid supports it &#8211; which is where the problem lies.<\/p>\n<p>The bug exists in Squid&#8217;s FTP directory listing parser, and it was injected into the open source code as a commit (<a href=\"https:\/\/github.com\/squid-cache\/squid\/commit\/bb97dd37a\" rel=\"nofollow noopener\" target=\"_blank\">bb97dd37a<\/a>) created in 1997 to support old NetWare servers.<\/p>\n<p>NetWare is a discontinued network operating system that was popular in the 1980s and 1990s, providing file and print services across local area networks before Windows and Linux servers became dominant. NetWare FTP servers also added extra whitespace between the modification timestamp and the filename, compared to most other FTP servers that just used a single spFace.<\/p>\n<p>The 1997 commit fixed this NetWare issue by instructing the code to skip the extra whitespace using this loop: while (strchr(w_space, *copyFrom)) ++copyFrom;.<\/p>\n<p>As Mythos Preview discovered, if an attacker&#8217;s FTP server doesn&#8217;t provide a filename after the modification timestamp, copyFrom points to the terminating NUL character at the end of the string. <\/p>\n<p>\u201cstrchr treats that terminating NUL as part of the string it searches, so it returns a pointer instead of NULL, and the loop never stops,\u201d Rong explains. \u201cIt walks off the end of the buffer, and xstrdup copies whatever follows back to the attacker as a filename.\u201d<\/p>\n<p>This results in a heap overread and can leak HTTP requests that often contain passwords or API keys, and Rong demonstrated this exploit in a <a href=\"https:\/\/github.com\/califio\/publications\/tree\/main\/MADBugs\/squidbleed\" rel=\"nofollow noopener\" target=\"_blank\">proof of concept<\/a>.\u00a0<\/p>\n<p>\u201c<a href=\"https:\/\/github.com\/squid-cache\/squid\/commit\/865a131c7d557e68c965043d98c2eccae26deef8\" rel=\"nofollow noopener\" target=\"_blank\">The patch<\/a> is simple: check for the null terminator before calling strchr,\u201d Rong wrote.<\/p>\n<p>If you use Squid, make sure to download the June release to fix this flaw. Also, as Rong suggests, you should disable FTP unless there\u2019s a \u201cspecific, unusual need for it.\u201d Chromium-based browsers stopped supporting FTP years ago and for good reason. This means \u201cmost organizations running Squid are getting close to zero legitimate FTP traffic,\u201d the security sleuth noted. \u201cTurning it off removes this entire attack surface for free.\u201d\u00ae<\/p>\n","protected":false},"excerpt":{"rendered":"Security Plus more blasts from the past: NetWare, FTP, and HTTP Sometimes it takes a while to detect&hellip;\n","protected":false},"author":2,"featured_media":655072,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[59,86,56,54,55],"class_list":["post-655071","post","type-post","status-publish","format-standard","has-post-thumbnail","category-technology","tag-gb","tag-technology","tag-uk","tag-united-kingdom","tag-unitedkingdom"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/655071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/comments?post=655071"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/655071\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media\/655072"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media?parent=655071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/categories?post=655071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/tags?post=655071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}