Tor Browser exploit chain can leak real IP, fixed in 15.0.23

Security firm Calif has published an exploit chain against Tor Browser. On version 15.0.22 with default settings, a user who visits a malicious website and clicks once can hand the attacker the real public IP address of the device they are connecting from. The issue is fixed in version 15.0.23.

The research is labeled as part of OpenAI's Patch the Planet program. The program launched on June 22 and is led by Trail of Bits, with HackerOne and Calif taking part. It equips security researchers with Codex Security and frontier models, and works with open-source maintainers to find vulnerabilities and write patches.

Four steps to unmask an anonymous user

Tor Browser is a hardened Firefox ESR paired with a separately running Tor process. Websites see the IP of the exit node, and anonymity rests on the assumption that the browser never opens a connection outside Tor. The last step of Calif's chain breaks exactly that assumption.

Step one is a memory bug. The page needs the user to click once, which opens a same-origin popup. When the main page and the popup handle ReadableStream's BYOB read mode, Gecko loses track of who owns the underlying memory. Garbage collection frees it, but the page still holds a view pointing at it, producing a use-after-free (UAF), tracked as CVE-2026-92027. The attack code first uses a 64 MiB buffer to find the load base of libxul, then a 512 MiB buffer to get the absolute address of a large region of attacker-controlled memory.

Step two is hijacking execution flow. The attacker forges the allocator's bookkeeping structures and rewrites a global pointer in libxul so that it points to a fake object the attacker has laid out. When the page calls console.error() once, the logging path reads that pointer and jumps into a ROP chain prepared by the attacker.

Step three is forging session history. Inside the renderer process, the ROP chain assembles a session-history entry carrying System-level privileges, targeting the about:devtools-toolbox page, and then asks the parent process to reload it through ordinary inter-process messaging. The parent process only checked that the browsing context existed, and accepted the entry.

Step four is the IP leak. The DevTools page, loaded with system privileges, opens a TCP connection directly to the address in the URI, and that connection does not go through Tor's SOCKS proxy. If the attacker's server accepts the connection, it sees the real source IP; for a VPN user it sees the VPN or NAT egress address, while requests from the original page still show the Tor exit node.

Calif also states the limits: the ROP chain still runs inside Tor Browser's level-6 Linux content sandbox, and it did not achieve arbitrary code execution in the parent process.

"The browser is one layer of defense, not a guarantee on its own."

Illustration: red light escapes a layered tunnel, showing how a browser flaw exposes a real IP via a direct connection

Half a year of Patch the Planet

Put Calif's recent public research side by side and the pace is dense. On October 16 it published a 37-year-old kernel vulnerability in OpenBSD. On November 26, besides this Tor write-up, it released the second installment of its OEMpocalypse series, using a vulnerability chain in Samsung Knox DualDAR to go from zero privileges to root on the Galaxy S23 and S26 series. OpenAI says the program has found hundreds of security issues and landed dozens of patches. That is the company's own tally and has not been independently verified.

Under the program's rules, every finding is first reviewed by a human security engineer before it goes to maintainers. Yet the Tor article is about exploitation details from start to finish. It does not say which step used a model, what the model found, or what the humans did. Until OpenAI publishes a finer breakdown of the division of labor, how much of this kind of result should be credited to AI remains an open question.

For ordinary users there is one thing to do: confirm that Tor Browser has been updated to version 15.0.23 or later. For people with strict anonymity needs, Calif recommends stricter practices such as using a dedicated device.

Sources: Calif security research blog, CocoLoop, OpenAI program overview, SiliconANGLE. Affected and fixed version numbers and the CVE identifier follow Calif's disclosure; the program's result figures are OpenAI's own claims.