Skip to content
DoS Advisory Advanced CVE-2026-17774

Insufficient validation of untrusted input in Variations (CVE-2026-17774)

A network-position attacker can force Chrome into a 'Null Seed' safe mode by repeatedly crashing the browser process with a malicious gzip response during an insecure HTTP fallback, preventing the variations crash streak from being reset. This disables all Finch-delivered security mitigations, allowing the attacker to exploit vulnerabilities that were previously mitigated by a kill-switch.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 months

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the Chrome Security team. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A network-position attacker can disable all Finch-delivered security mitigations by forcing Chrome into 'Null Seed' safe mode. This is achieved by inducing repeated browser process crashes using a malicious gzip response during an insecure HTTP fallback, which prevents the variations crash streak from being reset.

Affected files:

  • components/variations/service/safe_seed_manager.cc
  • components/metrics/clean_exit_beacon.cc
  • components/variations/service/variations_field_trial_creator.cc
  • components/variations/variations_seed_store.cc
  • components/variations/service/variations_service.cc

Estimated timestamp from git blame: 2022-11-15

Summary

A potential vulnerability in the Variations Safe Mode mechanism allows a network-position (MITM) attacker to bypass emergency security mitigations delivered via Finch (variations seeds). By suppressing successful variations seed fetches and inducing a series of browser process crashes, an attacker can escalate the 'crash streak' to a threshold that forces Chrome into a kNullSeed state. In this state, all field trials and emergency kill-switches are disabled, reverting features to their compile-time default states.

Root Cause Analysis

The Variations Safe Mode is designed to protect users from problematic variations seeds by reverting to a 'Safe Seed' or a 'Null Seed' if Chrome crashes repeatedly during startup. The logic governing this escalation can be manipulated:

  1. Gzip-Bomb Vulnerability: In components/variations/variations_seed_store.cc, the ProcessSeedData function handles gzip-compressed seeds. It calls compression::GzipUncompress, which extracts the expected uncompressed size from the last 4 bytes of the gzip stream (the ISIZE field) and calls resize() on the output string before decompression begins.
  2. Deterministic OOM: A network attacker can serve a small gzip stream with an ISIZE value set to a large number (e.g., 4GB). In the browser process, std::string::resize() will attempt a massive allocation. If the allocation fails or exceeds internal limits, PartitionAlloc will trigger an immediate Out-Of-Memory (OOM) crash.
  3. Persistence of Crash Streak: The kVariationsCrashStreak counter (in components/metrics/clean_exit_beacon.cc) is incremented whenever a session is determined to have exited uncleanly. It is only reset in SafeSeedManager::RecordSuccessfulFetch, which is called after a seed is successfully fetched, processed, and verified. Since the crash occurs during processing (before signature verification), the streak is never reset.
  4. Safe Mode Escalation: If the crash streak reaches the kCrashStreakNullSeedThreshold (default is 4), SafeSeedManager::GetSeedType() returns SeedType::kNullSeed, causing VariationsFieldTrialCreator to skip the application of all variations trials.

Potential Attack Scenario

  1. Network MITM: The attacker intercepts traffic to the variations server (clientservices.googleapis.com).
  2. Force HTTP Fallback: The attacker blocks HTTPS connections, forcing Chrome to attempt an insecure HTTP fetch.
  3. Deliver Gzip Bomb: The attacker serves a 200 OK response with the IM: gzip header and a gzip-compressed payload with a malicious ISIZE footer.
  4. Induce Crashes: The browser process crashes during GzipUncompress. The attacker repeats this for four consecutive launches.
  5. Mitigation Bypass: On the fifth launch, Chrome enters kNullSeed mode. The attacker then delivers an exploit for a vulnerability that was previously mitigated by a Finch kill-switch.

Suggested Fix

  1. Size Validation: Implement a strict maximum size limit for uncompressed variations seeds in VariationsSeedStore::ProcessSeedData before calling GzipUncompress or within GzipUncompress itself.
  2. Footer Verification: Do not rely solely on the gzip footer's ISIZE for allocation; instead, use a streaming decompression approach with a fixed-size buffer or a capped growth strategy.
  3. Strict HTTP Handling: Consider disabling HTTP fallback for variations seeds or enforcing stricter validation on insecurely fetched data before processing.

Evaluated with Chrome root at commit: b3153093eb3c78c3e88ccf562bcbc20437a04b0e


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

The original report as published on the Chromium issue tracker. 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

The gzip decompression routine trusts the uncompressed size field in the gzip footer and allocates that much memory before decompressing, allowing a small malicious gzip stream to cause an out-of-memory crash; because the crash happens before the seed is successfully processed, the crash streak counter is never reset, eventually forcing Chrome into a null-seed state that disables all variations.

Impact

An attacker could disable all Finch-delivered security mitigations, allowing them to exploit vulnerabilities that were previously mitigated by a kill-switch.

What the attacker needed

Network-position attacker (MITM); ability to block HTTPS connections; victim uses Chrome

The fix

The report suggests implementing a strict maximum size limit for uncompressed variations seeds, using streaming decompression with a fixed-size buffer or capped growth strategy, and considering disabling HTTP fallback for variations seeds.

How it was found

  1. Intercept traffic to the variations server.
  2. Block HTTPS connections to force Chrome to attempt an insecure HTTP fetch.
  3. Serve a 200 OK response with the IM: gzip header and a gzip-compressed payload with a malicious ISIZE footer.
  4. The browser process crashes during GzipUncompress; repeat this for four consecutive launches.
  5. On the fifth launch, Chrome enters kNullSeed mode, disabling all variations trials.

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.

Chrome uses small configuration files called 'variations seeds' to turn features on or off, including emergency security fixes. If Chrome crashes several times in a row while starting up, it enters a safe mode that ignores these seeds. The report shows that an attacker who can intercept network traffic can make Chrome crash on purpose by sending a tiny compressed file that claims to be huge, and after a few crashes Chrome stops applying the security fixes, leaving users open to other attacks.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.