Skip to content
Info disclosure Advisory Advanced CVE-2025-10890

Side-channel information leakage in V8 (CVE-2025-10890)

The V8 string table uses a fixed hash seed, allowing an attacker to compute string hashes and build a timing oracle to test whether a string exists in the table. This can leak cross-origin information and reveal which browser extensions a user has installed.

Mate Marjanović Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 3 months

VULNERABILITY DETAILS

The string_table in V8 is a per-isolate hash table storing internalized strings. As V8 in Chromium uses a heap snapshot for startup this means that the hashseed is known and fixed. This allows an attacker to compute the hash of any string and construct an oracle which can reliably test whether a particular string occurs in the string_table. As cross-origin documents can occur in the same isolate, in certain cases this oracle provides a way to leak information cross-origin. Additionally, as the contexts of extension content scripts occur in the same isolate as the contexts of the main document, it's possible to leak which extensions a user is using and also, potentially more critically, it's possible to leak information about the execution / control flow of the content scripts.

THE ORACLE

Suppose we want to know whether a string x occurs in the string_table. Suppose x hashes to h. Now, as we know the hash function we brute force strings which hash to h, h + 1, h + 1 + 2, h + 1 + 2 + 3, ... (the quadratic probing pattern used in the string_table). We insert those strings into the string_table and after that we measure how long it takes to insert x into the string_table. If x was already in the string_table before insertion of the "chain" we expect to find x quickly. On the other hand, if x wasn't in the table already we will have to traverse the entire chain we've just inserted, taking measurably longer to complete the insertion. Note that the chain can be made arbitrarily long to ensure the time difference is detectable.

VERSION

Chrome Version: 138.0.7204.92 stable
Operating System: Arch Linux (64-bit) Linux 6.15.5-arch1-1

REPRODUCTION CASE

  1. Compile gen.cpp with clang++ -O3 -march=native gen.cpp -o gen.
  2. Run python3 server.py and forward some URL url to it.
  3. Replace ATTACKER_URL in poc.html with url and open the file in Chromium.
  4. Change the test and TARGET variables to test leaking different strings.

Note: The timing is hardware dependent so tweaking the THRESHOLD variable might be required. Adjusting the threshold could technically be done on the fly by calculating the latency on the particular machine.

CREDIT INFORMATION

Reporter credit: Mate Marjanović (SharpEdged)

The original report as published on the Chromium issue tracker, by Mate Marjanović (SharpEdged). Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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

How it worked

Root cause

Likely the hash seed for the string table is fixed and known, enabling a timing side-channel that reveals string presence.

Impact

In certain cases, this oracle could leak information cross-origin and reveal which extensions a user is using, as well as information about the execution of content scripts.

What the attacker needed

Victim visits attacker page; attacker can run JavaScript; timing measurement possible

How it was found

  1. Compile gen.cpp with clang++ -O3 -march=native gen.cpp -o gen.
  2. Run python3 server.py and forward some URL url to it.
  3. Replace ATTACKER_URL in poc.html with url and open the file in Chromium.
  4. Change the test and TARGET variables to test leaking different strings.

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 report has not been written yet. The Original tab links to the source.

V8 is the JavaScript engine in Chrome. It stores common strings in a hash table, and the hash function uses a fixed seed, so an attacker can predict where strings go. By measuring how long it takes to add a string, they can tell if it was already there, leaking information across websites and about installed extensions.

What is Info disclosure?

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

More from Google Chrome

View all

The newest disclosed reports for this program.

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.