Skip to content
Memory corruption Advisory Advanced CVE-2026-121112

Out of bounds read in Permissions (CVE-2026-121112)

A delayed permission-prompt handler in Chromium reads the first entry of a request list without checking it is still populated, so a compromised renderer can empty the list and cause an out-of-bounds read. The attacker gains no direct capability beyond crashing or corrupting the browser process, and the text does not claim more.

koocola Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 3.6 years

Steps to reproduce the problem:
1.download all attachment
2.git apply patch.diff
3.launch a http server in 8000
4.out/asan/chrome --enable-blink-features=MojoJS --user-data-dir=/tmp/tmp_dir http://localhost:8000/main_frame.html

Problem Description:
PermissionRequestManager::PreIgnoreQuietPrompt start to exec PermissionRequestManager::PreIgnoreQuietPromptInternal after a delay. In Bug:1393252's fix. We can see it mentioned navigation will clear the requests_ and trigger an out of bounds access in [1]. However, there's another way to trigger the requests_'s clear. If we use the way in [2] to clear the reqeusts_ and immediately destruct the rfh object to make sure no more requests_ will be added in [3]. Then the fix of Bugs: 1393252 will be bypass. And an out of bounds access in [1] happen.

void PermissionRequestManager::PreIgnoreQuietPrompt() {
// Random number of seconds in the range [1.0, 2.0).
double delay_seconds = 1.0 + 1.0 * base::RandDouble();
preignore_timer_.Start(
FROM_HERE, base::Seconds(delay_seconds), this,
&PermissionRequestManager::PreIgnoreQuietPromptInternal);
}

void PermissionRequestManager::PreIgnoreQuietPromptInternal() {
DCHECK(!requests_.empty());

std::vector<PermissionRequest*>::iterator requests_iter;
for (requests_iter = requests_.begin(); requests_iter != requests_.end();
requests_iter++) {
CancelledIncludingDuplicates(*requests_iter, /*is_final_decision=*/false);
}

blink::PermissionType permission;
bool success = PermissionUtil::GetPermissionType(
requests_[0]->GetContentSettingsType(), &permission); ---[1]
DCHECK(success);

PermissionUmaUtil::PermissionRequestPreignored(permission);
}

bool PermissionRequestManager::ReprioritizeCurrentRequestIfNeeded() {
...
pending_permission_requests_.Pop();
PreemptAndRequeueCurrentRequest(); -----[2]
pending_permission_requests_.Push(next_candidate);
ScheduleDequeueRequestIfNeeded(); -------[3]
...
}

Additional Comments:
This bug need a compromised renderer but don't need user interaction. The browser patch is just to make current permission request use quietUI (This status can be easy achieved by a malicious https website).
Bisect information:
This bug was introduced by https://source.chromium.org/chromium/chromium/src/+/e406ecc1fb52f1a4d9775bfa59ef7a0bafb85050. And the fix in https://source.chromium.org/chromium/chromium/src/+/bb2183c4d120347dcf61fcadc510db4e9d0e941f is not insufficient

**Chrome version: ** 111.0.0.0 **Channel: ** Not sure

OS: Linux

The original report as published on the Chromium issue tracker, by koocola(@alo_cook) and Guang Gong of 360 Vulnerability Research Institute. 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 delayed PreIgnoreQuietPromptInternal callback indexes requests_[0] without re-checking that requests_ is non-empty, and the earlier fix only covered the navigation path that clears the list.

Impact

A compromised renderer could trigger an out-of-bounds read in the browser process without user interaction, though the text does not describe any further exploitation.

What the attacker needed

Compromised renderer; no user interaction needed

The fix

The delayed handler should re-check that the request list is non-empty before indexing it, since the text says the earlier fix was insufficient.

How it was found

  1. Download the attached files.
  2. Apply the supplied patch.
  3. Start an HTTP server on port 8000.
  4. Launch the ASan build of Chrome with the MojoJS feature enabled and a temporary profile, pointing at the test page.

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.

A browser sometimes waits a second or two before quietly ignoring a permission pop-up. The code that runs after the wait assumes a list of pending permission requests still has at least one item in it. If another part of the browser empties that list first, the code reads past the end of the list, which is a memory-safety bug.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by koocola

View all

4 more disclosed reports, best first.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.